Modified version of the mbed library for use with the Nucleo boards.

Dependents:   EEPROMWrite Full-Project

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Mon Sep 28 10:45:10 2015 +0100
Revision:
630:825f75ca301e
Parent:
483:37da4976ca27
Synchronized with git revision 54fbe4144faf309c37205a5d39fa665daa919f10

Full URL: https://github.com/mbedmicro/mbed/commit/54fbe4144faf309c37205a5d39fa665daa919f10/

NUCLEO_F031K6 : Add new target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 630:825f75ca301e 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
mbed_official 630:825f75ca301e 2 /*-Editor annotation file-*/
mbed_official 630:825f75ca301e 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
mbed_official 630:825f75ca301e 4 /*-Specials-*/
mbed_official 630:825f75ca301e 5 define symbol __ICFEDIT_intvec_start__ = 0x08000000;
mbed_official 630:825f75ca301e 6 /*-Memory Regions-*/
mbed_official 630:825f75ca301e 7 define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
mbed_official 630:825f75ca301e 8 define symbol __ICFEDIT_region_ROM_end__ = 0x0801FFFF;
mbed_official 630:825f75ca301e 9 define symbol __ICFEDIT_region_RAM_start__ = 0x200000C0;
mbed_official 630:825f75ca301e 10 define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF;
mbed_official 630:825f75ca301e 11 /*-Sizes-*/
mbed_official 630:825f75ca301e 12 define symbol __ICFEDIT_size_cstack__ = 0x800;
mbed_official 630:825f75ca301e 13 define symbol __ICFEDIT_size_heap__ = 0x1000;
mbed_official 630:825f75ca301e 14 /**** End of ICF editor section. ###ICF###*/
mbed_official 393:17d2d502961d 15
mbed_official 393:17d2d502961d 16 define memory mem with size = 4G;
mbed_official 630:825f75ca301e 17 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
mbed_official 630:825f75ca301e 18 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
mbed_official 393:17d2d502961d 19
mbed_official 630:825f75ca301e 20 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
mbed_official 630:825f75ca301e 21 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
mbed_official 393:17d2d502961d 22
mbed_official 630:825f75ca301e 23 initialize by copy { readwrite };
mbed_official 393:17d2d502961d 24 do not initialize { section .noinit };
mbed_official 393:17d2d502961d 25
mbed_official 630:825f75ca301e 26 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
mbed_official 393:17d2d502961d 27
mbed_official 393:17d2d502961d 28 place in ROM_region { readonly };
mbed_official 630:825f75ca301e 29 place in RAM_region { readwrite,
mbed_official 630:825f75ca301e 30 block CSTACK, block HEAP };
mbed_official 630:825f75ca301e 31
mbed_official 630:825f75ca301e 32 export symbol __ICFEDIT_region_RAM_start__;
mbed_official 630:825f75ca301e 33 export symbol __ICFEDIT_region_RAM_end__;
mbed_official 630:825f75ca301e 34