Skip to main content
zhuij.1
Associate II
Jul 23, 2024 12:29 UTC
Solved

STM32MP135DK+threadX+cube compilation failure

The following compilation failure occurs when using cubeMX (6.12.0) to generate the STM32MP135DK+threadX project:
tx_initialize_low_level.S:147: undefined reference to `_stack_bottom'
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:66: Demo5_Application.elf] Error 1
This topic has been closed for replies.
Kevin HUBER
Kevin HUBERBest answer
ST Employee
Aug 2, 2024 12:39 UTC

Hello @zhuij.1 ,

 

This is a known limitation of the latest CubeMX 6.12.0 release, you can find the solution in the CubeMX release note on the wiki:

https://wiki.st.com/stm32mpu/wiki/STM32CubeMX_release_note#With_STM32CubeMP13_package

 

Hope it helps,

Best Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

1 reply

Kevin HUBER
Kevin HUBERBest answer
ST Employee
Aug 2, 2024 12:39 UTC

Hello @zhuij.1 ,

 

This is a known limitation of the latest CubeMX 6.12.0 release, you can find the solution in the CubeMX release note on the wiki:

https://wiki.st.com/stm32mpu/wiki/STM32CubeMX_release_note#With_STM32CubeMP13_package

 

Hope it helps,

Best Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.