Skip to content

Commit c15a172

Browse files
dnltzcarlescufi
authored andcommitted
board: arm: Move AM62x M4 SK into own subdirectory
Move the AM62x M4 SK board into a am62x_m4 subdirectory to collect all AM62x M4 boards there. Signed-off-by: Daniel Schultz <[email protected]>
1 parent 9e47415 commit c15a172

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

boards/arm/ti_am62x_sk_m4/Kconfig.board renamed to boards/arm/am62x_m4/Kconfig.board

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
#
66
# SPDX-License-Identifier: Apache-2.0
77

8-
config BOARD_TI_AM62X_SK_M4
9-
bool "TI_AM62X_SK_M4"
8+
config BOARD_AM62X_M4_SK
9+
bool "TI AM62x M4 Starter Kit (SK) Evaluation Module (EVM)"
1010
depends on SOC_SERIES_AM62X_M4

boards/arm/ti_am62x_sk_m4/Kconfig.defconfig renamed to boards/arm/am62x_m4/Kconfig.defconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#
66
# SPDX-License-Identifier: Apache-2.0
77

8-
if BOARD_TI_AM62X_SK_M4
8+
if BOARD_AM62X_M4_SK
99

1010
config BOARD
11-
default "ti_am62x_sk_m4"
11+
default "am62x_m4_sk"
1212

13-
endif # BOARD_TI_AM62X_SK_M4
13+
endif # BOARD_AM62X_M4_SK

boards/arm/ti_am62x_sk_m4/ti_am62x_sk_m4.dts renamed to boards/arm/am62x_m4/am62x_m4_sk.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include <ti/am62x_m4.dtsi>
1010

1111
/ {
12-
model = "TI AM62X SK EVALUATION BOARD";
13-
compatible = "ti,ti_am62x_sk_m4";
12+
model = "TI AM62X STARTER KIT (SK) EVALUATION MODULE (EVM)";
13+
compatible = "ti,am62x_m4_sk";
1414

1515
chosen {
1616
zephyr,sram = &sram0;

boards/arm/am62x_m4/am62x_m4_sk.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
identifier: am62x_m4_sk
2+
name: TI AM62X M4 Starter Kit (SK)
3+
type: mcu
4+
arch: arm
5+
toolchain:
6+
- zephyr
7+
ram: 192

boards/arm/ti_am62x_sk_m4/ti_am62x_sk_m4_defconfig renamed to boards/arm/am62x_m4/am62x_m4_sk_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Platform Configuration
99
CONFIG_SOC_SERIES_AM62X_M4=y
1010
CONFIG_SOC_AM62x_M4=y
11-
CONFIG_BOARD_TI_AM62X_SK_M4=y
11+
CONFIG_BOARD_AM62X_M4_SK=y
1212
CONFIG_CORTEX_M_SYSTICK=y
1313

1414
# Zephyr Kernel Configuration

boards/arm/ti_am62x_sk_m4/doc/index.rst renamed to boards/arm/am62x_m4/doc/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _ti_am62x_sk_m4:
1+
.. _am62x_m4_sk:
22

33
AM62x-SK M4F Core
44
#################
@@ -42,7 +42,7 @@ the M4F core and the following listed hardware specifications are used:
4242
Supported Features
4343
==================
4444

45-
The ti_am62x_sk_m4 configuration supports the following hardware features:
45+
The am62x_m4_sk configuration supports the following hardware features:
4646

4747
+-----------+------------+-------------------------------------+
4848
| Interface | Controller | Driver/Component |
@@ -88,7 +88,7 @@ The default configuration can be found in the defconfig file:
8888

8989
.. code-block:: console
9090
91-
boards/arm/ti_am62x_sk_m4/ti_am62x_sk_m4_defconfig
91+
boards/arm/am62x_m4/am62x_m4_sk/am62x_m4_sk_defconfig
9292
9393
Flashing
9494
********
@@ -102,7 +102,7 @@ To test the M4F core, we build the `hello_world` sample with the following comma
102102
.. code-block:: console
103103
104104
# From the root of the Zephyr repository
105-
west build -p -b ti_am62x_sk_m4 samples/hello_world
105+
west build -p -b am62x_m4_sk samples/hello_world
106106
107107
This builds the program and the binary is present in the `build/zephyr` directory as `zephyr.elf`.
108108

boards/arm/ti_am62x_sk_m4/ti_am62x_sk_m4.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)