2018-12-04 06:38 AM
Hello everyone.
I've expirienced an interesting problem today.
I've created simple project for STM32F407: just RCC, SW Debug, and couple GPIO Pins (3 for EXTI, 4 for output).
But, when I generate project from this file to TrueStudio format, it falls down with error (the one, that's on attached screenshot). As far as I understand, it starts with line 300(314) in arm_math.h:
#else
#error "Define according the used Cortex core ARM_MATH_CM7, ARM_MATH_CM4, ARM_MATH_CM3, ARM_MATH_CM0PLUS or ARM_MATH_CM0"
#endif
If I use some of older projects, TrueStudio complies it well.
No matter, what CubeMX library I pick, latest (*.23), or earlier-one (*.22), it results the same.
But, if I generate it to MDK-ARM format, and run project with Keil, it compiles with no problems (no errors or any warnings).
I've attached my project to post, if it's needed.
2019-01-21 06:44 PM
I've observed this too.
STM32CubeMX V5.0.0.
Atollic TrueSTUDIO for STM32 V9.2.0.
MCU STM32F051C8Tx
Firmware Package STM32Cube FW_F0 V1.9.0
2019-02-23 02:33 AM
I was looking for possible reasons and found this post.
I ran into it when generating the boilerplate code for STM32F103RBT6 with USB, and choosing 'Advanced' for 'Application Structure'. Switching to 'Basic' seems to solve it for me.