The official mbed C/C SDK provides the software platform and libraries to build your applications.
Fork of mbed by
TARGET_LPC1768/TOOLCHAIN_IAR/LPC17xx.icf@90:cb3d968589d8, 2014-10-28 (annotated)
- Committer:
- Kojto
- Date:
- Tue Oct 28 16:40:41 2014 +0000
- Revision:
- 90:cb3d968589d8
- Parent:
- 66:9c8f0e3462fb
- Child:
- 93:e188a91d3eaa
Release 90 of the mbed library
Changes:
- Freescale KSDK update (v1.0)
- K22 - new target addition
- KL43Z - new target addition
- Nucleo F091RC - new target addition
- Nucleo L152RE - STM32Cube driver
- Nordic - Softdevice v7.1.0
- Nvic files - BSD License
- LPC824 - various HAL fixes
- Nucleo F411RE - CMSIS - IAR files
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 66:9c8f0e3462fb | 1 | /* [ROM] */ |
bogdanm | 66:9c8f0e3462fb | 2 | define symbol __intvec_start__ = 0x00000000; |
bogdanm | 66:9c8f0e3462fb | 3 | define symbol __region_ROM_start__ = 0x00000000; |
bogdanm | 66:9c8f0e3462fb | 4 | define symbol __CRP_start__ = 0x000002FC; |
bogdanm | 66:9c8f0e3462fb | 5 | define symbol __CRP_end__ = 0x000002FF; |
bogdanm | 66:9c8f0e3462fb | 6 | define symbol __region_ROM_end__ = 0x0007FFFF; |
bogdanm | 66:9c8f0e3462fb | 7 | |
bogdanm | 66:9c8f0e3462fb | 8 | /* [RAM] Vector table dynamic copy: 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8*/ |
bogdanm | 66:9c8f0e3462fb | 9 | define symbol __NVIC_start__ = 0x10000000; |
bogdanm | 66:9c8f0e3462fb | 10 | define symbol __NVIC_end__ = 0x100000C7; |
bogdanm | 66:9c8f0e3462fb | 11 | define symbol __region_RAM_start__ = 0x100000C8; |
Kojto | 90:cb3d968589d8 | 12 | define symbol __region_RAM_end__ = 0x10007FDF; |
bogdanm | 66:9c8f0e3462fb | 13 | define symbol _AHB_RAM_start__ = 0x2007C000; |
bogdanm | 66:9c8f0e3462fb | 14 | define symbol _AHB_RAM_end__ = 0x20083FFF; |
bogdanm | 66:9c8f0e3462fb | 15 | |
bogdanm | 66:9c8f0e3462fb | 16 | /* Memory regions */ |
bogdanm | 66:9c8f0e3462fb | 17 | define memory mem with size = 4G; |
bogdanm | 66:9c8f0e3462fb | 18 | |
bogdanm | 66:9c8f0e3462fb | 19 | define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__] - mem:[from __CRP_start__ to __CRP_end__]; |
bogdanm | 66:9c8f0e3462fb | 20 | define region CRP_region = mem:[from __CRP_start__ to __CRP_end__]; |
bogdanm | 66:9c8f0e3462fb | 21 | |
bogdanm | 66:9c8f0e3462fb | 22 | define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__]; |
bogdanm | 66:9c8f0e3462fb | 23 | define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__]; |
bogdanm | 66:9c8f0e3462fb | 24 | |
bogdanm | 66:9c8f0e3462fb | 25 | /* Stack and Heap */ |
bogdanm | 66:9c8f0e3462fb | 26 | define symbol __size_cstack__ = 0x800; |
bogdanm | 66:9c8f0e3462fb | 27 | define symbol __size_heap__ = 0x800; |
bogdanm | 66:9c8f0e3462fb | 28 | define block CSTACK with alignment = 8, size = __size_cstack__ { }; |
bogdanm | 66:9c8f0e3462fb | 29 | define block HEAP with alignment = 8, size = __size_heap__ { }; |
bogdanm | 66:9c8f0e3462fb | 30 | define block STACKHEAP with fixed order { block HEAP, block CSTACK }; |
bogdanm | 66:9c8f0e3462fb | 31 | |
bogdanm | 66:9c8f0e3462fb | 32 | initialize by copy with packing = zeros { readwrite }; |
bogdanm | 66:9c8f0e3462fb | 33 | do not initialize { section .noinit }; |
bogdanm | 66:9c8f0e3462fb | 34 | |
bogdanm | 66:9c8f0e3462fb | 35 | place at address mem:__intvec_start__ { section .intvec }; |
bogdanm | 66:9c8f0e3462fb | 36 | place at address mem:0x2FC { section CRPKEY }; |
bogdanm | 66:9c8f0e3462fb | 37 | place in ROM_region { readonly }; |
bogdanm | 66:9c8f0e3462fb | 38 | place in RAM_region { readwrite, block STACKHEAP }; |
bogdanm | 66:9c8f0e3462fb | 39 | place in AHB_RAM_region { section USB_RAM }; |
bogdanm | 66:9c8f0e3462fb | 40 | place in CRP_region { section .crp }; |