File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed
hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5
TARGET_MCU_NRF51822/TOOLCHAIN_GCC_ARM
TARGET_MCU_NRF52832/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
MEMORY
4
4
{
5
- FLASH (rx) : ORIGIN = 0x0001C000 , LENGTH = 0x24000
6
- RAM (rwx) : ORIGIN = 0x20002800 , LENGTH = 0x5800
5
+ FLASH (rx) : ORIGIN = 0x0001B000 , LENGTH = 0x25000
6
+ RAM (rwx) : ORIGIN = 0x20002ef8 , LENGTH = 0x5108
7
7
}
8
8
9
9
OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
@@ -114,6 +114,15 @@ SECTIONS
114
114
115
115
} > RAM
116
116
117
+ __edata = .;
118
+
119
+ .fs_data :
120
+ {
121
+ PROVIDE (__start_fs_data = .);
122
+ KEEP(*(.fs_data))
123
+ PROVIDE (__stop_fs_data = .);
124
+ } > RAM
125
+
117
126
.bss :
118
127
{
119
128
. = ALIGN (4);
Original file line number Diff line number Diff line change @@ -117,8 +117,9 @@ __Vectors:
117
117
118
118
/* Reset Handler */
119
119
120
- .equ NRF_POWER_RAMON_ADDRESS, 0x40000524
121
- .equ NRF_POWER_RAMON_RAMxON_ONMODE_Msk, 0x3
120
+ .equ NRF_POWER_RAMON_ADDRESS, 0x40000524
121
+ .equ NRF_POWER_RAMONB_ADDRESS, 0x40000554
122
+ .equ NRF_POWER_RAMONx_RAMxON_ONMODE_Msk, 0x3
122
123
123
124
.text
124
125
.thumb
@@ -129,10 +130,14 @@ __Vectors:
129
130
Reset_Handler:
130
131
.fnstart
131
132
132
- /* Make sure ALL RAM banks are powered on */
133
+ MOVS R1, #NRF_POWER_RAMONx_RAMxON_ONMODE_Msk
133
134
LDR R0, =NRF_POWER_RAMON_ADDRESS
134
135
LDR R2, [R0]
135
- MOVS R1, #NRF_POWER_RAMON_RAMxON_ONMODE_Msk
136
+ ORRS R2, R1
137
+ STR R2, [R0]
138
+
139
+ LDR R0, =NRF_POWER_RAMONB_ADDRESS
140
+ LDR R2, [R0]
136
141
ORRS R2, R1
137
142
STR R2, [R0]
138
143
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ SECTIONS
83
83
KEEP(*(.eh_frame*))
84
84
} > FLASH
85
85
86
-
87
86
.ARM.extab :
88
87
{
89
88
*(.ARM.extab* .gnu.linkonce.armextab.*)
You can’t perform that action at this time.
0 commit comments