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.
This commit is contained in:
Ayke van Laethem
2020-09-15 15:18:24 +02:00
committed by Ron Evans
parent 5b81b835ba
commit 4dadb31e18
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
{
"inherits": ["microbit", "nrf51-s110v8"]
"inherits": ["microbit", "nrf51-s110v8"],
"flash-method": "openocd"
}
+2 -1
View File
@@ -1,3 +1,4 @@
{
"inherits": ["reelboard", "nrf52840-s140v7"]
"inherits": ["reelboard", "nrf52840-s140v7"],
"flash-method": "openocd"
}