Flash할 때 NVS 보존
This commit is contained in:
Vendored
+14
@@ -7,6 +7,20 @@
|
||||
"name": "Launch blinky/build/blinky",
|
||||
"config": "${workspaceFolder}/build/blinky",
|
||||
"runToEntryPoint": "main"
|
||||
},
|
||||
{
|
||||
"type": "nrf-connect",
|
||||
"request": "launch",
|
||||
"name": "Launch blinky/build",
|
||||
"config": "${workspaceFolder}/build",
|
||||
"runToEntryPoint": "main"
|
||||
},
|
||||
{
|
||||
"type": "nrf-connect",
|
||||
"request": "launch",
|
||||
"name": "Launch blinky/build/mcuboot",
|
||||
"config": "${workspaceFolder}/build/mcuboot",
|
||||
"runToEntryPoint": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+3
-1
@@ -1,5 +1,7 @@
|
||||
{
|
||||
"nrf-connect.debugging.bindings": {
|
||||
"${workspaceFolder}/build/blinky": "Launch blinky/build/blinky"
|
||||
"${workspaceFolder}/build/blinky": "Launch blinky/build/blinky",
|
||||
"${workspaceFolder}/build": "Launch blinky/build",
|
||||
"${workspaceFolder}/build/mcuboot": "Launch blinky/build/mcuboot"
|
||||
}
|
||||
}
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Flash: full erase (wipe NVS/bonds)",
|
||||
"type": "shell",
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-ExecutionPolicy",
|
||||
"Bypass",
|
||||
"-File",
|
||||
"${workspaceFolder}\\tools\\flash_full_erase.ps1"
|
||||
],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Flash: preserve settings/bonds",
|
||||
"type": "shell",
|
||||
"command": "powershell",
|
||||
"args": [
|
||||
"-ExecutionPolicy",
|
||||
"Bypass",
|
||||
"-File",
|
||||
"${workspaceFolder}\\tools\\flash_preserve_settings.ps1"
|
||||
],
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,11 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
cmake_minimum_required(VERSION 3.20.0)
|
||||
|
||||
macro(app_set_runner_args)
|
||||
board_runner_args(nrfutil "--erase-mode=ranges")
|
||||
endmacro()
|
||||
|
||||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
||||
project(vesiscan)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user