Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@
/samples/wifi/provisioning/softap/*.rst @nrfconnect/ncs-cia-doc
/samples/zephyr/basic/blinky/ @nrfconnect/ncs-low-level-test @nrfconnect/ncs-ll-ursus
/samples/zephyr/bluetooth/ @nrfconnect/ncs-low-level-test
/samples/zephyr/boards/nordic/nrfx/ @nrfconnect/ncs-low-level-test
/samples/zephyr/boards/nordic/spis_wakeup/ @nrfconnect/ncs-low-level-test
/samples/zephyr/boards/nordic/system_off/ @nrfconnect/ncs-low-level-test
/samples/zephyr/drivers/adc/ @nrfconnect/ncs-low-level-test
Expand Down
11 changes: 11 additions & 0 deletions samples/zephyr/boards/nordic/nrfx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Copyright (c) 2026 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(nrf_nrfx)

target_sources(app PRIVATE ${ZEPHYR_BASE}/samples/boards/nordic/nrfx/src/main.c)
1 change: 1 addition & 0 deletions samples/zephyr/boards/nordic/nrfx/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source "samples/boards/nordic/nrfx/Kconfig"
4 changes: 4 additions & 0 deletions samples/zephyr/boards/nordic/nrfx/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This sample extends the same-named Zephyr sample to verify it
with Nordic development kits.

Source code and basic configuration files can be found in the corresponding folder structure in zephyr/samples/boards/nordic/nrfx.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_NRFX_GPIOTE20=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/ {
aliases {
led0 = &led1; /* LED1 is on gpio1 pin 10 */
sw0 = &button0; /* Button0 is on gpio1 pin 13 */
};
};

&gpio1 {
status = "okay";
gpiote-instance = <&gpiote20>;
};

&gpiote20 {
status = "okay";
owned-channels = <0 1>;
};
4 changes: 4 additions & 0 deletions samples/zephyr/boards/nordic/nrfx/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CONFIG_GPIO=n
CONFIG_LOG=y
CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=100
CONFIG_NRFX_GPPI=y
18 changes: 18 additions & 0 deletions samples/zephyr/boards/nordic/nrfx/sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sample:
name: nrfx use example
tests:
nrf.extended.sample.boards.nrf.nrfx:
platform_allow:
- nrf7120dk/nrf7120/cpuapp
integration_platforms:
- nrf7120dk/nrf7120/cpuapp
tags:
- ci_samples_zephyr_boards_nordic_nrfx
- board
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "nrfx_gpiote initialized"
- "\\(D\\)PPI configured, leaving main()"
5 changes: 5 additions & 0 deletions scripts/ci/tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1635,6 +1635,11 @@ ci_samples_zephyr_drivers_mbox:
- nrf/samples/zephyr/drivers/mbox/
- zephyr/samples/drivers/mbox/

ci_samples_zephyr_boards_nordic_nrfx:
files:
- nrf/samples/zephyr/boards/nordic/nrfx/
- zephyr/samples/boards/nordic/nrfx/

ci_samples_zephyr_boards_nordic_spis_wakeup:
files:
- nrf/samples/zephyr/boards/nordic/spis_wakeup/
Expand Down