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
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.