boards: arm: nrf51_ble400: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
@@ -1,3 +1,5 @@
|
||||
board:
|
||||
name: contextualelectronics_abc
|
||||
vendor: Contextual Electronics
|
||||
socs:
|
||||
- name: nrf52840
|
||||
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_NRF51_BLE400
|
||||
|
||||
config BOARD
|
||||
default "nrf51_ble400"
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
@@ -4,5 +4,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NRF51_BLE400
|
||||
bool "nRF51 BLE400"
|
||||
depends on SOC_NRF51822_QFAC
|
||||
select SOC_NRF51822_QFAC
|
||||
3
boards/waveshare/nrf51_ble400/board.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
board:
|
||||
name: nrf51_ble400
|
||||
vendor: Waveshare
|
||||
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
@@ -206,7 +206,7 @@ the board are working properly with Zephyr:
|
||||
|
||||
You can build and flash the examples to make sure Zephyr is running correctly on
|
||||
your board. The button and LED definitions can be found in
|
||||
:zephyr_file:`boards/arm/nrf51_ble400/nrf51_ble400.dts`.
|
||||
:zephyr_file:`boards/waveshare/nrf51_ble400/nrf51_ble400.dts`.
|
||||
|
||||
References
|
||||
**********
|
||||
@@ -1,9 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_NRF51X=y
|
||||
CONFIG_SOC_NRF51822_QFAC=y
|
||||
CONFIG_BOARD_NRF51_BLE400=y
|
||||
|
||||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
||||