Skip to content

samples: zephyr: system_off: Add support for nRF7120pdk #22279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhsu-nordic
Copy link
Contributor

Add support for the nRF7120pdk for the systemoff samples:

  • grtc_wakeup
  • grtc_wakeup (memory retained)

@dhsu-nordic dhsu-nordic requested a review from a team as a code owner May 13, 2025 13:52
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label May 13, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented May 13, 2025

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 6

Inputs:

Sources:

hal_nordic: PR head: 2f5d4e5868ab573eac932fa4bc142565073c3c04
sdk-nrf: PR head: 7891543fc41ac31fba0bd3cbf8bb81155d2f94ca
zephyr: PR head: 463374fb0e76672b8b5fccab9f463fca18bcd161

more details

hal_nordic:

PR head: 2f5d4e5868ab573eac932fa4bc142565073c3c04
merge base: 71308dc6d8c021887ce5d98a36cafe9517375a91
Diff

sdk-nrf:

PR head: 7891543fc41ac31fba0bd3cbf8bb81155d2f94ca
merge base: 7fa2249e66c9673edba2f2a2dd01c7a9729408cf
target head (main): 7fa2249e66c9673edba2f2a2dd01c7a9729408cf
Diff

zephyr:

PR head: 463374fb0e76672b8b5fccab9f463fca18bcd161
merge base: bf5684e2a9137f68f222673451d59e0db123091e
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (201)
modules
│  ├── hal
│  │  ├── nordic
│  │  │  ├── drivers
│  │  │  │  ├── nrf_802154
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── common
│  │  │  │  │  │  ├── include
│  │  │  │  │  │  │  ├── nrf_802154.h
│  │  │  │  │  │  │  ├── nrf_802154_config.h
│  │  │  │  │  │  │  │ nrf_802154_types.h
│  │  │  │  │  ├── driver
│  │  │  │  │  │  ├── src
│  │  │  │  │  │  │  ├── mac_features
│  │  │  │  │  │  │  │  ├── ack_generator
│  │  │  │  │  │  │  │  │  │ nrf_802154_enh_ack_generator.c
│  │  │  │  │  │  │  │  ├── nrf_802154_delayed_trx.c
│  │  │  │  │  │  │  │  ├── nrf_802154_delayed_trx.h
│  │  │  │  │  │  │  │  ├── nrf_802154_filter.c
│  │  │  │  │  │  │  │  ├── nrf_802154_frame_parser.c
│  │  │  │  │  │  │  │  ├── nrf_802154_frame_parser.h
│  │  │  │  │  │  │  │  │ nrf_802154_ie_writer.c
│  │  │  │  │  │  │  ├── nrf_802154.c
│  │  │  │  │  │  │  ├── nrf_802154_core.c
│  │  │  │  │  │  │  ├── nrf_802154_critical_section.c
│  │  │  │  │  │  │  ├── nrf_802154_debug_gpio.c
│  │  │  │  │  │  │  ├── nrf_802154_encrypt.c
│  │  │  │  │  │  │  ├── nrf_802154_peripherals.h
│  │  │  │  │  │  │  ├── nrf_802154_peripherals_alloc.c
│  │  │  │  │  │  │  ├── nrf_802154_peripherals_nrf52.h
│  │  │  │  │  │  │  ├── nrf_802154_peripherals_nrf53.h
│  │  │  │  │  │  │  ├── nrf_802154_peripherals_nrf54l.h
│  │  │  │  │  │  │  ├── nrf_802154_pib.c
│  │  │  │  │  │  │  ├── nrf_802154_pib.h
│  │  │  │  │  │  │  ├── nrf_802154_procedures_duration.h
│  │  │  │  │  │  │  ├── nrf_802154_request.h
│  │  │  │  │  │  │  ├── nrf_802154_request_direct.c
│  │  │  │  │  │  │  ├── nrf_802154_request_swi.c
│  │  │  │  │  │  │  ├── nrf_802154_rssi.c
│  │  │  │  │  │  │  ├── nrf_802154_rssi.h
│  │  │  │  │  │  │  ├── nrf_802154_trx.c
│  │  │  │  │  │  │  ├── nrf_802154_trx.h
│  │  │  │  │  │  │  ├── nrf_802154_trx_dppi.c
│  │  │  │  │  │  │  ├── nrf_802154_trx_ppi.c
│  │  │  │  │  │  │  │ nrf_802154_trx_ppi_api.h
│  │  │  │  │  ├── serialization
│  │  │  │  │  │  ├── src
│  │  │  │  │  │  │  ├── include
│  │  │  │  │  │  │  │  │ nrf_802154_spinel_datatypes.h
│  │  │  │  │  │  │  ├── nrf_802154_spinel_app.c
│  │  │  │  │  │  │  ├── nrf_802154_spinel_dec_app.c
│  │  │  │  │  │  │  │ nrf_802154_spinel_dec_net.c
│  │  │  │  │  ├── sl
│  │  │  │  │  │  ├── include
│  │  │  │  │  │  │  ├── nrf_802154_sl_atomic_list.h
│  │  │  │  │  │  │  ├── nrf_802154_sl_utils.h
│  │  │  │  │  │  │  ├── platform
│  │  │  │  │  │  │  │  │ nrf_802154_clock.h
│  │  │  │  │  │  ├── sl_opensource
│  │  │  │  │  │  │  ├── include
│  │  │  │  │  │  │  │  ├── protocol
│  │  │  │  │  │  │  │  │  │ mpsl_fem_protocol_api.h
│  │  │  │  │  │  │  ├── src
│  │  │  │  │  │  │  │  ├── nrf_802154_sl_fem.c
│  │  │  │  │  │  │  │  │ nrf_802154_sl_rsch.c
│  │  │  ├── nrfx
│  │  │  │  ├── CHANGELOG.md
│  │  │  │  ├── README
│  │  │  │  ├── doc
│  │  │  │  │  ├── config_dox
│  │  │  │  │  │  │ nrfx_clock_dox_config.h
│  │  │  │  │  ├── drv_supp_matrix.dox
│  │  │  │  │  ├── nrf7120_enga.dox
│  │  │  │  │  ├── nrfx.doxyfile
│  │  │  │  │  │ nrfx_api.dox
│  │  │  │  ├── drivers
│  │  │  │  │  ├── include
│  │  │  │  │  │  ├── nrfx_clock.h
│  │  │  │  │  │  ├── nrfx_mramc.h
│  │  │  │  │  │  ├── nrfx_power_clock.h
│  │  │  │  │  │  │ nrfx_rramc.h
│  │  │  │  │  ├── nrfx_common.h
│  │  │  │  │  ├── src
│  │  │  │  │  │  ├── nrfx_clock.c
│  │  │  │  │  │  ├── nrfx_cracen.c
│  │  │  │  │  │  ├── nrfx_gpiote.c
│  │  │  │  │  │  ├── nrfx_mramc.c
│  │  │  │  │  │  ├── nrfx_rramc.c
│  │  │  │  │  │  ├── nrfx_saadc.c
│  │  │  │  │  │  │ nrfx_spim.c
│  │  │  │  ├── hal
│  │  │  │  │  ├── nrf_cache.h
│  │  │  │  │  ├── nrf_clock.h
│  │  │  │  │  ├── nrf_common.h
│  │  │  │  │  ├── nrf_cracen_rng.h
│  │  │  │  │  ├── nrf_ficr.h
│  │  │  │  │  ├── nrf_gpio.h
│  │  │  │  │  ├── nrf_gpiote.h
│  │  │  │  │  ├── nrf_grtc.h
│  │  │  │  │  ├── nrf_lfrc.h
│  │  │  │  │  ├── nrf_mramc.h
│  │  │  │  │  ├── nrf_oscillators.h
│  │  │  │  │  ├── nrf_qdec.h
│  │  │  │  │  ├── nrf_regulators.h
│  │  │  │  │  ├── nrf_reset.h
│  │  │  │  │  ├── nrf_saadc.h
│  │  │  │  │  ├── nrf_spis.h
│  │  │  │  │  ├── nrf_spu.h
│  │  │  │  │  │ nrf_uarte.h
│  │  │  │  ├── haly
│  │  │  │  │  ├── nrfy_gpiote.h
│  │  │  │  │  ├── nrfy_grtc.h
│  │  │  │  │  ├── nrfy_mramc.h
│  │  │  │  │  │ nrfy_saadc.h
│  │  │  │  ├── helpers
│  │  │  │  │  │ nrfx_ram_ctrl.c
│  │  │  │  ├── mdk
│  │  │  │  │  ├── nrf.h
│  │  │  │  │  ├── nrf51.h
│  │  │  │  │  ├── nrf52.h
│  │  │  │  │  ├── nrf52805.h
│  │  │  │  │  ├── nrf52810.h
│  │  │  │  │  ├── nrf52811.h
│  │  │  │  │  ├── nrf52820.h
│  │  │  │  │  ├── nrf52833.h
│  │  │  │  │  ├── nrf52840.h
│  │  │  │  │  ├── nrf5340_application.h
│  │  │  │  │  ├── nrf5340_network.h
│  │  │  │  │  ├── nrf54h20_application.svd
│  │  │  │  │  ├── nrf54h20_flpr.svd
│  │  │  │  │  ├── nrf54h20_ppr.svd
│  │  │  │  │  ├── nrf54h20_radiocore.svd
│  │  │  │  │  ├── nrf54h20_types.h
│  │  │  │  │  ├── nrf54h20_version.h
│  │  │  │  │  ├── nrf54h_erratas.h
│  │  │  │  │  ├── nrf54l05_application.svd
│  │  │  │  │  ├── nrf54l05_application_peripherals.h
│  │  │  │  │  ├── nrf54l05_flpr.svd
│  │  │  │  │  ├── nrf54l05_flpr_peripherals.h
│  │  │  │  │  ├── nrf54l05_global.h
│  │  │  │  │  ├── nrf54l05_interim.h
│  │  │  │  │  ├── nrf54l05_types.h
│  │  │  │  │  ├── nrf54l10_application.svd
│  │  │  │  │  ├── nrf54l10_application_peripherals.h
│  │  │  │  │  ├── nrf54l10_flpr.svd
│  │  │  │  │  ├── nrf54l10_flpr_peripherals.h
│  │  │  │  │  ├── nrf54l10_global.h
│  │  │  │  │  ├── nrf54l10_interim.h
│  │  │  │  │  ├── nrf54l10_types.h
│  │  │  │  │  ├── nrf54l15_application.svd
│  │  │  │  │  ├── nrf54l15_application_peripherals.h
│  │  │  │  │  ├── nrf54l15_flpr.svd
│  │  │  │  │  ├── nrf54l15_flpr_peripherals.h
│  │  │  │  │  ├── nrf54l15_global.h
│  │  │  │  │  ├── nrf54l15_interim.h
│  │  │  │  │  ├── nrf54l15_types.h
│  │  │  │  │  ├── nrf54l15_version.h
│  │  │  │  │  ├── nrf54l_erratas.h
│  │  │  │  │  ├── nrf54lm20a_enga_application.svd
│  │  │  │  │  ├── nrf54lm20a_enga_flpr.svd
│  │  │  │  │  ├── nrf54lm20a_enga_interim.h
│  │  │  │  │  ├── nrf54lm20a_enga_types.h
│  │  │  │  │  ├── nrf54ls05b_enga.h
│  │  │  │  │  ├── nrf54ls05b_enga_application.h
│  │  │  │  │  ├── nrf54ls05b_enga_application.svd
│  │  │  │  │  ├── nrf54ls05b_enga_application_peripherals.h
│  │  │  │  │  ├── nrf54ls05b_enga_global.h
│  │  │  │  │  ├── nrf54ls05b_enga_name_change.h
│  │  │  │  │  ├── nrf54ls05b_enga_peripherals.h
│  │  │  │  │  ├── nrf54ls05b_enga_types.h
│  │  │  │  │  ├── nrf54ls05b_enga_version.h
│  │  │  │  │  ├── nrf54ls05b_enga_xxaa_application_memory.h
│  │  │  │  │  ├── nrf54lv10a_enga_application.svd
│  │  │  │  │  ├── nrf54lv10a_enga_application_peripherals.h
│  │  │  │  │  ├── nrf54lv10a_enga_flpr.svd
│  │  │  │  │  ├── nrf54lv10a_enga_flpr_peripherals.h
│  │  │  │  │  ├── nrf54lv10a_enga_interim.h
│  │  │  │  │  ├── nrf54lv10a_enga_types.h
│  │  │  │  │  ├── nrf54lv10a_enga_version.h
│  │  │  │  │  ├── nrf7120_enga_application.h
│  │  │  │  │  ├── nrf7120_enga_application.svd
│  │  │  │  │  ├── nrf7120_enga_application_peripherals.h
│  │  │  │  │  ├── nrf7120_enga_flpr.h
│  │  │  │  │  ├── nrf7120_enga_flpr.svd
│  │  │  │  │  ├── nrf7120_enga_flpr_peripherals.h
│  │  │  │  │  ├── nrf7120_enga_global.h
│  │  │  │  │  ├── nrf7120_enga_interim.h
│  │  │  │  │  ├── nrf7120_enga_lmac.svd
│  │  │  │  │  ├── nrf7120_enga_lmac_peripherals.h
│  │  │  │  │  ├── nrf7120_enga_types.h
│  │  │  │  │  ├── nrf7120_enga_umac.svd
│  │  │  │  │  ├── nrf7120_enga_umac_peripherals.h
│  │  │  │  │  ├── nrf7120_enga_version.h
│  │  │  │  │  ├── nrf7120_enga_wificore.svd
│  │  │  │  │  ├── nrf7120_enga_wificore_peripherals.h
│  │  │  │  │  ├── nrf9120.h
│  │  │  │  │  ├── nrf9160.h
│  │  │  │  │  ├── nrf_mem.h
│  │  │  │  │  ├── nrf_peripherals.h
│  │  │  │  │  ├── system_nrf54l.c
│  │  │  │  │  │ system_nrf91_approtect.h
│  │  │  │  ├── samples
│  │  │  │  │  ├── src
│  │  │  │  │  │  ├── nrfx_saadc
│  │  │  │  │  │  │  ├── advanced_blocking
│  │  │  │  │  │  │  │  │ main.c
│  │  │  │  │  │  │  ├── advanced_non_blocking_internal_timer
│  │  │  │  │  │  │  │  │ main.c
│  │  │  │  │  │  │  ├── maximum_performance
│  │  │  │  │  │  │  │  │ main.c
│  │  │  │  │  │  │  ├── simple_blocking
│  │  │  │  │  │  │  │  │ main.c
│  │  │  │  │  │  │  ├── simple_non_blocking
│  │  │  │  │  │  │  │  │ main.c
│  │  │  │  ├── templates
│  │  │  │  │  ├── nrfx_config_common.h
│  │  │  │  │  ├── nrfx_config_nrf54h20_radiocore.h
│  │  │  │  │  ├── nrfx_config_nrf7120_enga_application.h
│  │  │  │  │  │ nrfx_config_nrf7120_enga_flpr.h
samples
│  ├── zephyr
│  │  ├── boards
│  │  │  ├── nordic
│  │  │  │  ├── system_off
│  │  │  │  │  ├── boards
│  │  │  │  │  │  ├── nrf7120pdk_nrf7120_cpuapp_emu.conf
│  │  │  │  │  │  │ nrf7120pdk_nrf7120_cpuapp_emu.overlay
│  │  │  │  │  │ sample.yaml
west.yml
zephyr
│  ├── drivers
│  │  ├── adc
│  │  │  ├── Kconfig.nrfx
│  │  │  │ adc_nrfx_saadc.c
│  │  ├── serial
│  │  │  │ uart_nrfx_uarte.c
│  │  ├── spi
│  │  │  ├── spi_nrfx_spim.c
│  │  │  │ spi_nrfx_spis.c
│  ├── dts
│  │  ├── bindings
│  │  │  ├── serial
│  │  │  │  │ nordic,nrf-uarte.yaml
│  │  │  ├── spi
│  │  │  │  │ nordic,nrf-spi-common.yaml
│  │  ├── vendor
│  │  │  ├── nordic
│  │  │  │  │ nrf54l_05_10_15.dtsi
│  ├── modules
│  │  ├── hal_nordic
│  │  │  ├── nrfx
│  │  │  │  │ nrfx_config.h
│  ├── samples
│  │  ├── drivers
│  │  │  ├── adc
│  │  │  │  ├── adc_dt
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54lm20dk_nrf54lm20a_cpuapp.overlay
│  │  │  │  ├── adc_sequence
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54lm20dk_nrf54lm20a_cpuapp.overlay
│  ├── tests
│  │  ├── boards
│  │  │  ├── nrf
│  │  │  │  ├── comp
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ test.c
│  │  ├── drivers
│  │  │  ├── adc
│  │  │  │  ├── adc_accuracy_test
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54lm20dk_nrf54lm20a_cpuapp.overlay
│  │  │  ├── spi
│  │  │  │  ├── spi_controller_peripheral
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp_cross_domain.overlay
│  │  │  │  │  │ testcase.yaml
│  │  │  ├── uart
│  │  │  │  ├── uart_elementary
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp_cross_domain.overlay
│  │  │  │  │  │ testcase.yaml
│  │ west.yml

