mbed library sources. Supersedes mbed-src.
Fork of mbed by
targets/cmsis/TARGET_NXP/TARGET_LPC176X/TOOLCHAIN_IAR/LPC17xx.icf@148:4802eb17e82b, 2016-10-17 (annotated)
- Committer:
- rodriguise
- Date:
- Mon Oct 17 18:47:01 2016 +0000
- Revision:
- 148:4802eb17e82b
- Parent:
- 144:ef7eb2e8f9f7
backup
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 144:ef7eb2e8f9f7 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
<> | 144:ef7eb2e8f9f7 | 2 | /*-Editor annotation file-*/ |
<> | 144:ef7eb2e8f9f7 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
<> | 144:ef7eb2e8f9f7 | 4 | /*-Specials-*/ |
<> | 144:ef7eb2e8f9f7 | 5 | define symbol __ICFEDIT_intvec_start__ = 0x00000000; |
<> | 144:ef7eb2e8f9f7 | 6 | /*-Memory Regions-*/ |
<> | 144:ef7eb2e8f9f7 | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; |
<> | 144:ef7eb2e8f9f7 | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0007FFFF; |
<> | 144:ef7eb2e8f9f7 | 9 | define symbol __ICFEDIT_region_NVIC_start__ = 0x10000000; |
<> | 144:ef7eb2e8f9f7 | 10 | define symbol __ICFEDIT_region_NVIC_end__ = 0x100000C7; |
<> | 144:ef7eb2e8f9f7 | 11 | define symbol __ICFEDIT_region_RAM_start__ = 0x100000C8; |
<> | 144:ef7eb2e8f9f7 | 12 | define symbol __ICFEDIT_region_RAM_end__ = 0x10007FDF; |
<> | 144:ef7eb2e8f9f7 | 13 | |
<> | 144:ef7eb2e8f9f7 | 14 | /*-Sizes-*/ |
<> | 144:ef7eb2e8f9f7 | 15 | /*Heap 1/4 of ram and stack 1/8*/ |
<> | 144:ef7eb2e8f9f7 | 16 | define symbol __ICFEDIT_size_cstack__ = 0x1000; |
<> | 144:ef7eb2e8f9f7 | 17 | define symbol __ICFEDIT_size_heap__ = 0x2000; |
<> | 144:ef7eb2e8f9f7 | 18 | /**** End of ICF editor section. ###ICF###*/ |
<> | 144:ef7eb2e8f9f7 | 19 | |
<> | 144:ef7eb2e8f9f7 | 20 | define symbol __CRP_start__ = 0x000002FC; |
<> | 144:ef7eb2e8f9f7 | 21 | define symbol __CRP_end__ = 0x000002FF; |
<> | 144:ef7eb2e8f9f7 | 22 | |
<> | 144:ef7eb2e8f9f7 | 23 | define symbol __RAM1_start__ = 0x2007C000; |
<> | 144:ef7eb2e8f9f7 | 24 | define symbol __RAM1_end__ = 0x20083FFF; |
<> | 144:ef7eb2e8f9f7 | 25 | |
<> | 144:ef7eb2e8f9f7 | 26 | define memory mem with size = 4G; |
<> | 144:ef7eb2e8f9f7 | 27 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__] - mem:[from __CRP_start__ to __CRP_end__]; |
<> | 144:ef7eb2e8f9f7 | 28 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
<> | 144:ef7eb2e8f9f7 | 29 | define region CRP_region = mem:[from __CRP_start__ to __CRP_end__]; |
<> | 144:ef7eb2e8f9f7 | 30 | define region RAM1_region = mem:[from __RAM1_start__ to __RAM1_end__]; |
<> | 144:ef7eb2e8f9f7 | 31 | |
<> | 144:ef7eb2e8f9f7 | 32 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
<> | 144:ef7eb2e8f9f7 | 33 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
<> | 144:ef7eb2e8f9f7 | 34 | |
<> | 144:ef7eb2e8f9f7 | 35 | |
<> | 144:ef7eb2e8f9f7 | 36 | initialize by copy { readwrite }; |
<> | 144:ef7eb2e8f9f7 | 37 | do not initialize { section .noinit }; |
<> | 144:ef7eb2e8f9f7 | 38 | |
<> | 144:ef7eb2e8f9f7 | 39 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
<> | 144:ef7eb2e8f9f7 | 40 | place in ROM_region { readonly }; |
<> | 144:ef7eb2e8f9f7 | 41 | place in RAM_region { readwrite, |
<> | 144:ef7eb2e8f9f7 | 42 | block HEAP, block CSTACK }; |
<> | 144:ef7eb2e8f9f7 | 43 | |
<> | 144:ef7eb2e8f9f7 | 44 | place in CRP_region { section .crp }; |
<> | 144:ef7eb2e8f9f7 | 45 | place in RAM1_region { section .ethusbram }; |