Skip to content

Commit

Permalink
modules: nrfxlib: nrf_802154: add missing ipct declarations
Browse files Browse the repository at this point in the history
Adds missing defines to stop errors found
while compiling for nRF54H20 with IEEE 802.15.4.

Signed-off-by: Piotr Koziar <[email protected]>
  • Loading branch information
piotrkoziar authored and canisLupus1313 committed May 28, 2024
1 parent 3bf639d commit 0310db9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,21 @@

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

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

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

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

/* - DPPIC_G2 : DPPIC132_S */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <haly/nrfy_grtc.h>
#include <hal/nrf_dppi.h>
#include <hal/nrf_ppib.h>
#include <hal/nrf_ipct.h>

#include <assert.h>
#include <zephyr/drivers/timer/nrf_grtc_timer.h>
Expand Down

0 comments on commit 0310db9

Please sign in to comment.