The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Committer:
emilmont
Date:
Wed Jan 16 14:27:32 2013 +0000
Revision:
56:3753e96f3c8b
Child:
58:0954ebd79f59
Add IAR build for LPC1768

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emilmont 56:3753e96f3c8b 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
emilmont 56:3753e96f3c8b 2 /*-Editor annotation file-*/
emilmont 56:3753e96f3c8b 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
emilmont 56:3753e96f3c8b 4 /*-Specials-*/
emilmont 56:3753e96f3c8b 5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
emilmont 56:3753e96f3c8b 6 /*-Memory Regions-*/
emilmont 56:3753e96f3c8b 7 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
emilmont 56:3753e96f3c8b 8 define symbol __ICFEDIT_region_ROM_end__ = 0x0007FFFF;
emilmont 56:3753e96f3c8b 9 define symbol __ICFEDIT_region_RAM_start__ = 0x10000000;
emilmont 56:3753e96f3c8b 10 define symbol __ICFEDIT_region_RAM_end__ = 0x1000FFDF;
emilmont 56:3753e96f3c8b 11 /*-Sizes-*/
emilmont 56:3753e96f3c8b 12 define symbol __ICFEDIT_size_cstack__ = 0x400;
emilmont 56:3753e96f3c8b 13 define symbol __ICFEDIT_size_heap__ = 0x200;
emilmont 56:3753e96f3c8b 14 /**** End of ICF editor section. ###ICF###*/
emilmont 56:3753e96f3c8b 15
emilmont 56:3753e96f3c8b 16 define symbol __CRP_start__ = 0x000002FC;
emilmont 56:3753e96f3c8b 17 define symbol __CRP_end__ = 0x000002FF;
emilmont 56:3753e96f3c8b 18
emilmont 56:3753e96f3c8b 19 /* Memory used by ISP, and 32 bytes from top of RAM*/
emilmont 56:3753e96f3c8b 20 define symbol __ISP_start__ = 0x10000118;
emilmont 56:3753e96f3c8b 21 define symbol __ISP_end__ = 0x100001FF;
emilmont 56:3753e96f3c8b 22
emilmont 56:3753e96f3c8b 23 define memory mem with size = 4G;
emilmont 56:3753e96f3c8b 24 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__] - mem:[from __CRP_start__ to __CRP_end__];
emilmont 56:3753e96f3c8b 25 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__] - mem:[from __ISP_start__ to __ISP_end__];
emilmont 56:3753e96f3c8b 26 define region CRP_region = mem:[from __CRP_start__ to __CRP_end__];
emilmont 56:3753e96f3c8b 27
emilmont 56:3753e96f3c8b 28 define symbol _AHB_RAM_start__ = 0x2007C000;
emilmont 56:3753e96f3c8b 29 define symbol _AHB_RAM_end__ = 0x20083FFF;
emilmont 56:3753e96f3c8b 30 define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__];
emilmont 56:3753e96f3c8b 31
emilmont 56:3753e96f3c8b 32 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
emilmont 56:3753e96f3c8b 33 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
emilmont 56:3753e96f3c8b 34
emilmont 56:3753e96f3c8b 35 initialize by copy with packing = zeros { readwrite };
emilmont 56:3753e96f3c8b 36 do not initialize { section .noinit };
emilmont 56:3753e96f3c8b 37
emilmont 56:3753e96f3c8b 38 place at address mem:__ICFEDIT_intvec_start__ { section .intvec };
emilmont 56:3753e96f3c8b 39 place at address mem:0x2FC { section CRPKEY };
emilmont 56:3753e96f3c8b 40 place in ROM_region { readonly };
emilmont 56:3753e96f3c8b 41 place in RAM_region { readwrite,
emilmont 56:3753e96f3c8b 42 block CSTACK, block HEAP };
emilmont 56:3753e96f3c8b 43 place in AHB_RAM_region { section USB_RAM };
emilmont 56:3753e96f3c8b 44 place in CRP_region { section .crp };