mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Revision 130:cd421b1c9b67, committed 2016-05-17
- Comitter:
- mbed_official
- Date:
- Tue May 17 12:45:11 2016 +0100
- Parent:
- 129:8a86d1aafce0
- Child:
- 131:830c525a60d5
- Commit message:
- Synchronized with git revision 909c76f36c371b38afc09b65949ed944189bb90a
Full URL: https://github.com/mbedmicro/mbed/commit/909c76f36c371b38afc09b65949ed944189bb90a/
we changed the sequence of ROM section to "<ro code> <ro data>" when compiled with the IAR.
When the ROM area is large, PC could not jump properly in the program area.
The other development environment of this sequence ("ro code, ro data").
Changed in this revision
targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf Mon May 16 12:00:12 2016 +0100 +++ b/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_IAR/MBRZA1H.icf Tue May 17 12:45:11 2016 +0100 @@ -38,6 +38,7 @@ define region MirrorRAM_region = mem:[from __ICFEDIT_region_MirrorRAM_start__ to __ICFEDIT_region_MirrorRAM_end__]; define region MirrorRetRAM_region = mem:[from __ICFEDIT_region_MirrorRetRAM_start__ to __ICFEDIT_region_MirrorRetRAM_end__]; +define block ROM_FIXED_ORDER with fixed order { ro code, ro data }; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { }; define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { }; @@ -48,11 +49,11 @@ initialize by copy { readwrite }; do not initialize { section .noinit }; -do not initialize { section MMU_TT }; +do not initialize { section .retram }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; -place in ROM_region { readonly }; +place in ROM_region { readonly, block ROM_FIXED_ORDER }; place in RAM_region { readwrite, block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK, block UND_STACK, block ABT_STACK, block HEAP };