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