boards: arm: beagleconnect_freedom: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
@@ -4,10 +4,6 @@
|
|||||||
# Copyright (c) 2021 Jason Kridner, BeagleBoard.org Foundation
|
# Copyright (c) 2021 Jason Kridner, BeagleBoard.org Foundation
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
config BOARD_BEAGLECONNECT_FREEDOM
|
|
||||||
bool "BeagleConnect Freedom"
|
|
||||||
depends on SOC_CC1352P7
|
|
||||||
|
|
||||||
if BOARD_BEAGLECONNECT_FREEDOM
|
if BOARD_BEAGLECONNECT_FREEDOM
|
||||||
|
|
||||||
config BOARD_ANTENNA_INIT_PRIO
|
config BOARD_ANTENNA_INIT_PRIO
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# BeagleConnect Freedom board configuration
|
||||||
|
|
||||||
|
# Copyright (c) 2020 Erik Larson
|
||||||
|
# Copyright (c) 2021 Jason Kridner, BeagleBoard.org Foundation
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
config BOARD_BEAGLECONNECT_FREEDOM
|
||||||
|
select SOC_CC1352P7
|
||||||
@@ -8,9 +8,6 @@
|
|||||||
CONFIG_GPIO=y
|
CONFIG_GPIO=y
|
||||||
CONFIG_PINCTRL=y
|
CONFIG_PINCTRL=y
|
||||||
|
|
||||||
CONFIG_SOC_SERIES_CC13X2X7_CC26X2X7=y
|
|
||||||
CONFIG_SOC_CC1352P7=y
|
|
||||||
CONFIG_BOARD_BEAGLECONNECT_FREEDOM=y
|
|
||||||
CONFIG_BUILD_OUTPUT_HEX=y
|
CONFIG_BUILD_OUTPUT_HEX=y
|
||||||
# custom callback for the antenna switch
|
# custom callback for the antenna switch
|
||||||
CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS=y
|
CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS=y
|
||||||
5
boards/beagleboard/beagleconnect_freedom/board.yml
Normal file
5
boards/beagleboard/beagleconnect_freedom/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: beagleconnect_freedom
|
||||||
|
vendor: BeagleBoard
|
||||||
|
socs:
|
||||||
|
- name: cc1352p7
|
||||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
@@ -1,12 +0,0 @@
|
|||||||
# BeagleConnect Freedom board configuration
|
|
||||||
|
|
||||||
# Copyright (c) 2020 Erik Larson
|
|
||||||
# Copyright (c) 2020 Jason Kridner, BeagleBoard.org Foundation
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
if BOARD_BEAGLECONNECT_FREEDOM
|
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "beagleconnect_freedom"
|
|
||||||
|
|
||||||
endif # BOARD_BEAGLECONNECT_FREEDOM
|
|
||||||
Reference in New Issue
Block a user