Commit graph

12,113 commits

Author SHA1 Message Date
Maochen Wang
a00577c1a8 samples: net: wifi: nxp: fix PEAP-TLS connection failure
The connection using EAP-PEAP-TLS with Cisco AP is failed for IW610, and
the console log shows 'Memory allocation failed (-0x3f80)'.
Increase the MBEDTLS_HEAP_SIZE for 10K can fix this issue.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-10-02 21:57:46 +02:00
Muhammad Waleed Badar
efe5a302db samples: fs_sample: add native_sim board support
Add native_sim conf and overlay

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-10-02 16:48:20 +02:00
Mario Paja
8fa7cbc8e3 samples: i2s: output: add nucleo_g431kb
Add nucleo_g431kb board in samples/drivers/i2s/output

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-10-02 16:47:45 +02:00
Chun-Chieh Li
ace1371146 samples: tflite_ethosu: support numaker_m55m1
This supports nuvoton numaker_m55m1 board, including.

Besides, re-organize for new target and Ethos-U support, including:
1. Keep only one model originally for MPS3 target
2. Add guide to regenerate Vela-compiled model for targets supporting
   Ethos-U
3. Support running non-Vela-compiled model for targets supporting no
   Ethos-U

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-10-02 15:15:49 +03:00
Chun-Chieh Li
9f58227bf1 samples: tflite_ethosu: fix unsafe thread stack allocation
It is unsafe to pass raw buffer as thread stack. Instead, use canonical
K_THREAD_STACK_DEFINE or friends to define thread stack.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-10-02 15:15:49 +03:00
Hieu Nguyen
34d863a072 samples: drivers: counter: Add Counter support for Renesas RZ/V2L, A3UL
Add Counter sample support for Renesas RZ/V2L-SMARC, RZ/A3UL-SMARC

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-02 09:31:28 +02:00
Jeppe Odgaard
f8a952f2fe include: drivers: sensor: add flow rate channel
Add flow rate to `enum sensor_channel` in litres per minute.

The SI unit for flow rate is cubic metres per second. Due to a sensor value
resolution of 1/100000 this unit is not granular enough for low flow rate
sensors.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-10-01 17:14:28 -04:00
Tomasz Moń
6bb4cb592a samples: usb: uac2: explicit: Fix SOF offset integer conversion glitch
Rework the formula used to convert timer CC values to SOF offset to
eliminate a "division glitch" happening around SOF crossing, i.e. when
the framestart shifts from being captured shortly before SOF to being
captured shortly after SOF.

When audio samples are consumed faster than nominal, i.e. when there
is +1 samples every now and then, the reported SOF offset at High-Speed
was going 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, "glitch" 7, 6, 5, 4, 3, 2,
1, 0, -1, -2, ...

With the fix the SOF offset goes as expected from 0 to -1, i.e. there is
no jump from 0 to 7 around the SOF crossing and the reported SOF offset
goes linearly (until it is correclty bumped from negative values back to
positive values when +1 sample packet is transmitted on I2S).

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-10-01 17:21:48 +03:00
Tomasz Moń
ff50dfb002 samples: usb: uac2: Support High-Speed operation
Allow the samples to work both at Full-Speed and High-Speed exposing the
same capabilities at both speeds.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-10-01 17:21:48 +03:00
Marek Matej
134042c014 tests,samples: boards: espressif: add missing psram0 node
Add missing psram0 node which is used to determine the memory size.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-10-01 17:21:07 +03:00
Declan Snyder
570b445a61 drivers: Convert to use SPI macro without delay parameters
Convert all drivers and other consumers to use SPI macros without the
delay parameters.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-01 14:39:36 +03:00
Fabrice DJIATSA
0336457f16 samples: net: allow nucleo_h753zi to run in CI
enable sample to run in CI on nucleo_h753zi.

related sample: ptp and zperf

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
75e90e5a9f samples: drivers: watchdog: allow nucleo_h753zi to run in CI
- enable sample to run in CI on nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
f37f3fd6fd samples: drivers: adc: adc_dt: allow nucleo_h753zi to run in CI
enable sample to run in CI on nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Fabrice DJIATSA
b1156d0bf4 tests: drivers: add nucleo_h753zi as integration platform
remove nucleo_h743zi from integration_platform and replace
with nucleo_h753zi.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-10-01 14:38:52 +03:00
Chris Friedt
5cbb2a421d posix: switch to using posix_time.h and posix_signal.h
To avoid conflicts between the C library's `time.h` and signal.h use an
"override" header (when necessary) for C libraries that do not themselves
provide POSIX definitions in `time.h` or `signal.h`.

