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:
Jamie McCrae
2024-02-05 10:43:20 +00:00
parent 719baa8850
commit 76ba9a0587
15 changed files with 13 additions and 21 deletions

View File

@@ -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

View File

@@ -1,6 +1,4 @@
# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_sources(
board_antenna.c
)
zephyr_library_sources(board_antenna.c)

View File

@@ -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

View 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

View File

@@ -0,0 +1,5 @@
board:
name: cc1352p1_launchxl
vendor: Texas Instruments
socs:
- name: cc1352p

View File

@@ -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

View File

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB