ads1115 only
Fork of mbed by
TARGET_NUMAKER_PFM_M453/TOOLCHAIN_IAR/M453.icf@135:fce8a9387ed1, 2017-01-17 (annotated)
- Committer:
- kaoshen
- Date:
- Tue Jan 17 23:27:32 2017 +0000
- Revision:
- 135:fce8a9387ed1
- Parent:
- 130:d75b3fe1f5cb
333 ADS1115 ADC1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 128:9bcdf88f62b0 | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
<> | 128:9bcdf88f62b0 | 2 | /*-Editor annotation file-*/ |
<> | 128:9bcdf88f62b0 | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
<> | 128:9bcdf88f62b0 | 4 | /*-Specials-*/ |
<> | 128:9bcdf88f62b0 | 5 | define symbol __ICFEDIT_intvec_start__ = 0x00000000; |
<> | 128:9bcdf88f62b0 | 6 | /*-Memory Regions-*/ |
<> | 128:9bcdf88f62b0 | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; |
<> | 128:9bcdf88f62b0 | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x00040000; |
<> | 128:9bcdf88f62b0 | 9 | define symbol __ICFEDIT_region_IRAM_start__ = 0x20000000; |
<> | 128:9bcdf88f62b0 | 10 | define symbol __ICFEDIT_region_IRAM_end__ = 0x20008000; |
<> | 128:9bcdf88f62b0 | 11 | /*-Sizes-*/ |
<> | 130:d75b3fe1f5cb | 12 | define symbol __ICFEDIT_size_cstack__ = 0x800; |
<> | 128:9bcdf88f62b0 | 13 | define symbol __ICFEDIT_size_heap__ = 0x4000; |
<> | 128:9bcdf88f62b0 | 14 | /**** End of ICF editor section. ###ICF###*/ |
<> | 128:9bcdf88f62b0 | 15 | |
<> | 128:9bcdf88f62b0 | 16 | |
<> | 128:9bcdf88f62b0 | 17 | define memory mem with size = 4G; |
<> | 128:9bcdf88f62b0 | 18 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
<> | 128:9bcdf88f62b0 | 19 | define region IRAM_region = mem:[from __ICFEDIT_region_IRAM_start__ to __ICFEDIT_region_IRAM_end__]; |
<> | 128:9bcdf88f62b0 | 20 | |
<> | 128:9bcdf88f62b0 | 21 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
<> | 128:9bcdf88f62b0 | 22 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
<> | 128:9bcdf88f62b0 | 23 | /* NOTE: Vector table base requires to be aligned to the power of vector table size. Give a safe value here. */ |
<> | 128:9bcdf88f62b0 | 24 | define block IRAMVEC with alignment = 1024, size = 4 * (16 + 64) { }; |
<> | 128:9bcdf88f62b0 | 25 | |
<> | 128:9bcdf88f62b0 | 26 | |
<> | 128:9bcdf88f62b0 | 27 | initialize by copy { readwrite }; |
<> | 128:9bcdf88f62b0 | 28 | do not initialize { section .noinit }; |
<> | 128:9bcdf88f62b0 | 29 | |
<> | 128:9bcdf88f62b0 | 30 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
<> | 128:9bcdf88f62b0 | 31 | |
<> | 128:9bcdf88f62b0 | 32 | place in ROM_region { readonly }; |
<> | 128:9bcdf88f62b0 | 33 | place at start of IRAM_region { block CSTACK }; |
<> | 128:9bcdf88f62b0 | 34 | place in IRAM_region { block IRAMVEC }; |
<> | 128:9bcdf88f62b0 | 35 | place in IRAM_region { readwrite }; |
<> | 128:9bcdf88f62b0 | 36 | place in IRAM_region { block HEAP }; |