boards: arm: nrf51dongle_nrf51422: 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
0ffbc1da33
commit
9e12c3d8bd
@@ -3,12 +3,9 @@
|
||||
# Copyright (c) 2018-2020 Nordic Semiconductor ASA.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_NRF51DONGLE_NRF51422
|
||||
|
||||
config BOARD
|
||||
default "nrf51dongle_nrf51422"
|
||||
if BOARD_NRF51DONGLE
|
||||
|
||||
config BT_CTLR
|
||||
default BT
|
||||
|
||||
endif # BOARD_NRF51DONGLE_NRF51422
|
||||
endif # BOARD_NRF51DONGLE
|
||||
@@ -3,6 +3,5 @@
|
||||
# Copyright (c) 2018 Nordic Semiconductor ASA.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NRF51DONGLE_NRF51422
|
||||
bool "nRF51 Dongle NRF51422"
|
||||
depends on SOC_NRF51822_QFAC
|
||||
config BOARD_NRF51DONGLE
|
||||
select SOC_NRF51822_QFAC
|
||||
5
boards/nordic_nrf/nrf51dongle/board.yml
Normal file
5
boards/nordic_nrf/nrf51dongle/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nrf51dongle
|
||||
vendor: Nordic Semiconductor
|
||||
socs:
|
||||
- name: nrf51422
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
@@ -120,7 +120,7 @@ Then build and flash the application in the usual way.
|
||||
|
||||
.. zephyr-app-commands::
|
||||
:zephyr-app: samples/hello_world
|
||||
:board: nrf51dongle_nrf51422
|
||||
:board: nrf51dongle/nrf51422
|
||||
:goals: build flash
|
||||
|
||||
Debugging
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: nrf51dongle_nrf51422
|
||||
identifier: nrf51dongle/nrf51422
|
||||
name: nRF51-Dongle-nRF51422
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -1,9 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_NRF51X=y
|
||||
CONFIG_SOC_NRF51822_QFAC=y
|
||||
CONFIG_BOARD_NRF51DONGLE_NRF51422=y
|
||||
|
||||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
||||
Reference in New Issue
Block a user