Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf fromlist] tests: kernel: gen_isr_table: Fix test for nRF VPR tar… #2422

Merged
merged 2 commits into from
Feb 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions tests/kernel/gen_isr_table/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,21 @@ extern uint32_t _irq_vector_table[];

#if defined(CONFIG_RISCV)
#if defined(CONFIG_NRFX_CLIC)
#define ISR1_OFFSET 15
#define ISR3_OFFSET 16
#define ISR5_OFFSET 17
#define TRIG_CHECK_SIZE 18

#if defined(CONFIG_SOC_SERIES_NRF54LX) && defined(CONFIG_RISCV_CORE_NORDIC_VPR)
#define ISR1_OFFSET 16
#define ISR3_OFFSET 17
#define ISR5_OFFSET 18
#define TRIG_CHECK_SIZE 19
#elif defined(CONFIG_SOC_NRF54H20_CPUPPR) || defined(CONFIG_SOC_NRF54H20_CPUFLPR)
#define ISR1_OFFSET 14
#define ISR3_OFFSET 15
#define ISR5_OFFSET 16
#define TRIG_CHECK_SIZE 17
#else
#error "Target not supported"
#endif

#elif defined(CONFIG_RISCV_HAS_CLIC)
#define ISR1_OFFSET 3
#define ISR3_OFFSET 17
Expand Down
Loading