ads1115 only
Fork of mbed by
TARGET_DELTA_DFBM_NQ620/TOOLCHAIN_IAR/nRF52832.icf@135:fce8a9387ed1, 2017-01-17 (annotated)
- Committer:
- kaoshen
- Date:
- Tue Jan 17 23:27:32 2017 +0000
- Revision:
- 135:fce8a9387ed1
- Parent:
- 126:abea610beb85
333 ADS1115 ADC1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 126:abea610beb85 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
AnnaBridge | 126:abea610beb85 | 2 | /*-Editor annotation file-*/ |
AnnaBridge | 126:abea610beb85 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
AnnaBridge | 126:abea610beb85 | 4 | /*-Specials-*/ |
AnnaBridge | 126:abea610beb85 | 5 | define symbol __ICFEDIT_intvec_start__ = 0x1c000; |
AnnaBridge | 126:abea610beb85 | 6 | /*-Memory Regions-*/ |
AnnaBridge | 126:abea610beb85 | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x1c000; |
AnnaBridge | 126:abea610beb85 | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x7ffff; |
AnnaBridge | 126:abea610beb85 | 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x20002ef8; |
AnnaBridge | 126:abea610beb85 | 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x2000ffff; |
AnnaBridge | 126:abea610beb85 | 11 | export symbol __ICFEDIT_region_RAM_start__; |
AnnaBridge | 126:abea610beb85 | 12 | export symbol __ICFEDIT_region_RAM_end__; |
AnnaBridge | 126:abea610beb85 | 13 | /*-Sizes-*/ |
AnnaBridge | 126:abea610beb85 | 14 | /*Heap 1/4 of ram and stack 1/8*/ |
AnnaBridge | 126:abea610beb85 | 15 | define symbol __ICFEDIT_size_cstack__ = 0x800; |
AnnaBridge | 126:abea610beb85 | 16 | define symbol __ICFEDIT_size_heap__ = 0x1800; |
AnnaBridge | 126:abea610beb85 | 17 | /**** End of ICF editor section. ###ICF###*/ |
AnnaBridge | 126:abea610beb85 | 18 | |
AnnaBridge | 126:abea610beb85 | 19 | define symbol __code_start_soft_device__ = 0x0; |
AnnaBridge | 126:abea610beb85 | 20 | |
AnnaBridge | 126:abea610beb85 | 21 | define memory mem with size = 4G; |
AnnaBridge | 126:abea610beb85 | 22 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
AnnaBridge | 126:abea610beb85 | 23 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
AnnaBridge | 126:abea610beb85 | 24 | |
AnnaBridge | 126:abea610beb85 | 25 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
AnnaBridge | 126:abea610beb85 | 26 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
AnnaBridge | 126:abea610beb85 | 27 | |
AnnaBridge | 126:abea610beb85 | 28 | initialize by copy { readwrite }; |
AnnaBridge | 126:abea610beb85 | 29 | do not initialize { section .noinit }; |
AnnaBridge | 126:abea610beb85 | 30 | |
AnnaBridge | 126:abea610beb85 | 31 | keep { section .intvec }; |
AnnaBridge | 126:abea610beb85 | 32 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
AnnaBridge | 126:abea610beb85 | 33 | place in ROM_region { readonly }; |
AnnaBridge | 126:abea610beb85 | 34 | place in RAM_region { readwrite, |
AnnaBridge | 126:abea610beb85 | 35 | block HEAP, |
AnnaBridge | 126:abea610beb85 | 36 | block CSTACK }; |
AnnaBridge | 126:abea610beb85 | 37 | |
AnnaBridge | 126:abea610beb85 | 38 | /*This is used for mbed applications build inside the Embedded workbench |
AnnaBridge | 126:abea610beb85 | 39 | Applications build with the python scritps use a hex merge so need to merge it |
AnnaBridge | 126:abea610beb85 | 40 | inside the linker. The linker can only use binary files so the hex merge is not possible |
AnnaBridge | 126:abea610beb85 | 41 | through the linker. That is why a binary is used instead of a hex image for the embedded project. |
AnnaBridge | 126:abea610beb85 | 42 | */ |
AnnaBridge | 126:abea610beb85 | 43 | if(isdefinedsymbol(SOFT_DEVICE_BIN)) |
AnnaBridge | 126:abea610beb85 | 44 | { |
AnnaBridge | 126:abea610beb85 | 45 | place at address mem:__code_start_soft_device__ { section .noinit_softdevice }; |
AnnaBridge | 126:abea610beb85 | 46 | } |