mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
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:
committed by
Ron Evans
parent
5b81b835ba
commit
4dadb31e18
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"inherits": ["microbit", "nrf51-s110v8"]
|
||||
"inherits": ["microbit", "nrf51-s110v8"],
|
||||
"flash-method": "openocd"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"inherits": ["reelboard", "nrf52840-s140v7"]
|
||||
"inherits": ["reelboard", "nrf52840-s140v7"],
|
||||
"flash-method": "openocd"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user