boards: arm: cc1352p1_launchxl: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
# TI CC1352P1 LaunchXL board
|
||||
|
||||
# Copyright (c) 2021 Florin Stancu
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_CC1352P1_LAUNCHXL
|
||||
|
||||
config BOARD
|
||||
default "cc1352p1_launchxl"
|
||||
|
||||
endif # BOARD_CC1352P1_LAUNCHXL
|
||||
@@ -1,6 +1,4 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
zephyr_library()
|
||||
zephyr_library_sources(
|
||||
board_antenna.c
|
||||
)
|
||||
zephyr_library_sources(board_antenna.c)
|
||||
@@ -3,10 +3,6 @@
|
||||
# Copyright (c) 2021 Florin Stancu
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_CC1352P1_LAUNCHXL
|
||||
bool "TI CC1352P1 LaunchXL"
|
||||
depends on SOC_CC1352P
|
||||
|
||||
if BOARD_CC1352P1_LAUNCHXL
|
||||
|
||||
config BOARD_ANTENNA_INIT_PRIO
|
||||
7
boards/ti/cc1352p1_launchxl/Kconfig.cc1352p1_launchxl
Normal file
7
boards/ti/cc1352p1_launchxl/Kconfig.cc1352p1_launchxl
Normal file
@@ -0,0 +1,7 @@
|
||||
# TI CC1352R LaunchXL board
|
||||
|
||||
# Copyright (c) 2021 Florin Stancu
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_CC1352P1_LAUNCHXL
|
||||
select SOC_CC1352P
|
||||
5
boards/ti/cc1352p1_launchxl/board.yml
Normal file
5
boards/ti/cc1352p1_launchxl/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: cc1352p1_launchxl
|
||||
vendor: Texas Instruments
|
||||
socs:
|
||||
- name: cc1352p
|
||||
@@ -4,9 +4,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
CONFIG_SOC_SERIES_CC13X2_CC26X2=y
|
||||
CONFIG_SOC_CC1352P=y
|
||||
CONFIG_BOARD_CC1352P1_LAUNCHXL=y
|
||||
CONFIG_BUILD_OUTPUT_HEX=y
|
||||
# custom callback for the antenna switch
|
||||
CONFIG_CC13X2_CC26X2_HAS_CUSTOM_RF_HWATTRS=y
|
||||
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Reference in New Issue
Block a user