Skip to content

Commit dfcdbbf

Browse files
pan-paul-szczepanek-arm
authored andcommitted
Nordic FIX: place observers sequentially in flash.
1 parent e534f3b commit dfcdbbf

File tree

2 files changed

+10
-0
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52

2 files changed

+10
-0
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52832/device/TOOLCHAIN_ARM_STD/nRF52832.sct

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE {
2727
ER_IROM1 MBED_APP_START MBED_APP_SIZE {
2828
*.o (RESET, +First)
2929
*(InRoot$$Sections)
30+
__start_sdh_soc_observers *(sdh_soc_observers) __stop_sdh_soc_observers
31+
__start_sdh_stack_observers *(sdh_stack_observers) __stop_sdh_stack_observers
32+
__start_sdh_req_observers *(sdh_req_observers) __stop_sdh_req_observers
33+
__start_sdh_state_observers *(sdh_state_observers) __stop_sdh_state_observers
34+
__start_sdh_ble_observers *(sdh_ble_observers) __stop_sdh_ble_observers
3035
.ANY (+RO)
3136
}
3237
RW_IRAM0 MBED_RAM0_START UNINIT MBED_RAM0_SIZE { ;no init section

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52840/device/TOOLCHAIN_ARM_STD/nRF52840.sct

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE {
2727
ER_IROM1 MBED_APP_START MBED_APP_SIZE {
2828
*.o (RESET, +First)
2929
*(InRoot$$Sections)
30+
__start_sdh_soc_observers *(sdh_soc_observers) __stop_sdh_soc_observers
31+
__start_sdh_stack_observers *(sdh_stack_observers) __stop_sdh_stack_observers
32+
__start_sdh_req_observers *(sdh_req_observers) __stop_sdh_req_observers
33+
__start_sdh_state_observers *(sdh_state_observers) __stop_sdh_state_observers
34+
__start_sdh_ble_observers *(sdh_ble_observers) __stop_sdh_ble_observers
3035
.ANY (+RO)
3136
}
3237
RW_IRAM0 MBED_RAM0_START UNINIT MBED_RAM0_SIZE { ;no init section

0 commit comments

Comments
 (0)