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:
committed by
Carles Cufi
parent
1952d559f2
commit
ee1ce24a42
@@ -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
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_BBC_MICROBIT
|
||||
|
||||
config BOARD
|
||||
default "bbc_microbit"
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
@@ -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
|
||||
3
boards/bbc/bbc_microbit/board.yml
Normal file
3
boards/bbc/bbc_microbit/board.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
board:
|
||||
name: bbc_microbit
|
||||
vendor: BBC
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -2,4 +2,4 @@ board:
|
||||
name: bbc_microbit_v2
|
||||
vendor: BBC
|
||||
socs:
|
||||
- name: nrf51822
|
||||
- name: nrf52833
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
board:
|
||||
name: rm1xx_dvk
|
||||
vendor: Laird Connectivity
|
||||
socs:
|
||||
- name: nrf51822
|
||||
|
||||
Reference in New Issue
Block a user