version_2.0

Dependents:   cc3000_ping_demo_try_2

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Mon Aug 05 12:28:09 2013 +0300
Revision:
64:e3affc9e7238
Parent:
LPC1768/IAR/LPC17xx.icf@58:0954ebd79f59
Child:
65:5798e58a58b1
New build system structure, new target (LPC1347), bug fixes (I2C read/write errors, LPC11U24 memory map and others)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 58:0954ebd79f59 1 /* [ROM] */
emilmont 58:0954ebd79f59 2 define symbol __intvec_start__ = 0x00000000;
emilmont 58:0954ebd79f59 3 define symbol __region_ROM_start__ = 0x00000000;
emilmont 58:0954ebd79f59 4 define symbol __CRP_start__ = 0x000002FC;
emilmont 58:0954ebd79f59 5 define symbol __CRP_end__ = 0x000002FF;
emilmont 58:0954ebd79f59 6 define symbol __region_ROM_end__ = 0x0007FFFF;
emilmont 56:3753e96f3c8b 7
emilmont 58:0954ebd79f59 8 /* [RAM] Vector table dynamic copy: 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8*/
emilmont 58:0954ebd79f59 9 define symbol __NVIC_start__ = 0x10000000;
emilmont 58:0954ebd79f59 10 define symbol __NVIC_end__ = 0x100000C7;
emilmont 58:0954ebd79f59 11 define symbol __region_RAM_start__ = 0x100000C8;
emilmont 58:0954ebd79f59 12 define symbol __region_RAM_end__ = 0x1000FFDF;
emilmont 58:0954ebd79f59 13 define symbol _AHB_RAM_start__ = 0x2007C000;
emilmont 58:0954ebd79f59 14 define symbol _AHB_RAM_end__ = 0x20083FFF;
emilmont 56:3753e96f3c8b 15
emilmont 58:0954ebd79f59 16 /* Memory regions */
emilmont 56:3753e96f3c8b 17 define memory mem with size = 4G;
emilmont 56:3753e96f3c8b 18
emilmont 58:0954ebd79f59 19 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__] - mem:[from __CRP_start__ to __CRP_end__];
emilmont 58:0954ebd79f59 20 define region CRP_region = mem:[from __CRP_start__ to __CRP_end__];
emilmont 58:0954ebd79f59 21
emilmont 58:0954ebd79f59 22 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
emilmont 56:3753e96f3c8b 23 define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__];
emilmont 56:3753e96f3c8b 24
emilmont 58:0954ebd79f59 25 /* Stack and Heap */
emilmont 58:0954ebd79f59 26 define symbol __size_cstack__ = 0x800;
emilmont 58:0954ebd79f59 27 define symbol __size_heap__ = 0x800;
emilmont 58:0954ebd79f59 28 define block CSTACK with alignment = 8, size = __size_cstack__ { };
emilmont 58:0954ebd79f59 29 define block HEAP with alignment = 8, size = __size_heap__ { };
emilmont 58:0954ebd79f59 30 define block STACKHEAP with fixed order { block HEAP, block CSTACK };
emilmont 56:3753e96f3c8b 31
emilmont 56:3753e96f3c8b 32 initialize by copy with packing = zeros { readwrite };
emilmont 56:3753e96f3c8b 33 do not initialize { section .noinit };
emilmont 56:3753e96f3c8b 34
emilmont 58:0954ebd79f59 35 place at address mem:__intvec_start__ { section .intvec };
emilmont 56:3753e96f3c8b 36 place at address mem:0x2FC { section CRPKEY };
emilmont 56:3753e96f3c8b 37 place in ROM_region { readonly };
emilmont 58:0954ebd79f59 38 place in RAM_region { readwrite, block STACKHEAP };
emilmont 56:3753e96f3c8b 39 place in AHB_RAM_region { section USB_RAM };
emilmont 58:0954ebd79f59 40 place in CRP_region { section .crp };