nuttx/arch/tricore
zhangyuan29 6ccb459e1a arch/tricore: drop iLLD dependency in hwdebug
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>
2026-08-20 01:25:52 +08:00
..
include arch/tricore: cachecode donot depend on illd 2026-08-13 12:38:45 +02:00
src arch/tricore: drop iLLD dependency in hwdebug 2026-08-20 01:25:52 +08:00
CMakeLists.txt tricore/cmake: add support of cmake build for tricore 2024-07-18 13:40:49 +08:00
Kconfig arch/tricore: Add hardware debug breakpoint and watchpoint support. 2026-05-22 15:38:36 +08:00