Browse Source

boards: arm: cc3235sf_launchxl: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 1 year ago
parent
commit
28f3f25945
  1. 11
      boards/boards_legacy/arm/cc3235sf_launchxl/Kconfig.defconfig
  2. 17
      boards/boards_legacy/arm/cc3235sf_launchxl/cc3235sf_launchxl_defconfig
  3. 0
      boards/ti/cc3235sf_launchxl/CMakeLists.txt
  4. 4
      boards/ti/cc3235sf_launchxl/Kconfig.cc3235sf_launchxl
  5. 0
      boards/ti/cc3235sf_launchxl/board.cmake
  6. 5
      boards/ti/cc3235sf_launchxl/board.yml
  7. 0
      boards/ti/cc3235sf_launchxl/cc3235sf_launchxl-pinctrl.dtsi
  8. 0
      boards/ti/cc3235sf_launchxl/cc3235sf_launchxl.dts
  9. 0
      boards/ti/cc3235sf_launchxl/cc3235sf_launchxl.yaml
  10. 13
      boards/ti/cc3235sf_launchxl/cc3235sf_launchxl_defconfig
  11. 0
      boards/ti/cc3235sf_launchxl/dbghdr.c
  12. 6
      boards/ti/cc3235sf_launchxl/doc/index.rst
  13. 0
      boards/ti/cc3235sf_launchxl/support/openocd.cfg

11
boards/boards_legacy/arm/cc3235sf_launchxl/Kconfig.defconfig

@ -1,11 +0,0 @@ @@ -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

17
boards/boards_legacy/arm/cc3235sf_launchxl/cc3235sf_launchxl_defconfig

@ -1,17 +0,0 @@ @@ -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

0
boards/boards_legacy/arm/cc3235sf_launchxl/CMakeLists.txt → boards/ti/cc3235sf_launchxl/CMakeLists.txt

4
boards/boards_legacy/arm/cc3235sf_launchxl/Kconfig.board → boards/ti/cc3235sf_launchxl/Kconfig.cc3235sf_launchxl

@ -1,8 +1,6 @@ @@ -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

0
boards/boards_legacy/arm/cc3235sf_launchxl/board.cmake → boards/ti/cc3235sf_launchxl/board.cmake

5
boards/ti/cc3235sf_launchxl/board.yml

@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
board:
name: cc3235sf_launchxl
vendor: Texas Instruments
socs:
- name: cc3235sf

0
boards/boards_legacy/arm/cc3235sf_launchxl/cc3235sf_launchxl-pinctrl.dtsi → boards/ti/cc3235sf_launchxl/cc3235sf_launchxl-pinctrl.dtsi

0
boards/boards_legacy/arm/cc3235sf_launchxl/cc3235sf_launchxl.dts → boards/ti/cc3235sf_launchxl/cc3235sf_launchxl.dts

0
boards/boards_legacy/arm/cc3235sf_launchxl/cc3235sf_launchxl.yaml → boards/ti/cc3235sf_launchxl/cc3235sf_launchxl.yaml

13
boards/ti/cc3235sf_launchxl/cc3235sf_launchxl_defconfig

@ -0,0 +1,13 @@ @@ -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

0
boards/boards_legacy/arm/cc3235sf_launchxl/dbghdr.c → boards/ti/cc3235sf_launchxl/dbghdr.c

6
boards/boards_legacy/arm/cc3235sf_launchxl/doc/index.rst → boards/ti/cc3235sf_launchxl/doc/index.rst

@ -75,7 +75,7 @@ Connections and IOs @@ -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`. @@ -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: @@ -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:

0
boards/boards_legacy/arm/cc3235sf_launchxl/support/openocd.cfg → boards/ti/cc3235sf_launchxl/support/openocd.cfg

Loading…
Cancel
Save