Skip to content

Commit 53f088e

Browse files
maje-embnordicjm
authored andcommitted
esb: Fix dynamic interrupts usage
Fixed dynamic interrupts implementation. Updated sample.yaml with a test case for dynamic interrupts. Ref: NCSDK-28990 Signed-off-by: Marcin Jelinski <[email protected]>
1 parent 1f06433 commit 53f088e

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

samples/esb/esb_prx/sample.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,17 @@ tests:
4242
- CONFIG_ESB_DYNAMIC_INTERRUPTS=y
4343
- CONFIG_DYNAMIC_INTERRUPTS=y
4444
- CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y
45+
- CONFIG_MPSL_DYNAMIC_INTERRUPTS=y
4546
integration_platforms:
4647
- nrf5340dk/nrf5340/cpunet
4748
- nrf52840dk/nrf52840
48-
platform_allow: nrf5340dk/nrf5340/cpunet nrf52840dk/nrf52840
49+
- nrf54l15dk/nrf54l15/cpuapp
50+
- nrf54h20dk/nrf54h20/cpurad
51+
platform_allow: >
52+
nrf5340dk/nrf5340/cpunet
53+
nrf52840dk/nrf52840
54+
nrf54l15dk/nrf54l15/cpuapp
55+
nrf54h20dk/nrf54h20/cpurad
4956
tags: esb ci_build sysbuild ci_samples_esb
5057
sample.esb.prx.nrf5340_nrf21540:
5158
sysbuild: true

samples/esb/esb_ptx/sample.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,17 @@ tests:
4242
- CONFIG_ESB_DYNAMIC_INTERRUPTS=y
4343
- CONFIG_DYNAMIC_INTERRUPTS=y
4444
- CONFIG_DYNAMIC_DIRECT_INTERRUPTS=y
45+
- CONFIG_MPSL_DYNAMIC_INTERRUPTS=y
4546
integration_platforms:
4647
- nrf5340dk/nrf5340/cpunet
4748
- nrf52840dk/nrf52840
48-
platform_allow: nrf5340dk/nrf5340/cpunet nrf52840dk/nrf52840
49+
- nrf54l15dk/nrf54l15/cpuapp
50+
- nrf54h20dk/nrf54h20/cpurad
51+
platform_allow: >
52+
nrf5340dk/nrf5340/cpunet
53+
nrf52840dk/nrf52840
54+
nrf54l15dk/nrf54l15/cpuapp
55+
nrf54h20dk/nrf54h20/cpurad
4956
tags: esb ci_build sysbuild ci_samples_esb
5057
sample.esb.ptx.nrf5340_nrf21540:
5158
sysbuild: true

subsys/esb/esb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,7 @@ static void evt_dynamic_irq_handler(const void *args)
16251625
{
16261626
ARG_UNUSED(args);
16271627
if (IS_ENABLED(ESB_EVT_USING_EGU)) {
1628-
nrf_egu_event_clear(ESB_EGU, ESB_EGU_EVT_TASK);
1628+
nrf_egu_event_clear(ESB_EGU, ESB_EGU_EVT_EVENT);
16291629
}
16301630
esb_evt_irq_handler();
16311631
ISR_DIRECT_PM();

0 commit comments

Comments
 (0)