One more step to fixing debug problem
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -41,10 +41,8 @@ modules/
|
||||
*.config
|
||||
*.conf.old
|
||||
include/generated/
|
||||
.zephyr
|
||||
|
||||
# IDE/editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
15
.vscode/launch.json
vendored
Normal file
15
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "nrf-connect",
|
||||
"request": "launch",
|
||||
"name": "Launch PHF000-Firmware",
|
||||
"config": "${workspaceFolder}/build_4/PHF000-Firmware",
|
||||
"runToEntryPoint": "main"
|
||||
}
|
||||
]
|
||||
}
|
||||
8
.vscode/settings.json
vendored
Normal file
8
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"nrf-connect.debugging.bindings": {
|
||||
"${workspaceFolder}/build_4/PHF000-Firmware": "Launch PHF000-Firmware"
|
||||
},
|
||||
"files.associations": {
|
||||
"nrfx_temp.h": "c"
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
board_runner_args(jlink "--device=nRF52833_xxAA" "--speed=4000")
|
||||
set(OPENOCD_NRF5_SUBFAMILY "nrf52")
|
||||
board_runner_args(pyocd "--target=nrf52833" "--frequency=4000000")
|
||||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
|
||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
||||
|
||||
2
prj.conf
2
prj.conf
@@ -21,4 +21,4 @@ CONFIG_USB_CDC_ACM=y
|
||||
CONFIG_USB_DEVICE_PRODUCT="Zephyr USB console sample"
|
||||
|
||||
# STEP 1.1 - Enable MCUboot
|
||||
CONFIG_BOOTLOADER_MCUBOOT=y
|
||||
#CONFIG_IBOOTLOADER_MCUBOOT=y
|
||||
@@ -7,7 +7,7 @@ CONFIG_MCUBOOT_DOWNGRADE_PREVENTION=y
|
||||
# STEP 3.1 - Increase flash space for MCUboot child image, to fit USB drivers
|
||||
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000
|
||||
|
||||
CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=y
|
||||
#CONFIG_MCUBOOT_GENERATE_UNSIGNED_IMAGE=y
|
||||
|
||||
CONFIG_MCUBOOT_SERIAL=y
|
||||
CONFIG_BOOT_SERIAL_CDC_ACM=y
|
||||
|
||||
Reference in New Issue
Block a user