V2

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-10-01 14:36:55 +03:00
Sebastian Głąb
745fd00517 samples: drivers: spi_bitbang: Enable sample on nrf54h20 PPR core
Add overlay required to run the sample on
nrf54h20dk/nrf54h20/cpuppr.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-01 14:36:33 +03:00
Derek Snell
40e5f73a7e boards: nxp: mimxrt1160_evk: improve zephyr,flash location for M4
- Fixes issue where zephyr,flash in ocram node overlaps with physical
  SRAM sram1 used for zephyr,sram.
- Moves default zephyr,flash from external flash to M4 ITCM to improve
  performance.
- Updates overlays that moved zephyr,flash to ocram now use default

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-10-01 08:12:43 +02:00
Derek Snell
ddc58c0795 boards: nxp: mimxrt1170_evk: improve zephyr,flash location for M4
- Fixes issue where zephyr,flash in ocram node overlaps with physical
  SRAM sram1 used for zephyr,sram.
- Updates overlays that moved zephyr,flash to ocram now use default

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-10-01 08:12:43 +02:00
Raffael Rostagno
f395f0e3cf samples: bluetooth: Add testcase for ESP32-H2
Add testcase for esp32h_devkitm, for CI build test.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-09-30 19:37:19 +02:00
Andrej Butok
22adf152dc fs: zms: nxp: Add .conf for frdm_mcxn236.conf
- Adds frdm_mcxn236.conf board configuration
  for ZMS sample and ZMS test.
- Its Flash write-size is 128, which requires special configuration.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2025-09-30 17:58:03 +03:00
Ayush Singh
df18487b3c samples: net: sockets: coap_server: Add 802154 subg support
- Tested with BeagleConnect Freedom.
- Also enable build in CI similar to echo_server/client

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-30 15:29:23 +03:00
Ayush Singh
d553207706 samples: net: sockets: coap_client: Add 802154 Subg support
- Tested with BeagleConnect Freedom.
- Also enable building in CI.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-09-30 15:29:23 +03:00
Peter Wang
060e05e22b boards: frdm_mcxa366: enable sample and test
1. enable enable sample and test for frdm_mcxa366

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-09-30 11:02:57 +02:00
Cristian Bulacu
ad4bac2f82 net: samples: openthread: border_router: Update project configuration
Generic:
- Enabled more OpenThread functionalities for Border Router application
NXP RCP:
- Set number of max RCP restoration count to 10

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-30 10:57:21 +02:00
Aksel Skauge Mellbye
f66dd94992 samples: bluetooth: peripheral_ht: Use dht0 temperature sensor
Use the temperature sensor with a dht0 alias if available in
the Bluetooth Health Thermometer sample. This alias is already
used by the sensor/dht_polling sample app for temperature
measurement, and is supported by several boards in the tree.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-09-29 12:47:43 -04:00
Bartosz Miller
b60633b3a6 drivers: i2c: Extend i2c testing on nrf54h20 PPR
Enable all possible i2c tests on CPUPPR

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-09-29 12:44:50 -04:00
Seppo Takalo
cc4e1d9946 samples: net: cellular_modem: Use static event handler
Use statically registered event handler.
Otherwise we might get stuck waiting for event that has already
happened.

Network events are not keeping the state.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-09-29 12:37:36 -04:00
Andrew Featherstone
29b3ba55d8 samples: rp2350: hazard3: Extend test to the Hazard3 core
All samples should pass on both the Cortex-M33 and the Hazard3 core.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Andrew Featherstone
e7cd7e4f2d soc: rp2350a: Extend tests and samples for the Hazard3 cores
All the samples and tests are applicable to both the Cortex-M33 and
Hazard3 cores, so most of these additions are thin shims.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2025-09-29 12:30:28 -04:00
Cristian Bulacu
3579d1cae9 samples: net: socket: echo_server: Restore generic openthread sample
Since multiple platforms than nrf are allowed to run this sample,
re-add generic openthread name for sample.

Initially, generic naming has been performed in #83195,
and then, a revert occurred in #87269

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-09-29 09:57:44 +02:00
Sylvio Alves
3b458043d8 samples: openthread: fix kconfig build warning
Fix Kconfig warnings by dropping NET_L2_IEEE802154_SHELL from the
OpenThread sample. This option depends on CONFIG_NET_L2_IEEE802154,
which is not selected in the sample, causing unmet dependency warnings.

Removing it lets the sample build cleanly without extra config noise.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-29 05:51:08 +02:00
Pieter De Gendt
93da92cfcb samples: modules: nanopb: Release decoded message
If CONFIG_NANOPB_ENABLE_MALLOC is enabled, any successfully decoded message
should be released.
Update the sample, to lead by example.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-26 16:02:34 -04:00
Sean O'Connor
d1a7d1dde1 samples: i2s: echo: Enable nRF53 MCK output in I2S sample
Enable the MCK output to a pin to allow for DAC and ADC clocking.
Provides a MCK source to peripherals that can utilize an external
clocking source for internal DSP processes, especially at higher
MCK/LRCK ratios.

