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

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

commit 11515dcd1d85a960239cb12b49ae163ebc9a501d
Author: Saravanan Sekar <[email protected]>
AuthorDate: Fri Oct 30 10:45:56 2026 +0530

    arch/tricore/tc3xx: Keep TASKING from using near data.
    
    Without --default-near-size=0, ctc puts small variables in .zdata,
    which must sit in the first 16K of a segment.  The a2g-tc397-5v-tft
    kernel DSPR starts at 0x70010000, so the locator fails.  TC4x already
    passes this option.
    
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 arch/tricore/src/tc3xx/Toolchain.defs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/tricore/src/tc3xx/Toolchain.defs 
b/arch/tricore/src/tc3xx/Toolchain.defs
index 443bbc0970f..a3feae38a3e 100644
--- a/arch/tricore/src/tc3xx/Toolchain.defs
+++ b/arch/tricore/src/tc3xx/Toolchain.defs
@@ -23,6 +23,7 @@
 ifeq ($(CONFIG_ARCH_CHIP_TC39X),y)
   ifeq ($(CONFIG_TRICORE_TOOLCHAIN_TASKING),y)
     ARCHCPUFLAGS += --cpu=tc39xb
+    ARCHCPUFLAGS += --default-near-size=0
     LDFLAGS      += -Ctc39xb
   else
     ARCHCPUFLAGS += -mcpu=tc39xx

Reply via email to