zyfeier opened a new pull request, #19836:
URL: https://github.com/apache/nuttx/pull/19836

   ## Summary
   
   Remove the iLLD dependency from the TriCore hardware debug monitor
   (`tricore_hwdebug.c`), continuing the de-iLLD effort for `arch/tricore`.
   
   The debug CSFR numbers, trigger-event register (TR0..TR7) addresses,
   TREVT bit-field offsets and the CBS_OEC register address are now defined
   locally with a `TC_` prefix, so the file no longer depends on the iLLD
   SFR headers (`IfxCpu_bf.h`, `IfxCbs_reg.h`) nor the iLLD intrinsics
   (`__mfcr`/`__mtcr`). Register accesses use the `tricore_mfcr`/
   `tricore_mtcr` macros, and the `DBGTCR`/`DBGCFG`/`DBGACT` bit-field
   unions are replaced with explicit shifts.
   
   The `TC_` prefix avoids a redefinition clash with the iLLD `CPU_*`
   namespace, which is still pulled in transitively through `arch/irq.h`.
   
   ## Impact
   
   Behavior is unchanged; this is a pure de-iLLD refactor.
   
   ## Testing
   
   - Build: `triboard_tc4x9_com:nsh` (TC1V8) and `a2g-tc397-5v-tft:nsh`
     (TC1V6) both compile with 0 errors and no redefinition warnings.
   - `checkpatch.sh`: pass.
   - EVB (TC4X7): boots to NuttShell; the `debugpoint` test app confirms
     breakpoints trigger identically before and after the change. Verified
     on real hardware that the watchpoint trigger itself fires at the
     correct faulting PC (any watchpoint-callback discrepancy in the test
     app is pre-existing and unrelated to this change).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to