cancel
Showing results for 
Search instead for 
Did you mean: 

Linker directive different when generating Makefile build

MMedv
Associate II

Hi - I'm working on some projects with STM32CubeIDE (1.6.1) and CubeMX (). What I've noticed is that if I generate a CubeMX project targeting a Makefile build the linker directive that is generated has some non-trivial differences with the .ld generated for a STM32CubeIDE project.

Even in the header, you can see from the comment:

**  Author		: Auto-generated by System Workbench for STM32

that the tool is generating an outdated ld. If you diff the two files, you'll see how _estack is defined is different, there are many missing ALIGN(4); calls, RamFunc is missing, etc.

I think this is just an oversight, and should be corrected in the next build of CubeMX/CubeIDE.

0 REPLIES 0