ads1115 only
Fork of mbed by
TARGET_NUCLEO_F070RB/TOOLCHAIN_IAR/stm32f070xb.icf@135:fce8a9387ed1, 2017-01-17 (annotated)
- 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?
User | Revision | Line number | New 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__ = 0x0801FFFF; |
Kojto | 108:34e6b704fe68 | 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x200000C0; |
Kojto | 108:34e6b704fe68 | 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20003FFF; |
Kojto | 108:34e6b704fe68 | 11 | /*-Sizes-*/ |
Kojto | 108:34e6b704fe68 | 12 | define symbol __ICFEDIT_size_cstack__ = 0x800; |
Kojto | 108:34e6b704fe68 | 13 | define symbol __ICFEDIT_size_heap__ = 0x1000; |
Kojto | 108:34e6b704fe68 | 14 | /**** End of ICF editor section. ###ICF###*/ |
Kojto | 93:e188a91d3eaa | 15 | |
Kojto | 93:e188a91d3eaa | 16 | define memory mem with size = 4G; |
Kojto | 108:34e6b704fe68 | 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
Kojto | 108:34e6b704fe68 | 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
Kojto | 93:e188a91d3eaa | 19 | |
Kojto | 108:34e6b704fe68 | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
Kojto | 108:34e6b704fe68 | 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
Kojto | 93:e188a91d3eaa | 22 | |
Kojto | 108:34e6b704fe68 | 23 | initialize by copy { readwrite }; |
Kojto | 93:e188a91d3eaa | 24 | do not initialize { section .noinit }; |
Kojto | 93:e188a91d3eaa | 25 | |
Kojto | 108:34e6b704fe68 | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
Kojto | 93:e188a91d3eaa | 27 | |
Kojto | 93:e188a91d3eaa | 28 | place in ROM_region { readonly }; |
Kojto | 108:34e6b704fe68 | 29 | place in RAM_region { readwrite, |
Kojto | 108:34e6b704fe68 | 30 | block CSTACK, block HEAP }; |
Kojto | 108:34e6b704fe68 | 31 | |
Kojto | 108:34e6b704fe68 | 32 | export symbol __ICFEDIT_region_RAM_start__; |
Kojto | 108:34e6b704fe68 | 33 | export symbol __ICFEDIT_region_RAM_end__; |