Skip to content

dts: arm: st: stm32wb0: add interrupts on BLE controller#106073

Merged
nashif merged 2 commits intozephyrproject-rtos:mainfrom
mathieuchopstm:topic/wb0_ble_irqs
Mar 25, 2026
Merged

dts: arm: st: stm32wb0: add interrupts on BLE controller#106073
nashif merged 2 commits intozephyrproject-rtos:mainfrom
mathieuchopstm:topic/wb0_ble_irqs

Conversation

@mathieuchopstm
Copy link
Contributor

The BLE driver registers ISRs for interrupts not declared in the Devicetree which now causes build errors because CONFIG_NUM_IRQS is now computed automatically from DT (see PR #104819)

Add missing interrupts to fix build failures. A more proper fix should be done at a later time (i.e., consume the DT properties).

cc @msmttchr @FrancescoCiminoST

erwango
erwango previously approved these changes Mar 23, 2026
juickar
juickar previously approved these changes Mar 23, 2026
djiatsaf-st
djiatsaf-st previously approved these changes Mar 23, 2026
etienne-lms
etienne-lms previously approved these changes Mar 24, 2026
erwango
erwango previously approved these changes Mar 24, 2026
HoZHel
HoZHel previously approved these changes Mar 24, 2026
We need to add properties such as interrupts in DT for these devices.
Add them to the binding by including `base.yaml`.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
The BLE driver and Radio Timer driver register ISRs for interrupts that are
not declared in the Devicetree. Since CONFIG_NUM_IRQS is now determined
automatically based on IRQn appearing in active Devicetree nodes, this now
causes build failures.

Add missing interrupts in the SoC DTSI to fix build failures.
Further cleanup of the aforementionned drivers to actually obtain IRQn from
DT properties should be done at a later time.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
@mathieuchopstm mathieuchopstm dismissed stale reviews from HoZHel and erwango via 762e122 March 24, 2026 11:45
@mathieuchopstm
Copy link
Contributor Author

Fixed build error by adding missing include: in WB0 radio timer binding, which thus didn't declare interrupts in its properties.

@mathieuchopstm mathieuchopstm requested review from HoZHel and erwango and removed request for erwango March 24, 2026 11:46
@zephyrbot zephyrbot added area: Devicetree Binding PR modifies or adds a Device Tree binding area: Timer Timer labels Mar 24, 2026
@sonarqubecloud
Copy link

@nashif nashif merged commit 74693aa into zephyrproject-rtos:main Mar 25, 2026
29 of 30 checks passed
@mathieuchopstm mathieuchopstm deleted the topic/wb0_ble_irqs branch March 25, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Devicetree Binding PR modifies or adds a Device Tree binding area: Timer Timer platform: STM32 ST Micro STM32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants