mbed library sources

Dependents:   Marvino mbot

Fork of mbed-src by mbed official

Committer:
jaerts
Date:
Tue Dec 22 13:22:16 2015 +0000
Revision:
637:ed69428d4850
Parent:
483:37da4976ca27
Add very shady LPC1768 CAN Filter implementation

Who changed what in which revision?

UserRevisionLine numberNew 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__ = 0x0007ffff;
mbed_official 420:8e6e2662709e 9 define symbol __ICFEDIT_region_NVIC_start__ = 0x1fff0000;
mbed_official 483:37da4976ca27 10 define symbol __ICFEDIT_region_NVIC_end__ = 0x1fff03ff;
mbed_official 483:37da4976ca27 11 define symbol __ICFEDIT_region_RAM_start__ = 0x1fff0400;
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__ = 0x4000;
mbed_official 483:37da4976ca27 16 define symbol __ICFEDIT_size_heap__ = 0x8000;
mbed_official 377:95186f86029b 17 /**** End of ICF editor section. ###ICF###*/
mbed_official 377:95186f86029b 18
mbed_official 420:8e6e2662709e 19 define symbol __region_RAM2_start__ = 0x20000000;
mbed_official 420:8e6e2662709e 20 define symbol __region_RAM2_end__ = 0x2000ffff;
mbed_official 377:95186f86029b 21
mbed_official 420:8e6e2662709e 22 define symbol __FlashConfig_start__ = 0x00000400;
mbed_official 420:8e6e2662709e 23 define symbol __FlashConfig_end__ = 0x0000040f;
mbed_official 377:95186f86029b 24
mbed_official 377:95186f86029b 25 define memory mem with size = 4G;
mbed_official 420:8e6e2662709e 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 420:8e6e2662709e 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 };