linker script

Hi,

when using linker scripts, how can you check if the various sections actually fit into the specified memory regions ?

Thanks,

Tom

Reply to
Tom
Loading thread data ...

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

Reply to
Jon Beniston

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.