Skip to content

Commit 53f30bc

Browse files
committed
Bluetooth: controller: openisa: do not use instances for openisa IRQs
An issue with DT generation where instance defines are not determinstic generating values that collide with existing IRQs. Fixes #20558 Signed-off-by: Anas Nashif <[email protected]>
1 parent 2d4d6f0 commit 53f30bc

File tree

1 file changed

+4
-4
lines changed
  • subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1

1 file changed

+4
-4
lines changed

subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ll_irqs.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
* LPTMR1 -> INTMUX_CH2. We expect it to be the only IRQ source for this channel
1414
* We'll use the INTMUX ISR for channel 2 instead of LPTMR1 ISR
1515
*/
16-
#define LL_RTC0_IRQn_1st_lvl DT_INST_2_OPENISA_RV32M1_INTMUX_CH_IRQ_0
17-
#define LL_RTC0_IRQn_2nd_lvl DT_INST_1_OPENISA_RV32M1_LPTMR_IRQ_0
16+
#define LL_RTC0_IRQn_1st_lvl DT_OPENISA_RV32M1_INTMUX_CH_4004F080_IRQ_0
17+
#define LL_RTC0_IRQn_2nd_lvl DT_OPENISA_RV32M1_LPTMR_40033000_IRQ_0
1818

1919
/*
2020
* radio -> INTMUX_CH3. We expect it to be the only IRQ source for this channel
2121
* We'll use the INTMUX ISR for channel 3 instead of radio ISR
2222
*/
23-
#define LL_RADIO_IRQn_1st_lvl DT_INST_3_OPENISA_RV32M1_INTMUX_CH_IRQ_0
24-
#define LL_RADIO_IRQn_2nd_lvl DT_INST_0_OPENISA_RV32M1_GENFSK_IRQ_0
23+
#define LL_RADIO_IRQn_1st_lvl DT_OPENISA_RV32M1_INTMUX_CH_4004F0C0_IRQ_0
24+
#define LL_RADIO_IRQn_2nd_lvl DT_OPENISA_RV32M1_GENFSK_41033000_IRQ_0
2525

2626
#define LL_RTC0_IRQn LL_RTC0_IRQn_1st_lvl
2727
#define LL_RADIO_IRQn LL_RADIO_IRQn_1st_lvl

0 commit comments

Comments
 (0)