STM32CubeMX 5.0 Bug? True Studio can't compile generated project
- December 4, 2018
- 2 replies
- 2011 views
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.