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.
Этот коммит содержится в:
Ayke van Laethem 2020-09-15 15:18:24 +02:00 коммит произвёл Ron Evans
родитель 5b81b835ba
коммит 4dadb31e18
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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"
} }