mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_IAR/LPC4088.icf@636:b0d178e9fa10, 2016-07-07 (annotated)
- Committer:
- lzbpli
- Date:
- Thu Jul 07 06:48:59 2016 +0000
- Revision:
- 636:b0d178e9fa10
- Parent:
- 483:37da4976ca27
l053
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 407:bbbab616ce8f | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
mbed_official | 407:bbbab616ce8f | 2 | /*-Editor annotation file-*/ |
mbed_official | 407:bbbab616ce8f | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
mbed_official | 407:bbbab616ce8f | 4 | /*-Specials-*/ |
mbed_official | 407:bbbab616ce8f | 5 | define symbol __ICFEDIT_intvec_start__ = 0x00000000; |
mbed_official | 407:bbbab616ce8f | 6 | /*-Memory Regions-*/ |
mbed_official | 407:bbbab616ce8f | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; |
mbed_official | 407:bbbab616ce8f | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0007FFFF; |
mbed_official | 418:f79a1bf6b233 | 9 | define symbol __ICFEDIT_region_NVIC_start__ = 0x10000000; |
mbed_official | 418:f79a1bf6b233 | 10 | define symbol __ICFEDIT_region_NVIC_end__ = 0x100000E7; |
mbed_official | 418:f79a1bf6b233 | 11 | define symbol __ICFEDIT_region_RAM_start__ = 0x100000E8; |
mbed_official | 407:bbbab616ce8f | 12 | define symbol __ICFEDIT_region_RAM_end__ = 0x1000FFDF; |
mbed_official | 407:bbbab616ce8f | 13 | /*-Sizes-*/ |
mbed_official | 483:37da4976ca27 | 14 | /*Heap 1/4 of ram and stack 1/8*/ |
mbed_official | 483:37da4976ca27 | 15 | define symbol __ICFEDIT_size_cstack__ = 0x2000; |
mbed_official | 483:37da4976ca27 | 16 | define symbol __ICFEDIT_size_heap__ = 0x4000; |
mbed_official | 407:bbbab616ce8f | 17 | /**** End of ICF editor section. ###ICF###*/ |
mbed_official | 407:bbbab616ce8f | 18 | |
mbed_official | 407:bbbab616ce8f | 19 | define symbol __CRP_start__ = 0x000002FC; |
mbed_official | 407:bbbab616ce8f | 20 | define symbol __CRP_end__ = 0x000002FF; |
mbed_official | 407:bbbab616ce8f | 21 | |
mbed_official | 407:bbbab616ce8f | 22 | define symbol __RAM1_start__ = 0x20000000; |
mbed_official | 407:bbbab616ce8f | 23 | define symbol __RAM1_end__ = 0x20007FFF; |
mbed_official | 407:bbbab616ce8f | 24 | |
mbed_official | 407:bbbab616ce8f | 25 | define memory mem with size = 4G; |
mbed_official | 407:bbbab616ce8f | 26 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__] - mem:[from __CRP_start__ to __CRP_end__]; |
mbed_official | 407:bbbab616ce8f | 27 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
mbed_official | 407:bbbab616ce8f | 28 | define region CRP_region = mem:[from __CRP_start__ to __CRP_end__]; |
mbed_official | 407:bbbab616ce8f | 29 | define region RAM1_region = mem:[from __RAM1_start__ to __RAM1_end__]; |
mbed_official | 407:bbbab616ce8f | 30 | |
mbed_official | 407:bbbab616ce8f | 31 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
mbed_official | 407:bbbab616ce8f | 32 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
mbed_official | 407:bbbab616ce8f | 33 | |
mbed_official | 407:bbbab616ce8f | 34 | initialize by copy { readwrite }; |
mbed_official | 407:bbbab616ce8f | 35 | do not initialize { section .noinit }; |
mbed_official | 407:bbbab616ce8f | 36 | |
mbed_official | 407:bbbab616ce8f | 37 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
mbed_official | 407:bbbab616ce8f | 38 | place in ROM_region { readonly }; |
mbed_official | 407:bbbab616ce8f | 39 | place in RAM_region { readwrite, |
mbed_official | 418:f79a1bf6b233 | 40 | block HEAP, block CSTACK }; |
mbed_official | 407:bbbab616ce8f | 41 | place in CRP_region { section .crp }; |
mbed_official | 407:bbbab616ce8f | 42 | place in RAM1_region { section .sram }; |