Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zephyr 3.5 update #1995

Merged
merged 35 commits into from Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e728367
refactor(display): Move new LVGL DPI Kconfig setting.
petejohanson Jun 23, 2023
a6c1ce9
refactor: All SYS_INIT functions are void args.
petejohanson Jun 23, 2023
5f58633
fix: Add missing include for k_work types.
petejohanson Jun 23, 2023
a4dd663
chore: Switch to 3.5 Zephyr version.
petejohanson Jun 23, 2023
726cd13
refacter(bluetooth): Proper HCI header include.
petejohanson Jun 28, 2023
98481f9
fix(sensors): Avoid duplicate Kconfig/DTS name.
petejohanson Oct 16, 2023
6092ec9
fix: Fix syscalls generation setup.
petejohanson Nov 9, 2023
35e3272
refactor: Return int from main function.
petejohanson Nov 9, 2023
93680b0
refactor: Move to POST_KERNEL phase for behavior inits.
petejohanson Nov 9, 2023
cd864ef
refactor(kscan): Clean up warning about shadowed local.
petejohanson Nov 9, 2023
26aac19
fix(ble): Ensure large enough string for setting name.
petejohanson Nov 9, 2023
fdf9246
refactor: Move to new sys_poweroff API.
petejohanson Nov 9, 2023
d450750
refactor: Remove explicit blocklist item.
petejohanson Nov 10, 2023
53e3c93
fix(kscan): Adjust composite kscan priority
petejohanson Nov 10, 2023
4c20bc3
chore(ci): Bump to 3.5 Docker images.
petejohanson Nov 14, 2023
b413f24
fix: Proper use of CONTAINER_OF with delayable work.
petejohanson Nov 15, 2023
dd7b38c
fix(boards): Remove references to PINMUX Kconfig.
petejohanson Nov 15, 2023
85251cc
fix(shields): LVGL fixes for nice!view screen
petejohanson Nov 16, 2023
c13d253
fix(bt): Updated snapshots for BLE tests.
petejohanson Dec 4, 2023
8be1084
fix(bt): Fixes for BLE test BSIM bits.
petejohanson Dec 4, 2023
fbfdadc
feat(boards): Make `west flash` work with new UF2 runner.
petejohanson Dec 4, 2023
19acd38
fix(boards): Make `&bootloader` work on nrf52 for now.
petejohanson Dec 4, 2023
3c96aff
fix(boards): Remove unused pin settings.
petejohanson Dec 4, 2023
014dbc6
fix(bluetooth): Remove LLCP impl override.
petejohanson Dec 12, 2023
1c67567
fix(kscan): Adjust charlieplex init level/priority.
petejohanson Jan 14, 2024
349f80b
fix(shields): Fix use of deprecated Zephyr header.
petejohanson Jan 17, 2024
7b3931a
fix(display): Set a default mem size for built-in
petejohanson Jan 17, 2024
ba129be
fix(ble): Update security test for changes in 3.5.
petejohanson Jan 29, 2024
9028a43
feat: Add Zephyr 3.5 blog post.
petejohanson Jan 15, 2024
09e67f6
refactor(display): Move to proper SPI ready API.
petejohanson Feb 5, 2024
fbdf4b0
fix(display): Tweaks to memory Kconfig settings.
petejohanson Feb 5, 2024
eba2555
chore(docs): Update Zephyr links to 3.5.0 versions.
petejohanson Feb 7, 2024
b404983
fix(pm): Tweaks for deep sleep/PM.
petejohanson Feb 8, 2024
7561a66
fix(pm): Restore sleep suspension of devices.
petejohanson Feb 9, 2024
31c673d
fix(docs): More Zephyr docs link updates.
petejohanson Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
@@ -1,4 +1,4 @@
FROM docker.io/zmkfirmware/zmk-dev-arm:3.2
FROM docker.io/zmkfirmware/zmk-dev-arm:3.5

COPY .bashrc tmp
RUN mv /tmp/.bashrc ~/.bashrc
4 changes: 2 additions & 2 deletions .github/workflows/ble-test.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:3.2
image: docker.io/zmkfirmware/zmk-build-arm:3.5
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
run: make everything
- name: Test ${{ matrix.test }}
working-directory: app
run: BSIM_COMPONENTS_PATH="${GITHUB_WORKSPACE}/tools/bsim/components/" BSIM_OUT_PATH="${GITHUB_WORKSPACE}/tools/bsim/" ./run-ble-test.sh tests/ble/${{ matrix.test }}
run: BSIM_COMPONENTS_PATH="${GITHUB_WORKSPACE}/tools/bsim/components" BSIM_OUT_PATH="${GITHUB_WORKSPACE}/tools/bsim" ./run-ble-test.sh tests/ble/${{ matrix.test }}
- name: Archive artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:3.2
image: docker.io/zmkfirmware/zmk-build-arm:3.5
needs: compile-matrix
strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hardware-metadata-validation.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
validate-metadata:
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-dev-arm:3.2
image: docker.io/zmkfirmware/zmk-dev-arm:3.5
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
test: ${{ fromJSON(needs.collect-tests.outputs.test-dirs) }}
runs-on: ubuntu-latest
container:
image: docker.io/zmkfirmware/zmk-build-arm:3.2
image: docker.io/zmkfirmware/zmk-build-arm:3.5
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
7 changes: 7 additions & 0 deletions app/CMakeLists.txt
Expand Up @@ -8,9 +8,16 @@ set(ZEPHYR_EXTRA_MODULES "${ZMK_EXTRA_MODULES};${CMAKE_CURRENT_SOURCE_DIR}/modul
find_package(Zephyr REQUIRED HINTS ../zephyr)
project(zmk)

if(CONFIG_ZMK_SLEEP)
zephyr_linker_sources(SECTIONS include/linker/zmk-pm-devices.ld)
endif()

zephyr_linker_sources(SECTIONS include/linker/zmk-behaviors.ld)
zephyr_linker_sources(RODATA include/linker/zmk-events.ld)

zephyr_syscall_header(${APPLICATION_SOURCE_DIR}/include/drivers/behavior.h)
zephyr_syscall_header(${APPLICATION_SOURCE_DIR}/include/drivers/ext_power.h)

# Add your source file to the "app" target. This must come after
# find_package(Zephyr) which defines the target.
target_include_directories(app PRIVATE include)
Expand Down
21 changes: 13 additions & 8 deletions app/Kconfig
Expand Up @@ -37,6 +37,17 @@ config BT_DIS_MODEL
config BT_DIS_MANUF
default "ZMK Project"

# Hardware specific overrides

if SOC_SERIES_NRF52X

# Default on for our usage until boards implement retained bootmode.
config NRF_STORE_REBOOT_TYPE_GPREGRET
bool
default y

endif

menu "HID"

choice ZMK_HID_REPORT_TYPE
Expand Down Expand Up @@ -172,11 +183,6 @@ config ZMK_BLE_PASSKEY_ENTRY
config BT_SMP_ALLOW_UNAUTH_OVERWRITE
imply ZMK_BLE_PASSKEY_ENTRY

choice BT_LL_SW_LLCP_IMPL
default BT_LL_SW_LLCP_LEGACY if !ZMK_BLE_EXPERIMENTAL_CONN

endchoice

config BT_CTLR_PHY_2M
default n if ZMK_BLE_EXPERIMENTAL_CONN

Expand Down Expand Up @@ -387,6 +393,8 @@ config ZMK_IDLE_TIMEOUT

config ZMK_SLEEP
bool "Enable deep sleep support"
depends on HAS_POWEROFF
select POWEROFF
imply USB

if ZMK_SLEEP
Expand Down Expand Up @@ -594,9 +602,6 @@ endmenu
#ZMK
endmenu

config HEAP_MEM_POOL_SIZE
default 8192 if ZMK_DISPLAY

config KERNEL_BIN_NAME
default "zmk"

Expand Down
1 change: 1 addition & 0 deletions app/boards/arm/adv360pro/board.cmake
Expand Up @@ -5,4 +5,5 @@

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")

include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
2 changes: 1 addition & 1 deletion app/boards/arm/bluemicro840/board.cmake
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
2 changes: 1 addition & 1 deletion app/boards/arm/bt60/board.cmake
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
12 changes: 0 additions & 12 deletions app/boards/arm/bt60/bt60.dtsi
Expand Up @@ -70,18 +70,6 @@
status = "okay";
};

&i2c0 {
compatible = "nordic,nrf-twi";
sda-pin = <17>;
scl-pin = <20>;
};

