-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migarte ZSWatch board to Zephyr HW Model V2.
- Loading branch information
Showing
40 changed files
with
196 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (c) 2019 Nordic Semiconductor ASA. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if ((CONFIG_BOARD_ZSWATCH_NRF5340_CPUAPP OR CONFIG_BOARD_ZSWATCH_NRF5340_CPUAPP_NS) | ||
AND CONFIG_BOARD_ENABLE_CPUNET) | ||
zephyr_library() | ||
zephyr_library_sources(nrf5340_cpunet_reset.c) | ||
|
||
if (CONFIG_BUILD_WITH_TFM) | ||
zephyr_library_include_directories( | ||
$<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include | ||
) | ||
endif() | ||
|
||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright (c) 2022 Zephyr Project members and individual contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_ZSWATCH | ||
select SOC_NRF5340_CPUAPP_QKAA if BOARD_ZSWATCH_NRF5340_CPUAPP | ||
select SOC_NRF5340_CPUAPP_QKAA if BOARD_ZSWATCH_NRF5340_CPUAPP_NS | ||
select SOC_NRF5340_CPUNET_QKAA if BOARD_ZSWATCH_NRF5340_CPUNET |
9 changes: 9 additions & 0 deletions
9
app/boards/arm/zswatch_nrf5340/board.cmake → app/boards/jakkra/zswatch/board.cmake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if(CONFIG_BOARD_ZSWATCH_NRF5340_CPUAPP_NS) | ||
set(TFM_PUBLIC_KEY_FORMAT "full") | ||
endif() | ||
|
||
if(CONFIG_BOARD_ZSWATCH_NRF5340_CPUAPP OR CONFIG_BOARD_ZSWATCH_NRF5340_CPUAPP_NS) | ||
board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000") | ||
endif() | ||
|
||
if(CONFIG_TFM_FLASH_MERGED_BINARY) | ||
set_property(TARGET runners_yaml_props_target PROPERTY hex_file tfm_merged.hex) | ||
endif() | ||
|
||
if(CONFIG_BOARD_ZSWATCH_NRF5340_CPUNET) | ||
board_runner_args(jlink "--device=nrf5340_xxaa_net" "--speed=4000") | ||
endif() | ||
|
||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
board: | ||
name: zswatch | ||
vendor: nordic | ||
socs: | ||
- name: 'nrf5340' | ||
variants: | ||
- name: 'ns' | ||
cpucluster: 'cpuapp' | ||
revision: | ||
format: number | ||
default: "5" | ||
exact: false | ||
revisions: | ||
- name: "5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.