ads1115 only
Fork of mbed by
TARGET_EFM32LG_STK3600/TOOLCHAIN_IAR/efm32lg990f256.icf@135:fce8a9387ed1, 2017-01-17 (annotated)
- Committer:
- kaoshen
- Date:
- Tue Jan 17 23:27:32 2017 +0000
- Revision:
- 135:fce8a9387ed1
- Parent:
- 127:25aea2a3f4e3
333 ADS1115 ADC1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 127:25aea2a3f4e3 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
<> | 127:25aea2a3f4e3 | 2 | /*-Editor annotation file-*/ |
<> | 127:25aea2a3f4e3 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
<> | 127:25aea2a3f4e3 | 4 | /*-Specials-*/ |
<> | 127:25aea2a3f4e3 | 5 | define symbol __ICFEDIT_intvec_start__ = 0x00000000; |
<> | 127:25aea2a3f4e3 | 6 | /*-Memory Regions-*/ |
<> | 127:25aea2a3f4e3 | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; |
<> | 127:25aea2a3f4e3 | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF; |
<> | 127:25aea2a3f4e3 | 9 | define symbol __NVIC_start__ = 0x20000000; |
<> | 127:25aea2a3f4e3 | 10 | define symbol __NVIC_end__ = 0x200000DF; |
<> | 127:25aea2a3f4e3 | 11 | define symbol __ICFEDIT_region_RAM_start__ = 0x200000E0; |
<> | 127:25aea2a3f4e3 | 12 | define symbol __ICFEDIT_region_RAM_end__ = 0x20007FFF; |
<> | 127:25aea2a3f4e3 | 13 | /*-Sizes-*/ |
<> | 127:25aea2a3f4e3 | 14 | /*Heap 1/4 of ram and stack 1/8*/ |
<> | 127:25aea2a3f4e3 | 15 | define symbol __ICFEDIT_size_cstack__ = 0x1000; |
<> | 127:25aea2a3f4e3 | 16 | define symbol __ICFEDIT_size_heap__ = 0x2000; |
<> | 127:25aea2a3f4e3 | 17 | /**** End of ICF editor section. ###ICF###*/ |
<> | 127:25aea2a3f4e3 | 18 | |
<> | 127:25aea2a3f4e3 | 19 | define memory mem with size = 4G; |
<> | 127:25aea2a3f4e3 | 20 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
<> | 127:25aea2a3f4e3 | 21 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
<> | 127:25aea2a3f4e3 | 22 | |
<> | 127:25aea2a3f4e3 | 23 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
<> | 127:25aea2a3f4e3 | 24 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
<> | 127:25aea2a3f4e3 | 25 | |
<> | 127:25aea2a3f4e3 | 26 | initialize by copy { readwrite }; |
<> | 127:25aea2a3f4e3 | 27 | do not initialize { section .noinit }; |
<> | 127:25aea2a3f4e3 | 28 | |
<> | 127:25aea2a3f4e3 | 29 | keep { section .intvec }; |
<> | 127:25aea2a3f4e3 | 30 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
<> | 127:25aea2a3f4e3 | 31 | place in ROM_region { readonly }; |
<> | 127:25aea2a3f4e3 | 32 | place in RAM_region { readwrite, block CSTACK, block HEAP }; |
<> | 127:25aea2a3f4e3 | 33 |