nuttx/arch/tricore
zhangyu117 d4d4db5bb1 arch/tricore: perf.c donot depend on illd
Replace the iLLD helpers IfxCpu_resetAndStartCounters() and
IfxCpu_getClockCounter() in the performance-counter path with direct
CSR accesses via tricore_mtcr()/tricore_mfcr().

tricore_reset_ccnt() disables the CPU cycle counter (CPU_CCTRL), clears
CPU_CCNT, then re-enables it; up_perf_gettime() reads CPU_CCNT directly.
This removes the arch/tricore perf path's dependency on the Infineon
iLLD layer. No behavior change.

Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com>
2026-08-13 12:38:45 +02:00
..
include arch/tricore: cachecode donot depend on illd 2026-08-13 12:38:45 +02:00
src arch/tricore: perf.c donot depend on illd 2026-08-13 12:38:45 +02: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