mirror of https://github.com/ARMmbed/mbed-os.git
Correct uninit region for nordic targets
parent
58372d3fdf
commit
ca41a0f59d
|
@ -19,7 +19,7 @@ LR_IROM1 0x1B000 0x0025000 {
|
||||||
.ANY (+RO)
|
.ANY (+RO)
|
||||||
}
|
}
|
||||||
RW_IRAM0 0x20002ef8 UNINIT 0x000000c0 { ;no init section
|
RW_IRAM0 0x20002ef8 UNINIT 0x000000c0 { ;no init section
|
||||||
*(noinit)
|
*(*noinit)
|
||||||
}
|
}
|
||||||
RW_IRAM1 0x20002FB8 0x00005048 {
|
RW_IRAM1 0x20002FB8 0x00005048 {
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
|
|
|
@ -19,7 +19,7 @@ LR_IROM1 0x18000 0x0028000 {
|
||||||
.ANY (+RO)
|
.ANY (+RO)
|
||||||
}
|
}
|
||||||
RW_IRAM0 0x20002000 UNINIT 0x000000c0 { ;no init section
|
RW_IRAM0 0x20002000 UNINIT 0x000000c0 { ;no init section
|
||||||
*(noinit)
|
*(*noinit)
|
||||||
}
|
}
|
||||||
RW_IRAM1 0x200020C0 0x00001F40 {
|
RW_IRAM1 0x200020C0 0x00001F40 {
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
|
|
|
@ -19,7 +19,7 @@ LR_IROM1 0x0001B000 0x0025000 {
|
||||||
.ANY (+RO)
|
.ANY (+RO)
|
||||||
}
|
}
|
||||||
RW_IRAM0 0x20002ef8 UNINIT 0x000000c0 { ;no init section
|
RW_IRAM0 0x20002ef8 UNINIT 0x000000c0 { ;no init section
|
||||||
*(noinit)
|
*(*noinit)
|
||||||
}
|
}
|
||||||
RW_IRAM1 0x20002FB8 0x00001048 {
|
RW_IRAM1 0x20002FB8 0x00001048 {
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
|
|
|
@ -19,7 +19,7 @@ LR_IROM1 0x1C000 0x0064000 {
|
||||||
.ANY (+RO)
|
.ANY (+RO)
|
||||||
}
|
}
|
||||||
RW_IRAM0 0x20002EF8 UNINIT 0x000000D8 { ;no init section
|
RW_IRAM0 0x20002EF8 UNINIT 0x000000D8 { ;no init section
|
||||||
*(noinit)
|
*(*noinit)
|
||||||
}
|
}
|
||||||
RW_IRAM1 0x20002FD0 0x0000D030 {
|
RW_IRAM1 0x20002FD0 0x0000D030 {
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
|
|
|
@ -5,7 +5,7 @@ LR_IROM1 0x21000 0x00DF000 {
|
||||||
.ANY (+RO)
|
.ANY (+RO)
|
||||||
}
|
}
|
||||||
RW_IRAM0 0x20003288 UNINIT 0x000000F8 { ;no init section
|
RW_IRAM0 0x20003288 UNINIT 0x000000F8 { ;no init section
|
||||||
*(noinit)
|
*(*noinit)
|
||||||
}
|
}
|
||||||
RW_IRAM1 0x20003380 0x0003cc80 {
|
RW_IRAM1 0x20003380 0x0003cc80 {
|
||||||
.ANY (+RW +ZI)
|
.ANY (+RW +ZI)
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
#include "nrf_sdm.h"
|
#include "nrf_sdm.h"
|
||||||
#include "section_vars.h"
|
#include "section_vars.h"
|
||||||
|
|
||||||
#if defined(__CC_ARM)
|
#if defined(__CC_ARM) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
|
||||||
__attribute__ ((section("noinit"),zero_init))
|
__attribute__ ((section(".bss.noinit"),zero_init))
|
||||||
uint32_t nrf_dispatch_vector[NVIC_NUM_VECTORS];
|
uint32_t nrf_dispatch_vector[NVIC_NUM_VECTORS];
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
__attribute__ ((section(".noinit")))
|
__attribute__ ((section(".noinit")))
|
||||||
|
|
Loading…
Reference in New Issue