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.
Этот коммит содержится в:
родитель
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"
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче