arch/tricore: Suspend stm when CPU stops

Fix break point cause suspend stm still running cause timer paused.

Signed-off-by: panzihao <panzihao@xiaomi.com>
This commit is contained in:
panzihao
2026-05-20 14:42:03 +08:00
committed by Xiang Xiao
parent 52ae08196d
commit 191e250cc3
@@ -309,6 +309,8 @@ tricore_systimer_initialize(volatile void *tbase, int irq, uint64_t freq)
oneshot_count_init(&priv->lower, (uint32_t)freq);
IfxStm_setSuspendMode(priv->tbase, IfxStm_SuspendMode_hard);
IfxStm_setCompareControl(tbase,
IfxStm_Comparator_0,
IfxStm_ComparatorOffset_0,