ads1115 only

Fork of mbed by mbed official

Committer:
kaoshen
Date:
Tue Jan 17 23:27:32 2017 +0000
Revision:
135:fce8a9387ed1
Parent:
108:34e6b704fe68
333 ADS1115 ADC1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 108:34e6b704fe68 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
Kojto 108:34e6b704fe68 2 /*-Editor annotation file-*/
Kojto 108:34e6b704fe68 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
Kojto 108:34e6b704fe68 4 /*-Specials-*/
Kojto 108:34e6b704fe68 5 define symbol __ICFEDIT_intvec_start__ = 0x08000000;
Kojto 108:34e6b704fe68 6 /*-Memory Regions-*/
Kojto 108:34e6b704fe68 7 define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
Kojto 108:34e6b704fe68 8 define symbol __ICFEDIT_region_ROM_end__ = 0x0800FFFF;
bogdanm 92:4fc01daae5a5 9 /* [RAM = 8kb = 0x2000] Vector table dynamic copy: 45 vectors = 180 bytes (0xB4) to be reserved in RAM */
Kojto 108:34e6b704fe68 10 define symbol __ICFEDIT_region_RAM_start__ = 0x200000B8; /* Add 4 more bytes after NVIC section to be aligned on 8 bytes */
Kojto 108:34e6b704fe68 11 define symbol __ICFEDIT_region_RAM_end__ = 0x20001FFF;
Kojto 108:34e6b704fe68 12 /*-Sizes-*/
Kojto 108:34e6b704fe68 13 define symbol __ICFEDIT_size_cstack__ = 0x400;
Kojto 108:34e6b704fe68 14 define symbol __ICFEDIT_size_heap__ = 0x800;
Kojto 108:34e6b704fe68 15 /**** End of ICF editor section. ###ICF###*/
bogdanm 92:4fc01daae5a5 16
bogdanm 92:4fc01daae5a5 17 define memory mem with size = 4G;
Kojto 108:34e6b704fe68 18 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
Kojto 108:34e6b704fe68 19 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
bogdanm 92:4fc01daae5a5 20
Kojto 108:34e6b704fe68 21 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
Kojto 108:34e6b704fe68 22 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
bogdanm 92:4fc01daae5a5 23
Kojto 108:34e6b704fe68 24 initialize by copy { readwrite };
bogdanm 92:4fc01daae5a5 25 do not initialize { section .noinit };
bogdanm 92:4fc01daae5a5 26
Kojto 108:34e6b704fe68 27 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
bogdanm 92:4fc01daae5a5 28
bogdanm 92:4fc01daae5a5 29 place in ROM_region { readonly };
Kojto 108:34e6b704fe68 30 place in RAM_region { readwrite,
Kojto 108:34e6b704fe68 31 block CSTACK, block HEAP };
Kojto 108:34e6b704fe68 32
Kojto 108:34e6b704fe68 33 export symbol __ICFEDIT_region_RAM_start__;
Kojto 108:34e6b704fe68 34 export symbol __ICFEDIT_region_RAM_end__;