ads1115 only

Fork of mbed by mbed official

Committer:
kaoshen
Date:
Tue Jan 17 23:27:32 2017 +0000
Revision:
135:fce8a9387ed1
Parent:
132:9baf128c2fab
333 ADS1115 ADC1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 132:9baf128c2fab 1 /*###ICF### Section handled by ICF editor, don't touch! ****/
<> 132:9baf128c2fab 2 /*-Editor annotation file-*/
<> 132:9baf128c2fab 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
<> 132:9baf128c2fab 4 /*-Specials-*/
<> 132:9baf128c2fab 5 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
<> 132:9baf128c2fab 6 /*-Memory Regions-*/
<> 132:9baf128c2fab 7 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
<> 132:9baf128c2fab 8 define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF;
<> 132:9baf128c2fab 9 define symbol __NVIC_start__ = 0x20000000;
<> 132:9baf128c2fab 10 define symbol __NVIC_end__ = 0x200000C7;
<> 132:9baf128c2fab 11 define symbol __ICFEDIT_region_RAM_start__ = 0x200000C8;
<> 132:9baf128c2fab 12 define symbol __ICFEDIT_region_RAM_end__ = 0x20007BFF;
<> 132:9baf128c2fab 13 /*-Sizes-*/
<> 132:9baf128c2fab 14 /*Heap 1/4 of ram and stack 1/8*/
<> 132:9baf128c2fab 15 define symbol __ICFEDIT_size_cstack__ = 0x400;
<> 132:9baf128c2fab 16 define symbol __ICFEDIT_size_heap__ = 0x1000;
<> 132:9baf128c2fab 17 /**** End of ICF editor section. ###ICF###*/
<> 132:9baf128c2fab 18
<> 132:9baf128c2fab 19 define memory mem with size = 4G;
<> 132:9baf128c2fab 20 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
<> 132:9baf128c2fab 21 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
<> 132:9baf128c2fab 22
<> 132:9baf128c2fab 23 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
<> 132:9baf128c2fab 24 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
<> 132:9baf128c2fab 25
<> 132:9baf128c2fab 26 initialize by copy { readwrite };
<> 132:9baf128c2fab 27 do not initialize { section .noinit };
<> 132:9baf128c2fab 28
<> 132:9baf128c2fab 29 keep { section .intvec };
<> 132:9baf128c2fab 30 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
<> 132:9baf128c2fab 31 place in ROM_region { readonly };
<> 132:9baf128c2fab 32 place in RAM_region { readwrite, block CSTACK, block HEAP };
<> 132:9baf128c2fab 33