Outputs:

Toolchain

Version: bd39d1676f
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:bd39d1676f_bba2ea5f2e

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ❌ Build twister
    • sdk-nrf test count: 8
    • sdk-zephyr test count: 979
  • ❌ Integration tests
    • ❌ test-sdk-audio
    • ❌ test-fw-nrfconnect-nfc
    • ❌ test-fw-nrfconnect-nrf-iot_cloud
    • ❌ test-fw-nrfconnect-nrf-iot_thingy91
    • ❌ test-fw-nrfconnect-nrf_crypto
    • ❌ test-fw-nrfconnect-rs
    • ❌ test-fw-nrfconnect-fem
    • ❌ test-low-level
    • ❌ test-sdk-dfu
    • ⚠️ test-fw-nrfconnect-nrf_lrcs_mosh
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-ps-main
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread-main
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@dhsu-nordic dhsu-nordic force-pushed the WEZEN-2900-wzn-add-support-for-systemoff-twister-tests branch from 982ad56 to c0a11f9 Compare May 13, 2025 13:57
Copy link

You can find the documentation preview for this PR here.

@dhsu-nordic dhsu-nordic force-pushed the WEZEN-2900-wzn-add-support-for-systemoff-twister-tests branch from cfe48cb to 1bbb05d Compare June 5, 2025 14:52
@nordic-segl
Copy link
Contributor

