This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit addd9bad31eff3a05449c2c2c8e71d72e08c6e87
Author: Saravanan Sekar <[email protected]>
AuthorDate: Tue Nov 10 12:23:06 2026 +0530

    arch/tricore: Name the TC3xx chip option after the part.
    
    The TC3xx chip option ARCH_CHIP_TC39X names the TC39x series.  Name it
    after the part of the a2g-tc397-5v-tft board, ARCH_CHIP_TC397, as the
    arm chips do (ARCH_CHIP_STM32F407VG), so that further TC3xx parts can be
    added to its choice, and update the board dependency and configuration.
    The TC4xx option ARCH_CHIP_TC4DX keeps its name.  Both chip choices get
    a plain prompt.
    
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 arch/tricore/src/tc3xx/Kconfig                              | 8 ++++----
 arch/tricore/src/tc3xx/Toolchain.defs                       | 2 +-
 arch/tricore/src/tc4xx/Kconfig                              | 4 ++--
 boards/Kconfig                                              | 2 +-
 boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/tricore/src/tc3xx/Kconfig b/arch/tricore/src/tc3xx/Kconfig
index b69c6640625..66ca027eeca 100644
--- a/arch/tricore/src/tc3xx/Kconfig
+++ b/arch/tricore/src/tc3xx/Kconfig
@@ -25,11 +25,11 @@
 #
 
 choice
-       prompt "TC3XX Chip Selection"
-       default ARCH_CHIP_TC39X
+       prompt "Infineon AURIX TC3x chip selection"
+       default ARCH_CHIP_TC397
 
-config ARCH_CHIP_TC39X
-       bool "TC3XX TC39X"
+config ARCH_CHIP_TC397
+       bool "TC397 SoC"
 
 endchoice
 
diff --git a/arch/tricore/src/tc3xx/Toolchain.defs 
b/arch/tricore/src/tc3xx/Toolchain.defs
index 7d9aa7a7579..175c9218631 100644
--- a/arch/tricore/src/tc3xx/Toolchain.defs
+++ b/arch/tricore/src/tc3xx/Toolchain.defs
@@ -20,7 +20,7 @@
 #
 ############################################################################
 
-ifeq ($(CONFIG_ARCH_CHIP_TC39X),y)
+ifeq ($(CONFIG_ARCH_CHIP_TC397),y)
   ifeq ($(CONFIG_TRICORE_TOOLCHAIN_TASKING),y)
     ARCHCPUFLAGS += --cpu=tc39xb
     ARCHCPUFLAGS += --default-near-size=0
diff --git a/arch/tricore/src/tc4xx/Kconfig b/arch/tricore/src/tc4xx/Kconfig
index 53da2474ffe..5d9aa9949e0 100644
--- a/arch/tricore/src/tc4xx/Kconfig
+++ b/arch/tricore/src/tc4xx/Kconfig
@@ -25,11 +25,11 @@
 #
 
 choice
-       prompt "TC4XX Chip Selection"
+       prompt "Infineon AURIX TC4x chip selection"
        default ARCH_CHIP_TC4DX
 
 config ARCH_CHIP_TC4DX
-       bool "TC4XX TC4DX"
+       bool "TC4Dx SoC"
 
 endchoice
 
diff --git a/boards/Kconfig b/boards/Kconfig
index 0360b2e58d8..433abc11777 100644
--- a/boards/Kconfig
+++ b/boards/Kconfig
@@ -2872,7 +2872,7 @@ config ARCH_BOARD_QEMU_RH850_U2C
 
 config ARCH_BOARD_A2G_TC397_5V_TFT
        bool "Infineon's AURIX TC397 board: KIT_A2G_TC397_5V_TFT"
-       depends on ARCH_CHIP_TC39X
+       depends on ARCH_CHIP_TC397
        ---help---
                This options selects support for NuttX on the Infineon's AURIX 
board
                board featuring the TC397 6Quad CPU.
diff --git a/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig 
b/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig
index 9f7dd1e4137..f58f8b2f500 100644
--- a/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig
+++ b/boards/tricore/tc3xx/a2g-tc397-5v-tft/configs/nsh/defconfig
@@ -10,7 +10,7 @@ CONFIG_ARCH="tricore"
 CONFIG_ARCH_BOARD="a2g-tc397-5v-tft"
 CONFIG_ARCH_BOARD_A2G_TC397_5V_TFT=y
 CONFIG_ARCH_CHIP="tc3xx"
-CONFIG_ARCH_CHIP_TC39X=y
+CONFIG_ARCH_CHIP_TC397=y
 CONFIG_ARCH_CHIP_TC3X=y
 CONFIG_ARCH_INTERRUPTSTACK=2048
 CONFIG_ARCH_NUSER_INTERRUPTS=48

Reply via email to