Hi,
when using linker scripts, how can you check if the various sections actually fit into the specified memory regions ?
Thanks,
Tom
Hi,
when using linker scripts, how can you check if the various sections actually fit into the specified memory regions ?
Thanks,
Tom
Define the memories:
MEMORY { rom (rx) : ORIGIN = 0x0000, LENGTH = 0x8000 ram : ORIGIN = 0x8000, LENGTH = 0x6000 }
Assign each section to a memory:
.rodata1 : { *(.rodata1) } > rom
Jon
Have something to add? Share your thoughts — no account required.
Ask the community — no account required