17:08:03  INFO    -  2/20 nrf7120pdk/nrf7120/cpuapp/emu nrf.extended.sample.boards.nrf.system_off.retained_mem.grtc_wakeup ERROR Build failure (build <zephyr>)

@dhsu-nordic
Copy link
Contributor Author

17:08:03  INFO    -  2/20 nrf7120pdk/nrf7120/cpuapp/emu nrf.extended.sample.boards.nrf.system_off.retained_mem.grtc_wakeup ERROR Build failure (build <zephyr>)

Hi. Yes, this test requires some registers from the MDKs that were not exposed to public. I'm in discussion with SAG team to rectify this at the moment.

@NordicBuilder
Copy link
Contributor

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.

@dhsu-nordic dhsu-nordic force-pushed the WEZEN-2900-wzn-add-support-for-systemoff-twister-tests branch from 1bbb05d to bb7984a Compare July 25, 2025 15:44
Add support for the nRF7120pdk for the systemoff samples:

- grtc_wakeup
- grtc_wakeup (memory retained)

Signed-off-by: Dhanoo Surasarang <[email protected]>
@dhsu-nordic dhsu-nordic force-pushed the WEZEN-2900-wzn-add-support-for-systemoff-twister-tests branch from bb7984a to 7891543 Compare July 25, 2025 16:32
@dhsu-nordic dhsu-nordic requested review from a team as code owners July 25, 2025 16:32
@NordicBuilder
Copy link
Contributor

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@bf5684e nrfconnect/sdk-zephyr@463374f (main) nrfconnect/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@dhsu-nordic
Copy link
Contributor Author

Temporary pointed west.yml to sdk-zephyr which contains NRFX 3.13.0.

CI failing due to other issue:
error: "NRF_GPIOHSPADCTRL" redefined [-Werror]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. manifest manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants