Skip to main content
sasha
Associate III
February 13, 2018
Question

STM32CubeMX build problems when 'build under root' is selected with TrueStudio

  • February 13, 2018
  • 2 replies
  • 2257 views
Posted on February 13, 2018 at 23:38

Hi There,

I've just switched to using Atollic (from System Workbench) and am having issues with the code generation in STM32CubeMX.  When I build a project using 'generate under root', the code will not compile with undefined references to all the HAL functions.

e.g. errors like

..\STM32_workspace_9.0\TEST_PROJECT_UNDERROOT\Debug/..\Src/hrtim.c:69: undefined reference to `HAL_HRTIM_Init'

If I generate with this box unticked then there are no problems.

I am using:

STM32CubeMX V4.24

STM32Cube FW_F3 V1.9.0

Atollic TrueStudio V9.0.0

#atollic-truestudio #stm32cubemx
This topic has been closed for replies.

2 replies

Technical Moderator
February 14, 2018
Posted on February 14, 2018 at 14:40

Hello ,

Please check if you have the same issue with CubeMx version 4.24 reported in this discussion

https://community.st.com/0D50X00009XkWopSAF

Best Regards,

Imen

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Houda GHABRI
ST Employee
April 11, 2018
Posted on April 11, 2018 at 15:31

Hello Marks,

thanks for your feedback.

I'm not able to reproduce the problem.

could you please give me more details about the scenario to reproduce it or send me the ioc?

best regards,

Houda