This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Allocating memory region

Hi,

I am working with STM32L053 MCU. I am trying to place a header structure of an image in 4k size flash area. I am using __attribute__((at(0x80001000)));to place the structure at specific address. 8K memory space is being allocated by default. How do I control the memory size allocated to this structure?

Thank you,
Harsha