Question
IAR linker-script: multiple RAM regions
Hi,
I need to build my IAR-base application with a non-consecutive RAM region.
E.G.. if my RAM is between 0x20000000-0x200087FF:
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x200087FF;
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];I want to exclude a few 'holes', for example, "don't use 0x20000100-0x200001FF".
- Can this be done only via linker-script, without adding dummy buffers with this-or-that linker flag (.noinit)?
- If code must be added, I'll be glad for a snippet.
Thanks
