This is an automated email from the ASF dual-hosted git repository.

kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit dabd6e001da6ed0d240f64fb583adbaa461a92b5
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Wed Sep 30 11:35:41 2026 +0200

    hw/mcu/nordic: Build nrfx helpers for PPI/DPPI
    
    nrfx 4.0 removed PPI and DPPI drivers, GPPI helper layer
    should be used instead. NRFX_PPI_ENABLED and NRFX_DPPI_ENABLED
    now build respective GPPI helper implementation.
    
    nrfx_flag32_allocator.c is always built since it is used
    by several drivers (GPIOTE, GRTC) and GPPI helpers.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 hw/mcu/nordic/pkg.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/hw/mcu/nordic/pkg.yml b/hw/mcu/nordic/pkg.yml
index 48d6d010e..a42d4719f 100644
--- a/hw/mcu/nordic/pkg.yml
+++ b/hw/mcu/nordic/pkg.yml
@@ -68,6 +68,9 @@ pkg.include_dirs:
     - "@nordic-nrfx/."
     - "include"
 
+pkg.source_files:
+    - "@nordic-nrfx/helpers/nrfx_flag32_allocator.c"
+
 pkg.source_files.NRFX_ADC_ENABLED:
     - "@nordic-nrfx/drivers/src/nrfx_adc.c"
 app.cflags.NRFX_ADC_ENABLED:
@@ -100,7 +103,7 @@ app.cflags.NRFX_CRACEN_ENABLED:
     - -DNRFX_CRACEN_ENABLED=1
 
 pkg.source_files.NRFX_DPPI_ENABLED:
-    - "@nordic-nrfx/drivers/src/nrfx_dppi.c"
+    - "@nordic-nrfx/helpers/nrfx_gppi_dppi.c"
 app.cflags.NRFX_DPPI_ENABLED:
     - -DNRFX_DPPI_ENABLED=1
 
@@ -165,7 +168,7 @@ app.cflags.NRFX_POWER_ENABLED:
     - -DNRFX_POWER_ENABLED=1
 
 pkg.source_files.NRFX_PPI_ENABLED:
-    - "@nordic-nrfx/drivers/src/nrfx_ppi.c"
+    - "@nordic-nrfx/helpers/nrfx_gppi_ppi.c"
 app.cflags.NRFX_PPI_ENABLED:
     - -DNRFX_PPI_ENABLED=1
 

Reply via email to