Signed-off-by: Sean O'Connor <sean@standalone.tech>
2025-09-26 11:07:12 +02:00
Sean O'Connor
8115d9b453 drivers: i2s: nrfx: Allow MCK bypass for proper LRCK and MCK Ratios
nRF53 series SoCs have a dedicated configurable audio PLL and the ability
to enable MCK bypass via a register value CONFIG.CLKCONFIG. This can
enable higher MCK/LRCK ratios that some I2S peripherals require the host
to generate. Allow an application developer to choose if they want to
initially look for a bypass ratio and, if found, enable bypass in the
NRFX driver. If not, the standard MCK calculation is conducted as normal.

Signed-off-by: Sean O'Connor <sean@standalone.tech>
2025-09-26 11:07:12 +02:00
Muhammad Waleed Badar
0eb4000cd0 samples: rtc: add overlay for da14695 and da14699
Add overlay for da14695 and da14699 soc and rtc alias
for da1469x_dk_pro and da14695_dk_usb boards

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-09-26 11:07:02 +02:00
Yongxu Wang
208607d28a samples: drivers: uart: removed lpuart from an incompatible filter
Removed lpuart from sample.drivers.uart.async_api.console

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-26 09:12:18 +02:00
Jonas Berg
8f131295af boards: shields: Add Adafruit LTR-329 light sensor shield
The product photo is from https://learn.adafruit.com/assets/115230

Tested with the commmand mentioned in the index.rst file.

Compilation testing in CI of the overlay file is done via the
light_polling sample.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-26 09:09:26 +02:00
Fabrice DJIATSA
3c9d3b3457 samples: drivers: uart: async_api: update test configurations
- Deactivate cache to avoid the TX buffer being placed in a
  non-cacheable memory region for NUCLEO_F746ZG.
- Add missing configuration in the overlay for STM32F3-DISCO.
- Change USART1 to USART2 to avoid conflicts on NUCLEO_F103RB.


Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-09-25 14:19:53 -04:00
Etienne Carriere
c7b31f3957 samples: boards: st: power_mgmt remove standby_shutdown sample
Remove samples/boards/st/power_mgmt/standby_shutdown.

Sample standby_shutdown in boards/st/power_mgmt includes 2 examples.
One demonstrates wakeup from shutdown using a wakeup pin which is already
implemented in samples/boards/st/power_mgmt/wkup_pins. The other
demonstrates wakeup from SoC STANDBY mode using a wakeup pin. However
it enters SoC STANDBY mode through pm_state_force() whereas
STANDBY mode is not a PM standby or idle state, it is rather a shutdown
with possibly only a unique small SRAM retention, not allowing retention
of the system as expected from Zephyr standby or idle state flavors.
Therefore this second scenario is not applicable and can be removed.

Update doc redirection to link removed sample documentation to ST board
power management related samples documentation.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-09-25 14:19:44 -04:00
Sylvio Alves
2ace07774d samples: boards: espressif: update board reference
As esp32s3_devkitm does not provide SPIRAM, change test
to use esp32s3_devkitc instead.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-09-25 14:19:32 -04:00
Lucien Zhao
28530bc768 samples: subsys: ipc: openamp: correct mpu attribution
- Set ocram2_sh_mem attribution as ATTR_MPU_RAM_NOCACHE

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-09-25 14:17:57 -04:00
Khoa Tran
6fc44ec47a samples: drivers: counter: Add support for alarm on mck_ra8t2
Add support for sample app `alarm` on Renesas mck_ra8t2

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-09-25 11:02:54 +02:00
Tomas Galbicka
3b8f382e9e boards: NXP RT700 Add support for CM33 multicore
This commit adds multicore support to boot secondary CM33 CPU1 core.
 - Adds Flash partition for CM33 CPU0
 - Boots secondary core

Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
2025-09-25 10:58:01 +02:00
Yongxu Wang
b3e04f00ff samples: ipc: openamp: fix typo in samples comment
Fixing a typo in openamp samples comment

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-09-25 09:21:52 +02:00
Khoa Nguyen
4e5cf920f1 samples: subsys: ipc: ipc_service: Add support for ek_ra8p1
Add support sample app `ipc_service/icmsg` and
`ipc_service/static_vrings` for ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
f8fbc6b788 samples: subsys: ipc: openamp: Add support for ek_ra8p1
Add support sample app `openamp` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
3e4e46e2e4 samples: drivers: mbox_data: Add support mbox_data for ek_ra8p1
Add support sample app `mbox_data` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Khoa Nguyen
e17ee8ccc8 samples: drivers: mbox: Add support sample mbox for ek_ra8p1
Add support sample app `drivers/mbox` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-09-25 09:19:57 +02:00
Vinit Mehta
80a05768b9 samples: bluetooth: bap_broadcast: add LIBLC3 support for MIMXRT1062
-Add LC3 encode/decode support for bap broadcast examples for
i.MXRT1062 based platform

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2025-09-25 09:19:38 +02:00