fix LPC812 PWM
Fork of mbed-dev by
targets/cmsis/TARGET_STM/TARGET_STM32F0/TARGET_NUCLEO_F031K6/TOOLCHAIN_IAR/stm32f031x6.icf@129:2e517c56bcfb, 2016-05-16 (annotated)
- Committer:
- nameless129
- Date:
- Mon May 16 16:50:30 2016 +0000
- Revision:
- 129:2e517c56bcfb
- Parent:
- 0:9b334a45a8ff
PWM Fix:Duty 0%??H???????????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 0:9b334a45a8ff | 1 | /*###ICF### Section handled by ICF editor, don't touch! ****/ |
bogdanm | 0:9b334a45a8ff | 2 | /*-Editor annotation file-*/ |
bogdanm | 0:9b334a45a8ff | 3 | /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ |
bogdanm | 0:9b334a45a8ff | 4 | /*-Specials-*/ |
bogdanm | 0:9b334a45a8ff | 5 | define symbol __ICFEDIT_intvec_start__ = 0x08000000; |
bogdanm | 0:9b334a45a8ff | 6 | /*-Memory Regions-*/ |
bogdanm | 0:9b334a45a8ff | 7 | define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; |
bogdanm | 0:9b334a45a8ff | 8 | define symbol __ICFEDIT_region_ROM_end__ = 0x08007FFF; |
bogdanm | 0:9b334a45a8ff | 9 | define symbol __ICFEDIT_region_RAM_start__ = 0x200000B0; |
bogdanm | 0:9b334a45a8ff | 10 | define symbol __ICFEDIT_region_RAM_end__ = 0x20000FFF; |
bogdanm | 0:9b334a45a8ff | 11 | /*-Sizes-*/ |
bogdanm | 0:9b334a45a8ff | 12 | define symbol __ICFEDIT_size_cstack__ = 0x400; |
bogdanm | 0:9b334a45a8ff | 13 | define symbol __ICFEDIT_size_heap__ = 0x200; |
bogdanm | 0:9b334a45a8ff | 14 | /**** End of ICF editor section. ###ICF###*/ |
bogdanm | 0:9b334a45a8ff | 15 | |
bogdanm | 0:9b334a45a8ff | 16 | define memory mem with size = 4G; |
bogdanm | 0:9b334a45a8ff | 17 | define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; |
bogdanm | 0:9b334a45a8ff | 18 | define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; |
bogdanm | 0:9b334a45a8ff | 19 | |
bogdanm | 0:9b334a45a8ff | 20 | define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; |
bogdanm | 0:9b334a45a8ff | 21 | define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; |
bogdanm | 0:9b334a45a8ff | 22 | |
bogdanm | 0:9b334a45a8ff | 23 | initialize by copy { readwrite }; |
bogdanm | 0:9b334a45a8ff | 24 | do not initialize { section .noinit }; |
bogdanm | 0:9b334a45a8ff | 25 | |
bogdanm | 0:9b334a45a8ff | 26 | place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; |
bogdanm | 0:9b334a45a8ff | 27 | |
bogdanm | 0:9b334a45a8ff | 28 | place in ROM_region { readonly }; |
bogdanm | 0:9b334a45a8ff | 29 | place in RAM_region { readwrite, |
bogdanm | 0:9b334a45a8ff | 30 | block CSTACK, block HEAP }; |
bogdanm | 0:9b334a45a8ff | 31 | |
bogdanm | 0:9b334a45a8ff | 32 | export symbol __ICFEDIT_region_RAM_start__; |
bogdanm | 0:9b334a45a8ff | 33 | export symbol __ICFEDIT_region_RAM_end__; |