2019-08-08 10:41 AM
Environment: SW4STM32 System Workbench
MCU: STM32L432KCU
Driver: HAL Library
I am getting #error:define according to use ARM cortex.......................
Solved! Go to Solution.
2019-08-08 02:22 PM
SOLVED IT
Just for FYI: I intended to used PID library for temperature control, so I added (#include "arm_math.h") and then built my project.
and then I got above mentioned error
#error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS or ARM_MATH_CM0"
Solution: Steps applicable only to SW4STM32
1)Right on project and go to properties
2) Click "C/C++ General", go to path and symbols
3)go to "symbols" tab and click "ADD"
4) Type "ARM_MATH_CM4" and click "apply" and click "OK"
5) Rebuilt the project
No more error!
2019-08-08 02:22 PM
SOLVED IT
Just for FYI: I intended to used PID library for temperature control, so I added (#include "arm_math.h") and then built my project.
and then I got above mentioned error
#error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS or ARM_MATH_CM0"
Solution: Steps applicable only to SW4STM32
1)Right on project and go to properties
2) Click "C/C++ General", go to path and symbols
3)go to "symbols" tab and click "ADD"
4) Type "ARM_MATH_CM4" and click "apply" and click "OK"
5) Rebuilt the project
No more error!
2019-08-08 06:24 PM