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