Commit graph

12,113 commits

Author SHA1 Message Date
Emil Gydesen
3db5c6f1d1 samples: Bluetooth: BAP: Sink: Reverse in/out terminology
In USB "in" refers to data going from device to host,
and "out" refers to data going from host to device.

From a BT perspective "usb_in" then refers to the data
we send from the device to the host, that has been received
over BT.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-11 18:09:52 +01:00
Piotr Kosycarz
9df679094c samples: sensor: light_polling: fix running with twister
- use harness console (instead of default ztest)
- use platform_allow to limit build execution scope
(actually, there is also shield needed)

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-09-11 18:09:23 +01:00
Holt Sun
964d418701 samples: rtc: support NXP boards.
Add confs for nxp boards.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-09-11 18:07:59 +01:00
Jakub Klimczak
86e9e636b5 samples: subsys: console: echo: Add VIRTIO Console overlay
Add overlay files for testing the VIRTIO Console device with
this sample along with a section in the README.

Signed-off-by: Jakub Klimczak <jklimczak@internships.antmicro.com>
2025-09-11 06:26:02 -04:00
Khoa Nguyen
be5c800db7 samples: boards: renesas: Add support comparator for ek_ra8p1 cm33
Add support sample ``renesas/comparator`` for Renesas ek_ra8p1 cm33

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-11 09:53:13 +02:00
Khoa Nguyen
0e67325305 samples: drivers: counter: Add support alarm for ek_ra8p1 cm33
Add support sample ``alarm`` for Renesas ek_ra8p1 cm33

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-11 09:53:13 +02:00
Fabio Baltieri
2134fbcecf samples: dap: add rpi_debug_probe support
This board is actually meant to be used as a debug probe and has
dedicated connectors for DP and target UART, add an overlay to make both
work on the dap sample.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-09-10 22:37:40 -04:00
Bill Waters
d18dd9d3cf drivers: pwm: Infineon: updates to PWM driver sample files
* Updates the overlay files for samples/basic/blinky_pwm and
samples/basic/fade_led to run on the cyw920829m2_evk board.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-09-10 16:38:19 +02:00
Bill Waters
8e1f2c70de drivers: pwm: Infineon: replace cat1 naming with tcpwm
* Changes driver naming to reflect hardware IP being used (TCPWM)
instead of referencing cat1.  Cat1 is an internal infineon
reference which has little meaning to users and is being phased
phased out.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-09-10 16:38:19 +02:00
Ravi Dondaputi
565de32c9a samples: net: wifi: Add AES-only certificates
Add AES-only cipher certificates. Useful for systems which
have only AES support and DES is not enabled.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2025-09-10 13:08:52 +02:00
Andrzej Głąbek
10740d63a5 samples: code_relocation_nocopy: Update configuration for nRF54H20 DK
It is no longer needed to specify the read command parameters in dts,
as the flash driver is capable of obtaining those from SFDP structures,
so the redundant properties are removed.

After commit 612fd940fa got merged, both
the EXMIF and flash nodes in dts are not enabled by default so this
needs to be done in the overlay.

Although nrfutil is still not capable of programming the external
flash on nRF54H20 DK, thus `west flash` will not work in this case,
`nrf54h20dk/nrf54h20/cpuapp` is added as an allowed platform so that
the sample is at least built in CI for it.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-09-10 13:02:01 +02:00
Duy Vo
e5dbc1d147 samples: subsys: crc: add samples for CRC subsystem
Add samples for CRC subsystem

Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
2025-09-10 08:26:32 +02:00
Duy Vo
121aeab9b6 samples: drivers: crc: add samples for CRC driver
Add samples for CRC driver

Signed-off-by: Duy Vo <duy.vo.xc@bp.renesas.com>
2025-09-10 08:26:32 +02:00
Jonas Berg
835275caa3 boards: shields: Add Sparkfun Environmental Combo shield
Product photo from
https://www.sparkfun.com/sparkfun-environmental-combo-breakout-ens160-bme280-qwiic.html

Tested with the commands mentioned in index.rst

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-09 20:42:26 -04:00
Jonas Berg
e2681b3d10 boards: shields: Add Sparkfun SHTC3 humidity sensor shield
Product photo from
https://www.sparkfun.com/sparkfun-humidity-sensor-breakout-shtc3-qwiic.html

Tested with the command mentioned on the index.rst page.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-09 20:42:12 -04:00
Johann Fischer
240d99f325 samples: usb: hid-keyboard: allow disabling of remote wakeup
Allow disabling of remote wakeup in cases where a driver does not
support remote wakeup or where the functionality is not desired.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-09-09 21:59:34 +02:00
Benjamin Cabé
4da532c38f boards: doc: arm: fvp_baser_aemv8r: documentation cleanup
Consolidate board documentation into a single page to avoid duplication
and, more importantly, ensure the board documentation is properly
displayed in the documentation website.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-09 17:27:38 +02:00
Emil Gydesen
5734d7e5cd Bluetooth: Audio: Use generic sys_count_bits to count bits
Instead of re-implementing or assuming that POPCOUNT is available
we now use the generic function from Zephyr.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-09 17:27:15 +02:00
Benjamin Cabé
6de7702910 boards: doc: native_sim: adopt zephyr-board directive
Update documentation of native_sim to leverage zephyr-board Shinx magic,
in particular the ability to generate the table of supported HW
features.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-09 10:12:00 -04:00
Benjamin Cabé
1852f9ce52 shields: add MikroE ILLUMINANCE Click shield
Adds support for the MikroE ILLUMINANCE Click shield

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-09 11:49:29 +02:00
Martin Hoff
301bd161db samples: adc_dt: correct pin allocation for xg29_4412a
Change the pin configuration (xg9_rb4412a) for the IADC to allocate
odd bus 0 on GPIO port C/D instead of GPIO port B, allowing access to
pin PD3.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-09-09 07:35:59 +02:00
Sebastian Bøe
789f3cea8c soc: nordic: ironside: Update boot report structures and error codes
Restructure the IronSide boot report interface with enhanced error
reporting and boot context information.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2025-09-08 16:01:46 +02:00
Erik Sandgren
1dadb5df2c samples: Bluetooth: Print that sample does not support > 1 subevent
This commit adds a print statement to both connected_cs_initiator and
connected_cs_reflector which will inform the user that the sample cannot
handle more than 1 CS subevent per CS procedure.

This is preferable over the sample failing silently if a user is
attempting to use such a configuration.

Signed-off-by: Erik Sandgren <erik.sandgren@nordicsemi.no>
2025-09-08 16:00:56 +02:00
Erik Sandgren
e135588a31 samples: Bluetooth: Update params in connected CS sample
This change is made to fix the currently broken CS samples, to prevent
them from just printing error messages like:
`Channel sounding not enough memory to store step data (530 > 512)`.

This change updates the CS config and procedure parameters. The
intention with the updated parameter selection is to use parameters that
result in:
- CS procedures with only a single CS subevent per procedure. This is
  required because the samples are not designed to support > 1 subevent
  per procedure and the samples will break down if > 1 subevent per
  procedure is generated.
- A limited number of CS steps per procedure. This is achieved by
  setting `.channel_map_repetition = 1` and only enabling a limited set
  of channels in the channel map. This is required because the samples
  are designed to transfer all of the step data from one procedure, from
  the reflector to the initiator, using a single GATT write operation
  which is limited to 512 bytes.

Signed-off-by: Erik Sandgren <erik.sandgren@nordicsemi.no>
2025-09-08 16:00:56 +02:00
Kyle Micallef Bonnici
177bd7289b devicetree: format files in samples/tfm_integration
Applying dts-linter results for format files in

samples/tfm_integration

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
02f1c8d86c devicetree: format files in samples/subsys
Applying dts-linter results for format files in

samples/subsys

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
62750836ce devicetree: format files in samples/shields
Applying dts-linter results for format files in

samples/shields

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
ec0c3d93dc devicetree: format files in samples/sensor
Applying dts-linter results for format files in

samples/sensor

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
f6bb5dfecc devicetree: format files in samples/net
Applying dts-linter results for format files in

samples/net

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
48713d0263 devicetree: format files in samples/modules
Applying dts-linter results for format files in

samples/modules

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
66ddbaf45f devicetree: format files in samples/drivers
Applying dts-linter results for format files in

samples/drivers

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
b12160ba3e devicetree: format files in samples/boards
Applying dts-linter results for format files in

samples/boards

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
a9335b7ee8 devicetree: format files in samples/bluetooth
Applying dts-linter results for format files in

samples/bluetooth

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Kyle Micallef Bonnici
dafb63bfc7 devicetree: format files in samples/basic
Applying dts-linter results for format files in

samples/basic

