You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When compiling for a Cortex-R5-based SoC which selects CPU_HAS_FPU option, the z_arm_floating_point_init() function defined in /arch/arm/aarch32/prep_c.c makes use of the SCB (defined in a CMSIS header for Cortex-M3) which is undefined when CPU_CORTEX_R is selected.
Expected behavior
Builds fails with:
2: error: ‘SCB’ undeclared (first use in this function)
SCB->CPACR &= (~(CPACR_CP10_Msk | CPACR_CP11_Msk));
Impact
Advance in the development of current project.
Environment (please complete the following information):
@stephanosio Thank you very much for the prompt reply and please forgive me for the bothering question. That will be very helpful, I'd like to thank you in advance as well.
Describe the bug
When compiling for a Cortex-R5-based SoC which selects CPU_HAS_FPU option, the z_arm_floating_point_init() function defined in /arch/arm/aarch32/prep_c.c makes use of the SCB (defined in a CMSIS header for Cortex-M3) which is undefined when CPU_CORTEX_R is selected.
Expected behavior
Builds fails with:
Impact
Advance in the development of current project.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: