Skip to content

Commit 697588f

Browse files
eivindj-nordicfabiobaltieri
authored andcommitted
boards: nordic: nrf9160dk: Correct board check for nrf52840_reset
With HWMv2 CONFIG_BOARD_NRF9160DK_NRF9160 is not defined when building the non-secure target, so it has to be specified. Signed-off-by: Eivind Jølsgard <[email protected]>
1 parent 2455291 commit 697588f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/nordic/nrf9160dk/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2019 Nordic Semiconductor ASA.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
if(CONFIG_BOARD_NRF9160DK_NRF9160)
4+
if(CONFIG_BOARD_NRF9160DK_NRF9160 OR CONFIG_BOARD_NRF9160DK_NRF9160_NS)
55
zephyr_library()
66
zephyr_library_sources(nrf52840_reset.c)
77
elseif(CONFIG_BOARD_NRF9160DK_NRF52840)

0 commit comments

Comments
 (0)