Skip to content

Commit 4dadb31

Browse files
aykevldeadprogram
authored andcommitted
microbit: reelboard: flash using OpenOCD when needed
When using a SoftDevice, the MSD flash method is not appropriate as it will erase the entire flash area before writing the new firmware. This also wipes the SoftDevice. Instead, use OpenOCD to only rewrite the parts of flash that need to be rewritten and leave the SoftDevice alone.
1 parent 5b81b83 commit 4dadb31

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

targets/microbit-s110v8.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"inherits": ["microbit", "nrf51-s110v8"]
2+
"inherits": ["microbit", "nrf51-s110v8"],
3+
"flash-method": "openocd"
34
}

targets/reelboard-s140v7.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"inherits": ["reelboard", "nrf52840-s140v7"]
2+
"inherits": ["reelboard", "nrf52840-s140v7"],
3+
"flash-method": "openocd"
34
}

0 commit comments

Comments
 (0)