Skip to content

Commit 45156c9

Browse files
committed
subsys: testsuite: add trigger_irq for topst_vcp45
add trigger_irq for topst vcp45 to subsys/test/suite/include/zephyr/interrupt util.h file. Signed-off-by: Hounjoung Rim <[email protected]>
1 parent c2f0af6 commit 45156c9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

subsys/testsuite/include/zephyr/interrupt_util.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@ static inline void trigger_irq(int irq)
213213
z_vim_arm_enter_irq(irq);
214214
}
215215

216+
#elif defined(CONFIG_CPU_CORTEX_R5) && defined(CONFIG_TIC)
217+
218+
extern void z_tic_arm_enter_irq(int);
219+
220+
static inline void trigger_irq(int irq)
221+
{
222+
z_tic_arm_enter_irq(irq);
223+
}
224+
216225
#else
217226
/* So far, Nios II does not support this */
218227
#define NO_TRIGGER_FROM_SW

0 commit comments

Comments
 (0)