boards: arm: arduino_nano_33_ble: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-02 11:38:00 +00:00
committed by Carles Cufi
parent 4fee7371d2
commit 3d33dadeb0
23 changed files with 25 additions and 35 deletions

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2020 Jefferson Lee.
# SPDX-License-Identifier: Apache-2.0
config BOARD_ARDUINO_NANO_33_BLE
select SOC_NRF52840_QIAA

View File

@@ -0,0 +1,12 @@
# Copyright (c) 2020 Jefferson Lee.
# SPDX-License-Identifier: Apache-2.0
if BOARD_ARDUINO_NANO_33_BLE
config BT_CTLR
default BT
config REGULATOR
default y if SENSOR
endif # BOARD_ARDUINO_NANO_33_BLE

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_ARDUINO_NANO_33_BLE=y
# Enable MPU
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y

View File

@@ -1,4 +1,4 @@
identifier: arduino_nano_33_ble_sense
identifier: arduino_nano_33_ble//sense
name: Arduino Nano 33 BLE Sense
type: mcu
arch: arm

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF52X=y
CONFIG_SOC_NRF52840_QIAA=y
CONFIG_BOARD_ARDUINO_NANO_33_BLE_SENSE=y
# Enable MPU
CONFIG_ARM_MPU=y
CONFIG_HW_STACK_PROTECTION=y

View File

@@ -0,0 +1,7 @@
board:
name: arduino_nano_33_ble
vendor: Arduino
socs:
- name: nrf52840
variants:
- name: 'sense'

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -1,10 +0,0 @@
# Copyright (c) 2020 Jefferson Lee.
# SPDX-License-Identifier: Apache-2.0
config BOARD_ARDUINO_NANO_33_BLE
bool "Arduino Nano 33 BLE board"
depends on SOC_NRF52840_QIAA
config BOARD_ARDUINO_NANO_33_BLE_SENSE
bool "Arduino Nano 33 BLE Sense board"
depends on SOC_NRF52840_QIAA

View File

@@ -1,16 +0,0 @@
# Copyright (c) 2020 Jefferson Lee.
# SPDX-License-Identifier: Apache-2.0
if BOARD_ARDUINO_NANO_33_BLE || BOARD_ARDUINO_NANO_33_BLE_SENSE
config BOARD
default "arduino_nano_33_ble" if BOARD_ARDUINO_NANO_33_BLE
default "arduino_nano_33_ble_sense" if BOARD_ARDUINO_NANO_33_BLE_SENSE
config BT_CTLR
default BT
config REGULATOR
default y if SENSOR
endif # BOARD_ARDUINO_NANO_33_BLE || BOARD_ARDUINO_NANO_33_BLE_SENSE