Signed-off-by: Kyle Micallef Bonnici <kylebonnici@hotmail.com>
2025-09-08 10:23:22 +01:00
Tomasz Chyrowicz
7a54526de0 samples: Enable Direct XIP through sysbuild
Enable Direct XIP with revert MCUboot mode through sysbuild
configuration.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2025-09-08 09:59:18 +01:00
Aaron Ye
b7f7f7b54f samples: logging: logger: Add sample case for SWO logger
Add the SWO logger test item to the logger sample. Also add the
logging tag to the tested platform.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-09-08 09:48:44 +02:00
Tomáš Juřena
c1bbed6fab samples: boards: st: power_mgmt: blinky: Enable NUCLEO-C071RB
Enables the NUCLEO-C071RB board to the blinky sample to be run by twister.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-09-08 09:48:12 +02:00
Benjamin Cabé
08e41ca0ba include: drivers: lora: follow naming scheme for doxygen group
Minor changes so that LoRa API uses the same naming scheme as other
device drivers.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
1d2b03feb3 include: drivers: edac: follow naming scheme for doxygen group
Minor changes so that edac API uses the same naming scheme as other
device drivers.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Alessandro Manganaro
c53d1facde samples: bluetooth: peripheral_hr: adding stm32wba configuration
Adding configuration to facilitate the testing of
stdby BLE feature for stm32wbax nucleo boards

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-09-06 08:40:02 +02:00
Benjamin Cabé
76e22343e0 shields: add MikroE AMBIENT-2 Click shield
Adds support for the MikroE AMBIENT-2 Click shield

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-05 17:10:33 +02:00
Mario Paja
faf1919bd9 samples: i2s: output: add nucleo_l432kc
Add nucleo_l432kc in samples/drivers/i2s/output

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-09-05 17:10:15 +02:00
Sylvio Alves
10ac1260bb samples: openamp: espressif: move configs from SoC to board level
Previously, the openamp sample enabled ESP32/ESP32S3 SoCs directly,
which caused all SoCs of these families to be included in the testcase.
However, only a subset of boards is actually supported and mapped in
Kconfig.sysbuild.

To avoid applying defaults to unsupported boards, move the configuration
out of the SoC directory and into board-specific files. This ensures that
only the intended boards are targeted by the openamp sample and avoids
misleading test coverage.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-05 17:10:03 +02:00
Yangbo Lu
ff0ab71291 samples: net: vlan: add imx943_evk_mimx94398_m33_ddr target support
Added imx943_evk_mimx94398_m33_ddr target support for vlan.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-09-05 13:46:45 +02:00
Yangbo Lu
4d06ea1f07 samples: net: vlan: add mimxrt1180_evk_mimxrt1189_cm33 target support
Added mimxrt1180_evk_mimxrt1189_cm33 target support for vlan.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-09-05 13:46:45 +02:00
Josuah Demangeon
190cde1f25 samples: usb: shell: update the output in the README
Update the USB shell sample to the new syntax. This is based on tests
done with native_sim, along with the virtual.conf, virtual.overlay and
device_and_host_prj.conf extra config files.

Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
2025-09-05 13:45:30 +02:00
Khoa Nguyen
9a7a2b008f samples: drivers: jesd216: Add support for qspi_nor for RA
Add support for qspi_nor for the sample jesd216 to run sample
on Renesas RA6 boards

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-05 12:26:44 +02:00
Khoa Nguyen
82f9734a2c samples: drivers: spi_flash: add support for qspi Renesas RA
Add support for qspi Renesas RA to run the sample spi_flash

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-05 12:26:44 +02:00
Sean Kyer
e4fb01c66b cpu_freq: Add CPU Frequency Scaling subsystem
Add a CPU frequency scaling subsystem, allowing a policy
algorithm to control the frequency of a given SoC/MCU
automatically at runtime.

Implement a basic, "on-demand" policy algorithm which
iterates through the P-states supported by the SoC and
selects the first P-state where it's trigger threshold is
less than the CPU load.

The CPU frequency scaling subsystem does not currently
support SMP. The CPU load measurement can be made to support
SMP since statistics are measured from the scheduler.

Co-authored-by: Eric Hay <Eric.Hay@analog.com>
Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
2025-09-05 07:43:56 +02:00
Jiafei Pan
c7578b00dd samples: dsa: add imx943_evk A55 CPU Core support
Added overlay and conf file, updated board document.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-09-05 07:43:28 +02:00