Skip to content

Commit 39ba442

Browse files
committed
[nrf fromtree] tests: arch: common: gen_isr_table: Share nrf92 and nrf54h configuration
nRF92 and nRF54H series share the same configuration for VPR core. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no> (cherry picked from commit a0f9327)
1 parent a2ccd47 commit 39ba442

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

  • tests/arch/common/gen_isr_table/src

tests/arch/common/gen_isr_table/src/main.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ extern const uintptr_t _irq_vector_table[];
3737
#define ISR3_OFFSET 17
3838
#define ISR5_OFFSET 18
3939
#define TRIG_CHECK_SIZE 19
40-
#elif defined(CONFIG_SOC_SERIES_NRF54H) && defined(CONFIG_RISCV_CORE_NORDIC_VPR)
40+
#elif (defined(CONFIG_SOC_SERIES_NRF54H) || defined(CONFIG_SOC_SERIES_NRF92)) && \
41+
defined(CONFIG_RISCV_CORE_NORDIC_VPR)
4142
#define ISR1_OFFSET 14
4243
#define ISR3_OFFSET 15
4344
#define ISR5_OFFSET 16
@@ -47,11 +48,6 @@ extern const uintptr_t _irq_vector_table[];
4748
#define ISR3_OFFSET 21
4849
#define ISR5_OFFSET 22
4950
#define TRIG_CHECK_SIZE 23
50-
#elif defined(CONFIG_SOC_NRF9280_CPUPPR)
51-
#define ISR1_OFFSET 14
52-
#define ISR3_OFFSET 15
53-
#define ISR5_OFFSET 16
54-
#define TRIG_CHECK_SIZE 17
5551
#else
5652
#error "Target not supported"
5753
#endif

0 commit comments

Comments
 (0)