Browse Source
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>pull/69687/head
29 changed files with 74 additions and 94 deletions
@ -1,7 +0,0 @@
@@ -1,7 +0,0 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if ((CONFIG_BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP OR CONFIG_BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP_NS) |
||||
AND CONFIG_BOARD_ENABLE_CPUNET) |
||||
zephyr_library() |
||||
zephyr_library_sources(raytac_mdbt53v_db_40_nrf5340_cpunet_reset.c) |
||||
endif() |
@ -1,18 +0,0 @@
@@ -1,18 +0,0 @@
|
||||
# Raytac MDBT53-DB-40 NRF5340 board configuration |
||||
|
||||
# Copyright (c) 2019-2020 Nordic Semiconductor ASA |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if SOC_NRF5340_CPUAPP_QKAA |
||||
|
||||
config BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP |
||||
bool "Raytac MDBT53V-DB-40 nRF5340 Application MCU" |
||||
|
||||
config BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP_NS |
||||
bool "Raytac MDBT53V-DB-40 nRF5340 Application MCU non-secure" |
||||
|
||||
endif # SOC_NRF5340_CPUAPP_QKAA |
||||
|
||||
config BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUNET |
||||
bool "Raytac MDBT53V-DB-40 NRF5340 Network MCU" |
||||
depends on SOC_NRF5340_CPUNET_QKAA |
@ -1,27 +0,0 @@
@@ -1,27 +0,0 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_SOC_SERIES_NRF53X=y |
||||
CONFIG_SOC_NRF5340_CPUAPP_QKAA=y |
||||
CONFIG_BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP_NS=y |
||||
|
||||
# Enable MPU |
||||
CONFIG_ARM_MPU=y |
||||
|
||||
# Enable hardware stack protection |
||||
CONFIG_HW_STACK_PROTECTION=y |
||||
|
||||
# Enable TrustZone-M |
||||
CONFIG_ARM_TRUSTZONE_M=y |
||||
|
||||
# This Board implies building Non-Secure firmware |
||||
CONFIG_TRUSTED_EXECUTION_NONSECURE=y |
||||
|
||||
# enable GPIO |
||||
CONFIG_GPIO=y |
||||
|
||||
# Enable uart driver |
||||
CONFIG_SERIAL=y |
||||
|
||||
# enable console |
||||
CONFIG_CONSOLE=y |
||||
CONFIG_UART_CONSOLE=y |
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
if((CONFIG_BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP OR CONFIG_BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP_NS) |
||||
AND CONFIG_BOARD_ENABLE_CPUNET) |
||||
zephyr_library() |
||||
zephyr_library_sources(raytac_mdbt53v_db_40_nrf5340_cpunet_reset.c) |
||||
endif() |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
# Raytac MDBT53-DB-40 NRF5340 board configuration |
||||
|
||||
# Copyright (c) 2019-2020 Nordic Semiconductor ASA |
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
config BOARD_RAYTAC_MDBT53V_DB_40 |
||||
select SOC_NRF5340_CPUAPP_QKAA if BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP |
||||
select SOC_NRF5340_CPUAPP_QKAA if BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUAPP_NS |
||||
select SOC_NRF5340_CPUNET_QKAA if BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUNET |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
board: |
||||
name: raytac_mdbt53v_db_40 |
||||
vendor: Raytac Corporation |
||||
socs: |
||||
- name: 'nrf5340' |
||||
variants: |
||||
- name: 'ns' |
||||
cpucluster: 'cpuapp' |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
identifier: raytac_mdbt53v_db_40_nrf5340_cpuapp |
||||
identifier: raytac_mdbt53v_db_40/nrf5340/cpuapp |
||||
name: RAYTAC-MDBT53V-DB-40-NRF5340-application-MCU |
||||
type: mcu |
||||
arch: arm |
@ -1,21 +1,20 @@
@@ -1,21 +1,20 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
CONFIG_SOC_SERIES_NRF53X=y |
||||
CONFIG_SOC_NRF5340_CPUNET_QKAA=y |
||||
CONFIG_BOARD_RAYTAC_MDBT53V_DB_40_NRF5340_CPUNET=y |
||||
|
||||
# Enable MPU |
||||
CONFIG_ARM_MPU=y |
||||
|
||||
# Enable hardware stack protection |
||||
CONFIG_HW_STACK_PROTECTION=y |
||||
|
||||
# enable GPIO |
||||
# Enable TrustZone-M |
||||
CONFIG_ARM_TRUSTZONE_M=y |
||||
|
||||
# Enable GPIO |
||||
CONFIG_GPIO=y |
||||
|
||||
# Enable uart driver |
||||
# Enable UART driver |
||||
CONFIG_SERIAL=y |
||||
|
||||
# enable console |
||||
# Enable console |
||||
CONFIG_CONSOLE=y |
||||
CONFIG_UART_CONSOLE=y |
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
identifier: raytac_mdbt53v_db_40_nrf5340_cpuapp_ns |
||||
identifier: raytac_mdbt53v_db_40/nrf5340/cpuapp/ns |
||||
name: RAYTAC-MDBT53V-DB-40-NRF52840-application-MCU-Non-Secure |
||||
type: mcu |
||||
arch: arm |
@ -0,0 +1,17 @@
@@ -0,0 +1,17 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
||||
|
||||
# Enable MPU |
||||
CONFIG_ARM_MPU=y |
||||
|
||||
# Enable hardware stack protection |
||||
CONFIG_HW_STACK_PROTECTION=y |
||||
|
||||
# Enable GPIO |
||||
CONFIG_GPIO=y |
||||
|
||||
# Enable UART driver |
||||
CONFIG_SERIAL=y |
||||
|
||||
# Enable console |
||||
CONFIG_CONSOLE=y |
||||
CONFIG_UART_CONSOLE=y |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
# SPDX-License-Identifier: Apache-2.0 |
Loading…
Reference in new issue