boards: arm: cc3235sf_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 CC3235SF LaunchXL board configuration
|
||||
|
||||
# Copyright (c) 2019, Texas Instruments Incorporated
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_CC3235SF_LAUNCHXL
|
||||
|
||||
config BOARD
|
||||
default "cc3235sf_launchxl"
|
||||
|
||||
endif # BOARD_CC3235SF_LAUNCHXL
|
||||
@@ -1,17 +0,0 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_BOARD_CC3235SF_LAUNCHXL=y
|
||||
CONFIG_SOC_SERIES_CC32XX=y
|
||||
CONFIG_SOC_CC3235SF=y
|
||||
CONFIG_BUILD_OUTPUT_HEX=y
|
||||
|
||||
|
||||
#enable GPIO driver
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# enable uart driver
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
# enable console
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
@@ -1,8 +1,6 @@
|
||||
# TI SimpleLink CC3235SF LaunchXL Board
|
||||
|
||||
# Copyright (c) 2019, Texas Instruments Incorporated
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_CC3235SF_LAUNCHXL
|
||||
bool "TI CC3235SF LAUNCHXL"
|
||||
depends on SOC_CC3235SF
|
||||
select SOC_CC3235SF
|
||||
5
boards/ti/cc3235sf_launchxl/board.yml
Normal file
5
boards/ti/cc3235sf_launchxl/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: cc3235sf_launchxl
|
||||
vendor: Texas Instruments
|
||||
socs:
|
||||
- name: cc3235sf
|
||||
13
boards/ti/cc3235sf_launchxl/cc3235sf_launchxl_defconfig
Normal file
13
boards/ti/cc3235sf_launchxl/cc3235sf_launchxl_defconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_BUILD_OUTPUT_HEX=y
|
||||
|
||||
# Enable GPIO driver
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# Enable UART driver
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
# Enable console
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
@@ -75,7 +75,7 @@ Connections and IOs
|
||||
====================
|
||||
|
||||
Peripherals on the CC3235SF LaunchXL are mapped to the following pins in
|
||||
the file :zephyr_file:`boards/arm/cc3235sf_launchxl/pinmux.c`.
|
||||
the file :zephyr_file:`boards/ti/cc3235sf_launchxl/pinmux.c`.
|
||||
|
||||
+------------+-------+-------+
|
||||
| Function | PIN | GPIO |
|
||||
@@ -96,7 +96,7 @@ the file :zephyr_file:`boards/arm/cc3235sf_launchxl/pinmux.c`.
|
||||
+------------+-------+-------+
|
||||
|
||||
The default configuration can be found in the Kconfig file at
|
||||
:zephyr_file:`boards/arm/cc3235sf_launchxl/cc3235sf_launchxl_defconfig`.
|
||||
:zephyr_file:`boards/ti/cc3235sf_launchxl/cc3235sf_launchxl_defconfig`.
|
||||
|
||||
|
||||
Programming and Debugging
|
||||
@@ -168,7 +168,7 @@ Prerequisites:
|
||||
the one in the Zephyr SDK. If for some reason you wish to continue to use
|
||||
your TI OpenOCD installation, you can set the OPENOCD and
|
||||
OPENOCD_DEFAULT_PATH variables in
|
||||
:zephyr_file:`boards/arm/cc3220sf_launchxl/board.cmake` to point the build
|
||||
:zephyr_file:`boards/ti/cc3220sf_launchxl/board.cmake` to point the build
|
||||
to the paths of the OpenOCD binary and its scripts, before
|
||||
including the common openocd.board.cmake file:
|
||||
|
||||
Reference in New Issue
Block a user