cancel
Showing results for 
Search instead for 
Did you mean: 

How do I manage memory regions

PBlan.1
Associate

1 REPLY 1

The Linker Script or .LD file describes memory regions in a manner similar to the .ICF

It is parsed in a linear fashion, describing memory regions and the way code and data is funneled into memory.

It exports symbols the linker can fix up.

In C code you can reference these symbols, or use __attribute__ type directives to drive section usage.

This is more GNU/GCC specific than STM32 related.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..