2015-03-04 02:20 AM
Hi
The latest version ofCubeMx
in
Ubuntu
generates
(export
TrueSTUDIO
)file
Linker
(
xxxx_FLASH.ld
)empty.
I have
tested this on
STM32L0
and
STM32F4
.In
Windows
it all works
.Has anyone encountered
this problem
?
Best Regard Drake2015-03-08 05:56 PM
Yes. Not only is the linker script empty, but the startup assembly file, startup_stm32f411xe.S in my case, is not copied. To make this work on Linux, both the linker script and the startup file needed to be manually copied from the STM32Cube repository into the project.
2015-03-16 07:40 AM
will
correct
this bugs
? Drake2019-03-13 12:03 AM
Hi, i found this old topic but this is what happens with cube 5.1.0
After generating the project serval times the file STM32F103C8Tx_FLASH.ld is empty. I have made changes to the file for my bootloader. Deleting the file and generate again will result in a new file. Without my changes of course.
Building a project with an empty linker file will result in a successful build and a bin file of 8 bytes.
2019-04-01 12:05 AM
I have the same issue.
The solution I found is to create a copy of linker file generated but with a different name and use the copy instead of the one created by STM32CubeMX...