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 4b95efac033561b5db0f5cf68aedea5a0597a15e
Author: Saravanan Sekar <[email protected]>
AuthorDate: Thu Nov 5 10:49:32 2026 +0530

    arch/tricore: Use the NuttX CSFR offsets in tricore_backtrace.c.
    
    Access the PCXI registers with the offsets from arch/csfr.h instead of
    the iLLD CPU_* names, one step towards common TriCore code that does not
    need the iLLD.
    
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 arch/tricore/src/common/tricore_backtrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/tricore/src/common/tricore_backtrace.c 
b/arch/tricore/src/common/tricore_backtrace.c
index ed468b3e766..7c2aa81e84a 100644
--- a/arch/tricore/src/common/tricore_backtrace.c
+++ b/arch/tricore/src/common/tricore_backtrace.c
@@ -113,7 +113,7 @@ int up_backtrace(struct tcb_s *tcb,
 
   if (tcb == NULL || tcb == rtcb)
     {
-      ret = backtrace(tricore_mfcr(CPU_PCXI), buffer, size, &skip);
+      ret = backtrace(tricore_mfcr(TRICORE_CPU_PCXI), buffer, size, &skip);
     }
   else
     {

Reply via email to