Skip to content

Commit f8e183c

Browse files
kartbencfriedt
authored andcommitted
tests: ram_context_for_isr: pick an available IRQ for Nuvoton platforms
NPCX7, NPCX9, and NPCK3 platforms have their (NUM_IRQS-1) IRQ taken, so set CONFIG_TEST_IRQ_NUM to a different available IRQ. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent cdf5811 commit f8e183c

File tree

1 file changed

+2
-0
lines changed
  • tests/application_development/ram_context_for_isr

1 file changed

+2
-0
lines changed

tests/application_development/ram_context_for_isr/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ config TEST_IRQ_NUM
1010
default 14 if GIC
1111
default 22 if SOC_SERIES_DA1469X
1212
default 18 if SOC_SERIES_STM32C0X
13+
default 1 if (SOC_SERIES_NPCX9 || SOC_SERIES_NPCX7 || SOC_SERIES_NPCK3)
1314
default 0
1415
help
1516
IRQ number to use for testing purposes. This should be an
@@ -20,6 +21,7 @@ config TEST_IRQ_NUM
2021
- GIC platforms: 14 (available test SGI - Software Generated Interrupt)
2122
- DA1469X series: 22 (available test IRQ)
2223
- STM32C0X series: 18 (available test IRQ)
24+
- NPCX9, NPCX7, NPCK3 series: 1 (unused IRQ not mapped to MIWU groups)
2325
- Other platforms: 0 (magic config value to select the last IRQ: NUM_IRQS - 1)
2426

2527
config TEST_IRQ_PRIO

0 commit comments

Comments
 (0)