mbed library sources
Fork of mbed-src by
targets/cmsis/TARGET_STM/TARGET_STM32F3/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf@385:be64abf45658, 2014-11-04 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Nov 04 09:45:07 2014 +0000
- Revision:
- 385:be64abf45658
- Parent:
- targets/cmsis/TARGET_STM/TARGET_NUCLEO_F334R8/TOOLCHAIN_IAR/stm32f334x8.icf@378:be043393235b
- Child:
- 420:8e6e2662709e
Synchronized with git revision 5a868b18bc02bd5bb19d24424d0a2464cd1930bb
Full URL: https://github.com/mbedmicro/mbed/commit/5a868b18bc02bd5bb19d24424d0a2464cd1930bb/
Targets: Factorisation of NUCLEO_F302R8 and F334R8 cmsis folders
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 378:be043393235b | 1 | /* [ROM = 64kb = 0x10000] */ |
mbed_official | 378:be043393235b | 2 | define symbol __intvec_start__ = 0x08000000; |
mbed_official | 378:be043393235b | 3 | define symbol __region_ROM_start__ = 0x08000000; |
mbed_official | 378:be043393235b | 4 | define symbol __region_ROM_end__ = 0x0800FFFF; |
mbed_official | 378:be043393235b | 5 | |
mbed_official | 378:be043393235b | 6 | /* [RAM = 16kb = 0x4000] Vector table dynamic copy: 98 vectors = 392 bytes (0x188) to be reserved in RAM */ |
mbed_official | 378:be043393235b | 7 | define symbol __NVIC_start__ = 0x20000000; |
mbed_official | 378:be043393235b | 8 | define symbol __NVIC_end__ = 0x20000191; /* Add 4 more bytes to be aligned on 8 bytes */ |
mbed_official | 378:be043393235b | 9 | define symbol __region_RAM_start__ = 0x20000192; |
mbed_official | 378:be043393235b | 10 | define symbol __region_RAM_end__ = 0x20003FFF; |
mbed_official | 378:be043393235b | 11 | define symbol __region_CCMRAM_start__ = 0x10000000; |
mbed_official | 378:be043393235b | 12 | define symbol __region_CCMRAM_end__ = 0x10000FFF; |
mbed_official | 378:be043393235b | 13 | |
mbed_official | 378:be043393235b | 14 | /* Memory regions */ |
mbed_official | 378:be043393235b | 15 | define memory mem with size = 4G; |
mbed_official | 378:be043393235b | 16 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__]; |
mbed_official | 378:be043393235b | 17 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
mbed_official | 378:be043393235b | 18 | define region CCMRAM_region = mem:[from __region_CCMRAM_start__ to __region_CCMRAM_end__]; |
mbed_official | 378:be043393235b | 19 | |
mbed_official | 378:be043393235b | 20 | /* Stack and Heap */ |
mbed_official | 378:be043393235b | 21 | define symbol __size_cstack__ = 0x400; |
mbed_official | 378:be043393235b | 22 | define symbol __size_heap__ = 0x400; |
mbed_official | 378:be043393235b | 23 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
mbed_official | 378:be043393235b | 24 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
mbed_official | 378:be043393235b | 25 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
mbed_official | 378:be043393235b | 26 | |
mbed_official | 378:be043393235b | 27 | initialize by copy with packing = zeros { readwrite }; |
mbed_official | 378:be043393235b | 28 | do not initialize { section .noinit }; |
mbed_official | 378:be043393235b | 29 | |
mbed_official | 378:be043393235b | 30 | place at address mem:__intvec_start__ { readonly section .intvec }; |
mbed_official | 378:be043393235b | 31 | |
mbed_official | 378:be043393235b | 32 | place in ROM_region { readonly }; |
mbed_official | 378:be043393235b | 33 | place in RAM_region { readwrite, block STACKHEAP }; |