File tree Expand file tree Collapse file tree 3 files changed +17
-1
lines changed
Expand file tree Collapse file tree 3 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,16 @@ Reset_Handler:
244244
245245.L_loop1_done:
246246
247+ /* Adafruit fill stack region with pattern 0xADADADAD */
248+ ldr r0, =__StackLimit
249+ ldr r1, =__StackSize
250+ ldr r2, =0xADADADAD
251+ .L_fill:
252+ str r2, [r0]
253+ adds r0, 4
254+ subs r1, 4
255+ bne .L_fill
256+
247257/* This part of work usually is done in C library startup code. Otherwise,
248258 * define __STARTUP_CLEAR_BSS to enable it in this startup. This section
249259 * clears the RAM where BSS data is located.
Original file line number Diff line number Diff line change 1414 * - Concurrent connection peripheral + central + secure links
1515 * - Event Len, HVN queue, Write CMD queue
1616 */
17- RAM (rwx) : ORIGIN = 0x20006000 , LENGTH = 0x20040000 - 0x20006000
17+ RAM (rwx) : ORIGIN = 0x20006000 , LENGTH = 0x20020000 - 0x20006000
1818}
1919
2020SECTIONS
Original file line number Diff line number Diff line change 11#**********************************************
22# Jlink with nrfjprog
33#**********************************************
4+
5+
46nrfjprog.name=J-Link for Bluefruit nRF52
57nrfjprog.program.tool=bootburn
68nrfjprog.program.cmd={runtime.tools.nrfjprog.path}/nrfjprog
79nrfjprog.program.cmd.windows={runtime.tools.nrfjprog.path}/nrfjprog.exe
810
11+ # Use nrfjprog in PATH
12+ #nrfjprog.program.cmd=nrfjprog
13+ #nrfjprog.program.cmd.windows=nrfjprog.exe
14+
915# Burn bootloader pattern
1016nrfjprog.program.burn_pattern="{program.cmd}" --program "{bootloader.file}.hex" -f nrf52 --chiperase --reset
1117
You can’t perform that action at this time.
0 commit comments