mbed library sources for GR-PEACH rev.B.
Fork of mbed-src by
targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf@514:cf59050bad8e, 2015-04-15 (annotated)
- Committer:
- RyoheiHagimoto
- Date:
- Wed Apr 15 01:34:29 2015 +0000
- Revision:
- 514:cf59050bad8e
- Parent:
- 483:37da4976ca27
mbed library sources for GR-PEACH rev.B.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 377:95186f86029b | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
mbed_official | 377:95186f86029b | 2 | /*-Editor annotation file-*/ |
mbed_official | 377:95186f86029b | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
mbed_official | 377:95186f86029b | 4 | /*-Specials-*/ |
mbed_official | 377:95186f86029b | 5 | define symbol __ICFEDIT_intvec_start__ = 0x00000000; |
mbed_official | 377:95186f86029b | 6 | /*-Memory Regions-*/ |
mbed_official | 377:95186f86029b | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; |
mbed_official | 377:95186f86029b | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0002ffff; |
mbed_official | 420:8e6e2662709e | 9 | define symbol __ICFEDIT_region_NVIC_start__ = 0x1fffe000; |
mbed_official | 420:8e6e2662709e | 10 | define symbol __ICFEDIT_region_NVIC_end__ = 0x1fffe0bf; |
mbed_official | 420:8e6e2662709e | 11 | define symbol __ICFEDIT_region_RAM_start__ = 0x1fffe0c0; |
mbed_official | 377:95186f86029b | 12 | define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff; |
mbed_official | 377:95186f86029b | 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__ = 0x1000; |
mbed_official | 483:37da4976ca27 | 16 | define symbol __ICFEDIT_size_heap__ = 0x2000; |
mbed_official | 377:95186f86029b | 17 | /**** End of ICF editor section. ###ICF###*/ |
mbed_official | 377:95186f86029b | 18 | |
mbed_official | 377:95186f86029b | 19 | define symbol __region_RAM2_start__ = 0x20000000; |
mbed_official | 377:95186f86029b | 20 | define symbol __region_RAM2_end__ = 0x20005fff; |
mbed_official | 377:95186f86029b | 21 | |
mbed_official | 377:95186f86029b | 22 | define symbol __FlashConfig_start__ = 0x00000400; |
mbed_official | 377:95186f86029b | 23 | define symbol __FlashConfig_end__ = 0x0000040f; |
mbed_official | 377:95186f86029b | 24 | |
mbed_official | 377:95186f86029b | 25 | define memory mem with size = 4G; |
mbed_official | 377:95186f86029b | 26 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to (__FlashConfig_start__ - 1)] | mem:[from (__FlashConfig_end__+1) to __ICFEDIT_region_ROM_end__]; |
mbed_official | 377:95186f86029b | 27 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] | mem:[from __region_RAM2_start__ to __region_RAM2_end__]; |
mbed_official | 377:95186f86029b | 28 | |
mbed_official | 377:95186f86029b | 29 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
mbed_official | 377:95186f86029b | 30 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
mbed_official | 377:95186f86029b | 31 | |
mbed_official | 377:95186f86029b | 32 | define region FlashConfig_region = mem:[from __FlashConfig_start__ to __FlashConfig_end__]; |
mbed_official | 377:95186f86029b | 33 | |
mbed_official | 377:95186f86029b | 34 | initialize by copy { readwrite }; |
mbed_official | 377:95186f86029b | 35 | do not initialize { section .noinit }; |
mbed_official | 377:95186f86029b | 36 | |
mbed_official | 377:95186f86029b | 37 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
mbed_official | 377:95186f86029b | 38 | |
mbed_official | 377:95186f86029b | 39 | place in FlashConfig_region {section FlashConfig}; |
mbed_official | 377:95186f86029b | 40 | |
mbed_official | 377:95186f86029b | 41 | place in ROM_region { readonly }; |
mbed_official | 377:95186f86029b | 42 | |
mbed_official | 420:8e6e2662709e | 43 | place in RAM_region { readwrite, block HEAP, block CSTACK }; |