&uart0 {
compatible = "nordic,nrf-uarte";
tx-pin = <6>;
rx-pin = <8>;
};

&usbd {
status = "okay";
cdc_acm_uart: cdc_acm_uart {
Expand Down
1 change: 1 addition & 0 deletions app/boards/arm/ckp/board.cmake
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
7 changes: 7 additions & 0 deletions app/boards/arm/corneish_zen/Kconfig.defconfig
Expand Up @@ -57,6 +57,13 @@ config IL0323
config ZMK_DISPLAY_BLANK_ON_IDLE
default n

# Needed for the IL0323 driver which allocs memory to clear the display
config HEAP_MEM_POOL_SIZE
default 1024

config LV_Z_MEM_POOL_SIZE
default 4096

endif # ZMK_DISPLAY

menuconfig CUSTOM_WIDGET_BATTERY_STATUS
Expand Down
2 changes: 1 addition & 1 deletion app/boards/arm/corneish_zen/board.cmake
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
2 changes: 1 addition & 1 deletion app/boards/arm/corneish_zen/corneish_zen_v1_left_defconfig
Expand Up @@ -44,7 +44,7 @@ CONFIG_ZMK_BLE=y

# enable display drivers
CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=2048
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=4096
CONFIG_LV_Z_BITS_PER_PIXEL=1
CONFIG_LV_COLOR_DEPTH_1=y
CONFIG_LV_DPI_DEF=145
Expand Down
Expand Up @@ -44,7 +44,7 @@ CONFIG_ZMK_BLE=y

# enable display drivers
CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=2048
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=4096
CONFIG_LV_Z_BITS_PER_PIXEL=1
CONFIG_LV_COLOR_DEPTH_1=y
CONFIG_LV_DPI_DEF=145
Expand Down
2 changes: 1 addition & 1 deletion app/boards/arm/corneish_zen/corneish_zen_v2_left_defconfig
Expand Up @@ -40,7 +40,7 @@ CONFIG_ZMK_BLE=y

# enable display drivers
CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=2048
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=4096
CONFIG_LV_Z_BITS_PER_PIXEL=1
CONFIG_LV_COLOR_DEPTH_1=y
CONFIG_LV_DPI_DEF=145
Expand Down
Expand Up @@ -40,7 +40,7 @@ CONFIG_ZMK_BLE=y

# enable display drivers
CONFIG_ZMK_DISPLAY_WORK_QUEUE_DEDICATED=y
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=2048
CONFIG_ZMK_DISPLAY_DEDICATED_THREAD_STACK_SIZE=4096
CONFIG_LV_Z_BITS_PER_PIXEL=1
CONFIG_LV_COLOR_DEPTH_1=y
CONFIG_LV_DPI_DEF=145
Expand Down
3 changes: 0 additions & 3 deletions app/boards/arm/dz60rgb/dz60rgb_rev1_defconfig
Expand Up @@ -5,9 +5,6 @@ CONFIG_SOC_STM32F303XC=y
# 72MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=72000000

# enable pinmux
CONFIG_PINMUX=y

# enable GPIO
CONFIG_GPIO=y

Expand Down
2 changes: 1 addition & 1 deletion app/boards/arm/ferris/ferris_rev02_defconfig
Expand Up @@ -6,7 +6,7 @@ CONFIG_SOC_STM32F072XB=y
# 48MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=48000000

# enable PINMUX
# enable PINCTRL
CONFIG_PINCTRL=y

# enable GPIO
Expand Down
2 changes: 1 addition & 1 deletion app/boards/arm/glove80/board.cmake
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
5 changes: 1 addition & 4 deletions app/boards/arm/mikoto/CMakeLists.txt
@@ -1,6 +1,3 @@

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
3 changes: 0 additions & 3 deletions app/boards/arm/mikoto/Kconfig.defconfig
Expand Up @@ -21,9 +21,6 @@ endif # USB
config BT_CTLR
default BT

config PINMUX
default y

choice BOARD_MIKOTO_CHARGER_CURRENT
default BOARD_MIKOTO_CHARGER_CURRENT_100MA
endchoice
Expand Down
2 changes: 1 addition & 1 deletion app/boards/arm/mikoto/board.cmake
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
3 changes: 1 addition & 2 deletions app/boards/arm/mikoto/pinmux.c
Expand Up @@ -11,8 +11,7 @@
#include <zephyr/sys/sys_io.h>
#include <zephyr/devicetree.h>

static int pinmux_mikoto_init(const struct device *port) {
ARG_UNUSED(port);
static int pinmux_mikoto_init(void) {

#if CONFIG_BOARD_MIKOTO_520
const struct device *p0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
Expand Down
1 change: 1 addition & 0 deletions app/boards/arm/nice60/board.cmake
Expand Up @@ -3,5 +3,6 @@

set(OPENOCD_NRF5_SUBFAMILY nrf52)
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
2 changes: 1 addition & 1 deletion app/boards/arm/nice_nano/board.cmake
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
5 changes: 1 addition & 4 deletions app/boards/arm/nrfmicro/CMakeLists.txt
@@ -1,6 +1,3 @@

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
3 changes: 0 additions & 3 deletions app/boards/arm/nrfmicro/Kconfig.defconfig
Expand Up @@ -18,9 +18,6 @@ endif # USB_DEVICE_STACK
config BT_CTLR
default BT

config PINMUX
default y

if BOARD_NRFMICRO_13 || BOARD_NRFMICRO_13_52833

config BOARD_NRFMICRO_CHARGER
Expand Down
2 changes: 1 addition & 1 deletion app/boards/arm/nrfmicro/board.cmake
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
4 changes: 1 addition & 3 deletions app/boards/arm/nrfmicro/pinmux.c
Expand Up @@ -11,9 +11,7 @@
#include <zephyr/sys/sys_io.h>
#include <zephyr/devicetree.h>

static int pinmux_nrfmicro_init(const struct device *port) {
ARG_UNUSED(port);

static int pinmux_nrfmicro_init(void) {
#if (CONFIG_BOARD_NRFMICRO_13 || CONFIG_BOARD_NRFMICRO_13_52833)
const struct device *p0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
#if CONFIG_BOARD_NRFMICRO_CHARGER
Expand Down
1 change: 1 addition & 0 deletions app/boards/arm/pillbug/board.cmake
Expand Up @@ -2,5 +2,6 @@

set(OPENOCD_NRF5_SUBFAMILY nrf52)
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
3 changes: 0 additions & 3 deletions app/boards/arm/planck/planck_rev6_defconfig
Expand Up @@ -5,9 +5,6 @@ CONFIG_SOC_STM32F303XC=y
# 72MHz system clock
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=72000000


# enable pinmux
CONFIG_PINMUX=y
CONFIG_PINCTRL=y

# enable GPIO
Expand Down
5 changes: 1 addition & 4 deletions app/boards/arm/puchi_ble/CMakeLists.txt
@@ -1,6 +1,3 @@

if(CONFIG_PINMUX)
zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
endif()
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
3 changes: 0 additions & 3 deletions app/boards/arm/puchi_ble/Kconfig.defconfig
Expand Up @@ -16,7 +16,4 @@ endif # USB_DEVICE_STACK
config BT_CTLR
default BT

config PINMUX
default y

endif # BOARD_PUCHI_BLE_v1
2 changes: 1 addition & 1 deletion app/boards/arm/puchi_ble/board.cmake
Expand Up @@ -2,5 +2,5 @@
# SPDX-License-Identifier: MIT

board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
4 changes: 1 addition & 3 deletions app/boards/arm/puchi_ble/pinmux.c
Expand Up @@ -11,9 +11,7 @@
#include <zephyr/sys/sys_io.h>
#include <zephyr/devicetree.h>

static int pinmux_puchi_ble_init(const struct device *port) {
ARG_UNUSED(port);

static int pinmux_puchi_ble_init(void) {
#if CONFIG_BOARD_PUCHI_BLE_v1
const struct device *p0 = DEVICE_DT_GET(DT_NODELABEL(gpio0));
#if CONFIG_BOARD_PUCHI_BLE_CHARGER
Expand Down
1 change: 1 addition & 0 deletions app/boards/arm/s40nc/board.cmake
Expand Up @@ -3,5 +3,6 @@

set(OPENOCD_NRF5_SUBFAMILY nrf52)
board_runner_args(nrfjprog "--nrf-family=NRF52" "--softreset")
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)