boards: arm: bbc_microbit: 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:12 +00:00
committed by Carles Cufi
parent 1952d559f2
commit ee1ce24a42
14 changed files with 11 additions and 14 deletions

View File

@@ -4,5 +4,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_BBC_MICROBIT
bool "BBC MICRO:BIT"
depends on SOC_NRF51822_QFAA
select SOC_NRF51822_QFAA

View File

@@ -5,9 +5,6 @@
if BOARD_BBC_MICROBIT
config BOARD
default "bbc_microbit"
config BT_CTLR
default BT

View File

@@ -1,19 +1,15 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_NRF51X=y
CONFIG_SOC_NRF51822_QFAA=y
CONFIG_BOARD_BBC_MICROBIT=y
# enable GPIO
# Enable GPIO
CONFIG_GPIO=y
# clock control
# Clock control
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y
# enable uart driver
# Enable uart driver
CONFIG_SERIAL=y
# enable console
# Enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

View File

@@ -0,0 +1,3 @@
board:
name: bbc_microbit
vendor: BBC

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -2,4 +2,4 @@ board:
name: bbc_microbit_v2
vendor: BBC
socs:
- name: nrf51822
- name: nrf52833

View File

@@ -1,3 +1,5 @@
board:
name: rm1xx_dvk
vendor: Laird Connectivity
socs:
- name: nrf51822