mirror of
https://github.com/apache/nuttx.git
synced 2026-08-23 14:38:25 +00:00
Remove the dependency on the iLLD SFR headers (IfxCpu_bf.h and IfxCbs_reg.h) and the iLLD intrinsics (__mfcr/__mtcr) from the hardware debug monitor implementation. 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 leaks the iLLD CPU_* namespace (which is still pulled in transitively through arch/irq.h). Register accesses use the tricore_mfcr/tricore_mtcr macros, and the DBGTCR/DBGCFG/DBGACT bit-field unions are replaced with explicit shifts. This is a pure de-iLLD refactor with no behavior change, verified on a TC4x7 EVB: the board boots to NuttShell and breakpoints trigger identically before and after the change. Signed-off-by: zhangyuan29 <zhangyuan29@xiaomi.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||