cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX projects are not work in TrueStudio

SoHaeng.Lee
Associate II
Posted on January 19, 2016 at 13:12

Hi

I just made a STM32FCubeMX projects for TrueStudio.

But, always compile error.

The error message is 

C:\Users\sohae\Desktop\save\STM32F411BASE\TrueSTUDIO\STM32F411BASE Configuration\Debug/..\..\..\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc/startup_stm32f411xe.s:80: undefined reference to `_estack'

C:\Users\sohae\Desktop\save\STM32F411BASE\TrueSTUDIO\STM32F411BASE Configuration\Debug/..\..\..\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc/startup_stm32f411xe.s:87: undefined reference to `_sidata'

C:\Users\sohae\Desktop\save\STM32F411BASE\TrueSTUDIO\STM32F411BASE Configuration\Debug/..\..\..\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc/startup_stm32f411xe.s:93: undefined reference to `_sdata'

C:\Users\sohae\Desktop\save\STM32F411BASE\TrueSTUDIO\STM32F411BASE Configuration\Debug/..\..\..\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc/startup_stm32f411xe.s:94: undefined reference to `_edata'

C:\Users\sohae\Desktop\save\STM32F411BASE\TrueSTUDIO\STM32F411BASE Configuration\Debug/..\..\..\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc/startup_stm32f411xe.s:98: undefined reference to `_sbss'

C:\Users\sohae\Desktop\save\STM32F411BASE\TrueSTUDIO\STM32F411BASE Configuration\Debug/..\..\..\Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\gcc/startup_stm32f411xe.s:106: undefined reference to `_ebss'

what is problem and how to fix this problem?

Need help.
2 REPLIES 2
rbenesh
Associate II
Posted on January 19, 2016 at 19:12

For Eclipse based systems like Truestudio and Coocox, the _estack setting needs to be changed to _eram

stm32cube-t
Senior III
Posted on March 22, 2016 at 18:18

Dear user,

if still encountering the issue please indicate STM32CubeMX version, TrueStudio version, and provide the .ioc file as well as stm32cubemx log files in ./stm32cubemx folder in your user directory.

Thanks