Skip to main content
zedeg
Associate III
December 4, 2018
Question

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.

This topic has been closed for replies.

2 replies

alister
Senior III
January 22, 2019

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

AAdad
Visitor II
February 23, 2019

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.