Skip to content

Commit ecbab03

Browse files
piotrkoziarrlubos
authored andcommitted
modules: nrfxlib: nrf_802154: add missing ipct declarations
Adds declarations required for building nRF54H20 with IEEE 802.15.4. Signed-off-by: Piotr Koziar <piotr.koziar@nordicsemi.no>
1 parent bd95d06 commit ecbab03

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

modules/nrfxlib/nrf_802154/sl/platform/nrf_802154_platform_sl_lptimer_grtc_hw_task.c

+3
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,21 @@
4545

4646
/* Peripherals used for timestamping - located in global "Main power domain" (_G1_) */
4747
/* - IPCT_G1 : IPCT130_S */
48+
#define IPCT_G1_INST NRF_IPCT130_S
4849
#define IPCT_G1_HT_CHANNEL 2
4950
#define IPCT_G1_TASK_SEND NRFX_CONCAT_2(NRF_IPCT_TASK_SEND_, IPCT_G1_HT_CHANNEL)
5051

5152
/* - DPPIC_G1 : DPPIC130_S */
5253
/* The channel must be in the [0..7] range to satisfy the requirements for the dependent macros */
54+
#define DPPIC_G1_INST NRF_DPPIC130_S
5355
#define DPPIC_G1_HT_CHANNEL 2
5456

5557
/* - PPIB_G1 : PPIB130_S */
5658
#define PPIB_G1_HT_CHANNEL (DPPIC_G1_HT_CHANNEL + 8) /* hw-fixed dependency */
5759

5860
/* Peripherals used for timestamping - located in global "Active power domain" (_G2_) */
5961
/* - PPIB_G2 : PPIB133_S */
62+
#define DPPIC_G2_INST NRF_DPPIC132_S
6063
#define PPIB_G2_HT_CHANNEL (PPIB_G1_HT_CHANNEL - 8) /* hw-fixed dependency */
6164

6265
/* - DPPIC_G2 : DPPIC132_S */

modules/nrfxlib/nrf_802154/sl/platform/nrf_802154_platform_timestamper.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
#include <haly/nrfy_grtc.h>
1111
#include <hal/nrf_dppi.h>
1212
#include <hal/nrf_ppib.h>
13+
#if defined(NRF54H_SERIES)
14+
#include <hal/nrf_ipct.h>
15+
#endif
1316

1417
#include <assert.h>
1518
#include <zephyr/drivers/timer/nrf_grtc_timer.h>

0 commit comments

Comments
 (0)