Skip to main content
PBlan.1
Visitor II
November 28, 2022
Question

How do I manage memory regions

  • November 28, 2022
  • 1 reply
  • 965 views

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
November 28, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..