IAR linker-script: multiple RAM regions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-12 3:55 AM
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
Labels:
- Labels:
-
IAR
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
