boards: arm: am62x_m4: Convert to v2
Converts the board to hwmv2 Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
# Texas Instruments Sitara AM62x-SK-M4 EVM
|
||||
#
|
||||
# Copyright (c) 2023 Texas Instruments Incorporated
|
||||
# Copyright (c) 2023 L Lakshmanan
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_AM62X_M4_SK
|
||||
bool "TI AM62x M4 Starter Kit (SK) Evaluation Module (EVM)"
|
||||
depends on SOC_SERIES_AM62X_M4
|
||||
|
||||
config BOARD_AM62X_M4_PHYBOARD_LYRA
|
||||
bool "PHYTEC AM62x M4 phyBOARD-Lyra"
|
||||
depends on SOC_SERIES_AM62X_M4
|
||||
@@ -1,20 +0,0 @@
|
||||
# Texas Instruments Sitara AM62x-SK-M4 EVM
|
||||
#
|
||||
# Copyright (c) 2023 Texas Instruments Incorporated
|
||||
# Copyright (c) 2023 L Lakshmanan
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_AM62X_M4_SK
|
||||
|
||||
config BOARD
|
||||
default "am62x_m4_sk"
|
||||
|
||||
endif # BOARD_AM62X_M4_SK
|
||||
|
||||
if BOARD_AM62X_M4_PHYBOARD_LYRA
|
||||
|
||||
config BOARD
|
||||
default "am62x_m4_phyboard_lyra"
|
||||
|
||||
endif # BOARD_AM62X_M4_PHYBOARD_LYRA
|
||||
@@ -1,38 +0,0 @@
|
||||
.. _am62x_m4:
|
||||
|
||||
AM62x M4F Core
|
||||
##############
|
||||
|
||||
Overview
|
||||
********
|
||||
|
||||
The Texas Instrument AM62x SoC contains a quad Cortex-A53 cluster and a single
|
||||
Cortex-M4F core in the MCU domain. This chapter describes all boards with support
|
||||
for the M4F subsystem.
|
||||
|
||||
Currently the following hardware platforms are supported:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
am62x_m4_sk.rst
|
||||
am62x_m4_phyboard_lyra.rst
|
||||
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
The AM62x M4F platform supports the following hardware features:
|
||||
|
||||
+-----------+------------+-------------------------------------+
|
||||
| Interface | Controller | Driver/Component |
|
||||
+===========+============+=====================================+
|
||||
| NVIC | on-chip | nested vector interrupt controller |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| SYSTICK | on-chip | systick |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| PINCTRL | on-chip | pinctrl |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| UART | on-chip | serial |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not currently supported by the port.
|
||||
@@ -0,0 +1,11 @@
|
||||
# Texas Instruments Sitara AM62x-SK-M4 EVM
|
||||
#
|
||||
# Copyright (c) 2023 Texas Instruments Incorporated
|
||||
# Copyright (c) 2023 L Lakshmanan
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_PHYBOARD_LYRA_AM62X
|
||||
select SOC_AM6234_M4 if BOARD_PHYBOARD_LYRA_AM62X_AM6234_M4
|
||||
help
|
||||
PHYTEC AM62x M4 phyBOARD-Lyra
|
||||
5
boards/v2/phytec/phyboard_lyra_am62x/board.yml
Normal file
5
boards/v2/phytec/phyboard_lyra_am62x/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: phyboard_lyra_am62x
|
||||
vendor: Phytec
|
||||
socs:
|
||||
- name: am6234
|
||||
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
@@ -104,7 +104,7 @@ To test the M4F core, we build the `hello_world` sample with the following comma
|
||||
.. code-block:: console
|
||||
|
||||
# From the root of the Zephyr repository
|
||||
west build -p -b am62x_m4_phyboard_lyra samples/hello_world
|
||||
west build -p -b phyboard_lyra_am62x/am6234/m4 samples/hello_world
|
||||
|
||||
This builds the program and the binary is present in the `build/zephyr` directory as `zephyr.elf`.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: am62x_m4_phyboard_lyra
|
||||
identifier: phyboard_lyra_am62x/am6234/m4
|
||||
name: PHYTEC AM62x M4 phyBOARD-Lyra
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -6,9 +6,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Platform Configuration
|
||||
CONFIG_SOC_SERIES_AM62X_M4=y
|
||||
CONFIG_SOC_AM62x_M4=y
|
||||
CONFIG_BOARD_AM62X_M4_PHYBOARD_LYRA=y
|
||||
CONFIG_CORTEX_M_SYSTICK=y
|
||||
|
||||
# Zephyr Kernel Configuration
|
||||
11
boards/v2/ti/sk_am62/Kconfig.sk_am62
Normal file
11
boards/v2/ti/sk_am62/Kconfig.sk_am62
Normal file
@@ -0,0 +1,11 @@
|
||||
# Texas Instruments Sitara AM62x-SK-M4 EVM
|
||||
#
|
||||
# Copyright (c) 2023 Texas Instruments Incorporated
|
||||
# Copyright (c) 2023 L Lakshmanan
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_SK_AM62_AM6234_M4
|
||||
select SOC_AM6234_M4
|
||||
help
|
||||
TI AM62x M4 Starter Kit (SK) Evaluation Module (EVM)
|
||||
5
boards/v2/ti/sk_am62/board.yml
Normal file
5
boards/v2/ti/sk_am62/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: sk_am62
|
||||
vendor: Texas Instruments
|
||||
socs:
|
||||
- name: am6234
|
||||
|
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 97 KiB |
@@ -1,12 +1,12 @@
|
||||
.. _am62x_m4_sk:
|
||||
.. _sk_am62:
|
||||
|
||||
AM62x-SK M4F Core
|
||||
#################
|
||||
SK-AM62 M4F Core
|
||||
################
|
||||
|
||||
Overview
|
||||
********
|
||||
|
||||
The AM62x-SK board configuration is used by Zephyr applications that run on
|
||||
The SK-AM62 board configuration is used by Zephyr applications that run on
|
||||
the TI AM62x platform. The board configuration provides support for the ARM
|
||||
Cortex-M4F MCU core and the following features:
|
||||
|
||||
@@ -19,13 +19,13 @@ See the `TI AM62X Product Page`_ for details.
|
||||
|
||||
.. figure:: img/sk_am62_angled.webp
|
||||
:align: center
|
||||
:alt: TI AM62x-SK EVM
|
||||
:alt: TI SK-AM62 EVM
|
||||
|
||||
Texas Instruments AM62x SK EVM
|
||||
Texas Instruments SK-AM62 EVM
|
||||
|
||||
Hardware
|
||||
********
|
||||
The AM62x-SK EVM features the AM62x SoC, which is composed of a quad Cortex-A53
|
||||
The SK-AM62 EVM features the AM62x SoC, which is composed of a quad Cortex-A53
|
||||
cluster and a single Cortex-M4 core in the MCU domain. Zephyr is ported to run on
|
||||
the M4F core and the following listed hardware specifications are used:
|
||||
|
||||
@@ -42,7 +42,7 @@ the M4F core and the following listed hardware specifications are used:
|
||||
Supported Features
|
||||
==================
|
||||
|
||||
The am62x_m4_sk configuration supports the following hardware features:
|
||||
The sk_am62 configuration supports the following hardware features:
|
||||
|
||||
+-----------+------------+-------------------------------------+
|
||||
| Interface | Controller | Driver/Component |
|
||||
@@ -102,7 +102,7 @@ To test the M4F core, we build the `hello_world` sample with the following comma
|
||||
.. code-block:: console
|
||||
|
||||
# From the root of the Zephyr repository
|
||||
west build -p -b am62x_m4_sk samples/hello_world
|
||||
west build -p -b sk_am62/am6234/m4 samples/hello_world
|
||||
|
||||
This builds the program and the binary is present in the `build/zephyr` directory as `zephyr.elf`.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
identifier: am62x_m4_sk
|
||||
identifier: sk_am62/am6234/m4
|
||||
name: TI AM62X M4 Starter Kit (SK)
|
||||
type: mcu
|
||||
arch: arm
|
||||
@@ -6,9 +6,6 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Platform Configuration
|
||||
CONFIG_SOC_SERIES_AM62X_M4=y
|
||||
CONFIG_SOC_AM62x_M4=y
|
||||
CONFIG_BOARD_AM62X_M4_SK=y
|
||||
CONFIG_CORTEX_M_SYSTICK=y
|
||||
|
||||
# Zephyr Kernel Configuration
|
||||
Reference in New Issue
Block a user