Commit graph

12,113 commits

Author SHA1 Message Date
Jordan Yates
7e3c5ab2bb samples: net: nsos: remove CONFIG_HEAP_MEM_POOL_SIZE
Remove the explicit setting of `CONFIG_HEAP_MEM_POOL_SIZE` from NSOS
samples, letting the build system construct the heap size from Kconfig
options.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-01-15 11:09:33 +00:00
Bill Waters
12d68dc496 samples: drivers: counter: alarm: kit_psc3m5_evk
Updating overlay file for the kit_psc3m5_evk board
to work with device tree updates.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2026-01-15 11:07:33 +00:00
Sara Touqan
a0918b6ed2 samples: mspi_flash: add clock-frequency in STM32 DTS files
Add clock-frequency property under some overlay files.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Lyle Zhu
6531d415b6 sample: Bluetooth: HFP_AG: Make global variables static
Make global variables static in the HFP AG sample to improve
encapsulation and avoid potential symbol conflicts.

Change the following variables from global to static scope:
- hfp_ag
- hfp_ag_call
- discover_work
- call_connect_work
- call_disconnect_work
- call_remote_ringing_work
- call_remote_accept_work

These variables are only used within main.c and do not need to be
externally visible.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-15 11:05:12 +00:00
Lyle Zhu
8ca34066c6 sample: Bluetooth: HFP_AG: Support voice transmission and playback
Add PCM and CODEC support for voice streaming in the HFP AG sample.

Implement PCM interface to handle voice data transmission between the
Bluetooth controller and the application using I2S driver.

Implement CODEC interface to handle voice playback and capture using
I2S and audio codec drivers.

Add bidirectional voice streaming: capture voice from CODEC and
transmit through PCM when SCO connection is established, and receive
voice from PCM and playback through CODEC.

Initialize PCM and CODEC interfaces based on the SCO air mode (CVSD or
mSBC) when SCO connection is established.

Add codec negotiation callbacks to support codec selection.

Enable codec negotiation and mSBC codec support for mimxrt1170_evk
board.

Add configuration options for audio transfer interval, buffer counts,
and thread priorities for both PCM and CODEC RX threads.

Update documentation with voice streaming topology diagram and running
instructions.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-15 11:05:12 +00:00
Robert Robinson
bb042f0be8 tests: Add support for nRF7120 to CI tests
Initial porting of nRF7120 to zephyr requires support for a number of
tests that are run as part of the CI. This commit adds the support.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Mohamed Moawad
c75ee62562 soc: arc_iot: add configurable custom CPU idle for UART retention
The ARC IoT SoC (used on iotdk board) has a hardware limitation where
entering CPU sleep mode causes some peripherals (e.g., UART) to lose
power, preventing the board from waking up via peripheral interrupts.

Add a configurable custom CPU idle option (CONFIG_ARC_IOT_CUSTOM_CPU_IDLE)
that enables interrupts without executing the sleep instruction. This
allows the system to remain responsive while keeping peripherals powered.

The option defaults to disabled (n) to preserve normal CPU sleep behavior
for most use cases. Tests that require continuous UART operation during
idle (pytest/shell harnesses) can enable it via platform-specific
extra_configs.

This approach allows timer-based idle to work correctly by default while
providing a workaround for tests that need UART retention.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2026-01-14 13:00:22 -06:00
Marek Matej
34757ac269 samples,tests: remove obsolete overlays
Remove wifi enabling overlays that became obsolete.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-01-14 09:15:48 -06:00
Lyle Zhu
8dca624355 doc: bluetooth: reorganize Classic API documentation into subdirectory
Reorganize Bluetooth Classic API documentation by moving existing files
(SDP, RFCOMM, A2DP, HFP) into a new `classic/` subdirectory and adding
new documentation files for L2CAP BR/EDR, AVRCP, GOEP, and BIP.

Changes include:
- Move existing Classic API docs to subdirectory `classic/`
- Add new L2CAP BR/EDR documentation
- Add AVRCP, GOEP, and BIP API reference documentation
- Update HFP documentation to include both HFP Unit and HFP-AG sections
- Update index.rst to reflect new directory structure
- Add Doxygen group documentation to AVRCP header
- Update AVRCP Cover Art to be a subgroup of AVRCP
- Fix L2CAP BR/EDR Doxygen group name and description

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 09:57:38 +01:00
Jonas Berg
c9d5d2f62f boards: shield: Add Adafruit MAX17048 fuel gauge shield
Compile testing of the overlay file is done via the fuel-gauge
sample.

Product photo from https://learn.adafruit.com/assets/123027
with the license CC BY-SA 3.0

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-14 09:54:36 +01:00
Manojkumar Konisetty
cc7c11f6d2 samples: sensor: mpu6050: boards: Add overlay file
- Add an overlay to enable mpu6050 sensor sample.
- Contains configurations for I2C bus and Clock

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
ad1b041608 samples: sensor: bme280: boards: Add overlay file
- Add an overlay to enable bme280 sensor sample.
- Contains configurations for I2C bus and Clock

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Lukasz Majewski
6628f16231 samples: net: doc: Add information to build and test the T1S driver
This commit provides information regarding building and executing stress
tests for LAN8651 based 10BASE T1S ethernet connection.

The LAN8651 is connected to nucleo_g474re board.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
fbeb78fe6b net: samples: dts: spi: Enable LAN8651 (SPI) for T1S (echo_server)
This commit provides device tree description of the LAN8651 T1S
device to work with echo_server sample program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
b86999a7b0 net: samples: dts: spi: Enable LAN8651 (SPI) for T1S (zperf)
This commit provides device tree description of the LAN8651
T1S device to work with zperf performance test program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
65e4958f10 net: samples: echo_server: Add configuration for T1S - nucleo_g474re
This patch provides configuration to run T1S (OA_TC6) driver with
echo_server test program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Lukasz Majewski
c2a3803b0f net: samples: zperf: Add configuration for T1S - nucleo_g474re
This patch provides configuration to run T1S (OA_TC6) driver with
zperf test program.

Signed-off-by: Lukasz Majewski <lukma@nabladev.com>
2026-01-13 15:20:53 +01:00
Tim Pambor
427f872a56 samples: net: sockets: http_server: fix buffer undeclared error
Fix regression introduced in commit ddaeb13 which removed the
'buffer' function parameter from the dynamic endpoint callback
function signature but did not update the http_server sample
accordingly.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-13 13:35:07 +01:00
Gaetan Perrot
ec85cddd15 samples: fs: fs_sample: fix typo in board overlay files
Fix a typo in several filesystem sample board overlay files where
'parition' was used instead of 'partition'.

This is a spelling-only change with no functional impact.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 13:34:38 +01:00
Robert Lubos
735f16f12f samples: net: mdns_responder: Verify accept() result in echo server
The mdns_responder sample has a simple TCP echo server running, however
the accept() function errors were ignored, making the server defunct in
case server socket started to report errors (for example when network
went down).

Update the sample to restart the echo server in case of accept() errors
to make the sample more reliable.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-13 13:33:49 +01:00
Johann Fischer
cfd748fff1 dap: add header and macro to instantiate DAP context
Although we have the three layers, SWDP driver API, DAP stack, and USB
backend, to implement a debug probe, there is no way for the user to
instantiate the DAP context, which would allow it to be used with
different backends or to change the configuration at runtime.

The Debug Access Port (DAP) is an implementation of the ARM Debug
Interface (ADI) that is typically integrated into SoC.
With all three layers, we implement a link to the DAP on the SoC.
Let's call it Zephyr DAP Link and use the dap_link prefix. There is also
a MBED DAPLink project that implements similar functionality, but using
a different name would likely cause more confusion.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2026-01-13 10:16:27 +01:00
Camille BAUD
de939ab796 boards: bflb: update ai_m61_32s for PWM
Adds PWM nodes and samples

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
12aa44edbd boards: bflb: update ai_wb2_12f for PWM
Adds PWM nodes and samples

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Camille BAUD
cafc6a9c73 boards: bflb: update ai_m62_12f for PWM
Adds PWM nodes and samples

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 10:13:04 +01:00
Piotr Kosycarz
f16c568c99 samples: boards: nordic: coresight_stm: enable uart at rtt config
Enable uart logging as it is required for testing.
Can be used at the same time with RTT.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2026-01-12 12:42:45 -06:00
Grzegorz Chwierut
ca26f143f0 samples: sysbuild: hello_world: Skip test if no second UART
If a second UART was not configured in the hardware map, then skip
the testcase instead of failing.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-12 12:41:31 -06:00
Gaetan Perrot
311769564c samples: sensor: soc_voltage: fix error propagation
print_voltage() always returned success even when sensor operations
failed, making the error check in main() dead code.

Return the actual error codes so failures are correctly propagated
to the caller.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-12 12:40:51 -06:00
Liam Ogletree
256f043644 samples: cs40l5x: Support CRD40L50 demonstration board
Add CRD40L50 board support to the CS40L5x sample application and update
documentation accordingly.

Signed-off-by: Liam Ogletree <liam.ogletree@cirrus.com>
2026-01-12 12:37:28 -06:00
Sylvio Alves
3ff8115439 samples: bluetooth: hci_pwr_ctrl: remove unnecessary config
Remove CONFIG_BT_CTLR_ADVANCED_FEATURES from prj.conf. This option
only controls visibility of advanced features in menuconfig and is
not required by the sample. It also depends on BT_LL_SW_SPLIT which
is not available on all platforms (e.g., ESP32 uses a closed-source
controller blob).

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:34:47 -06:00
Armando Visconti
5372b41979 sensor/lsm6dsvxxx: change DT common prop names
The Device Tree property names that are common to lsm6dsv16x and
lsm6dsv32x drivers are now prefixed with LSM6DSVXXX_ (and not
LSM6DSV16X_) just for the sake of clarity.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Muhammed Asif
e92fe156f9 samples: watchdog: sam_e54_xpro: Adds the overlay for the board
- Adds the overlay for sam_e54_xpro board in the sample for watchdog.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Phuc Pham
8a50020b7a samples: drivers: adc: Add ADC support for Renesas RZ/A2M
Add ADC samples support for board RZ/A2M-EVK

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00
Anton Puppe
3e7b47f7c4 samples: video: capture: Add STM32N6570_DK to sample documentation
Add docs (wiring, build etc.) for the stm32n6570_dk board with the
st_b_cams_imx_mb1854 camera shield (based on an IMX335).

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-01-11 13:05:34 +01:00
Anton Puppe
4cd4b75159 samples: video: capture: Add option to allow shell and capture together
Add Kconfig option VIDEO_SHELL_AND_CAPTURE to allow the capture to run
even if the video shell is enabled. Also, add delta time between frames
to log output. This enables testing of on-the-fly framerate changes.

Signed-off-by: Anton Puppe <anton-noel-flynn.puppe@zeiss.com>
2026-01-11 13:05:34 +01:00
Tim Pambor
d40c003513 net: http_server: Add transaction complete status
When the response has been sent completely to the client, the server
reports the new `HTTP_SERVER_TRANSACTION_COMPLETE` status. Together with
the existing `HTTP_SERVER_TRANSACTION_ABORTED` status, the application
can now also for successful completions of requests clean up any
resources allocated for handling the request.

This especially allows to dynamically allocate the response buffer
passed to the server in the request callback and free it when the
request is done.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-11 13:04:52 +01:00
Tim Pambor
43d3387634 net: http_server: clarify naming of HTTP server callback status enum
Rename enum http_data_status to enum http_transaction_status
to better reflect its purpose, which is to indicate the status of the
overall HTTP transaction, not just data transfer.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-01-11 13:04:52 +01:00
Jonas Berg
2e6955100e samples: servo-motor: Add overlay for Cytron Maker Pi RP2040
Enable servo port GP12. Add commented-out entries for the other ports,
as is done for the other overlay files.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-11 13:04:03 +01:00
Gang He
19a592fa10 samples: drivers: audio: Add codec loopback sample.
Add audio loop back sample

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Ederson de Souza
e76a584fc9 samples: tfm_integration: tfm_secure_partition: Add test for SFN backend
With SFN support in the sample back, let's test it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-09 17:08:56 -06:00
Ederson de Souza
e53da36164 samples: tfm_integration: tfm_secure_partition: Support SFN backend
When support for old "Library model" was removed, support for the new
Secure Function (SFN) model - the FF-M 1.1 spec that succeded the "Library
model" - wasn't implemented. This patch adds it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-01-09 17:08:56 -06:00
Lauren Murphy
69ce125083 twister, west: test extra_conf_files arg to EXTRA_CONF_FILE
The extra_conf_files arg in testcase.yaml was being improperly
assigned to the CONF_FILE CMake arg, which caused
configuration_files.cmake to ignore soc and board Kconfig overlays.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-01-09 14:22:41 -06:00
Krzysztof Chruściński
48978f876e samples: boards: nordic: coresight_stm: Add RTT configuration
Add sample configuration that uses RTT backend for STM logging.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-01-09 13:09:04 +01:00
Zafer SEN
22d4c66676 samples: modem: hello_hl78xx: add auto-baud support and log current baud
Enable HL78XX modem auto-baudrate detection and switching in the sample
application. Set 921600 bps as the target baudrate with fallback options
(9600, 115200, 57600, 38400, 19200). Also read and log the current baudrate
from the modem during startup.

This helps verify and debug communication speed mismatches between the
modem and the device UART.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
c64ae3b936 samples: modem: hello_hl78xx: select RSSI or RSRP based on RAT mode
The sample previously always queried RSRP, which is not valid when the
HL78xx operates in GSM mode. Use RSSI when GSM RAT is active and RSRP
for other RATs. Update the log output and rename the variable for
clarity.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
5ed6ed5215 samples: modem: hello_hl78xx: demonstrate AirVantage FOTA API
Add support for handling AirVantage WDSI indications in the sample
application. FOTA update progress, download requests, and completion
events are processed and coordinated using a new semaphore. The sample
can restart its connection workflow after a successful firmware update.

Additional updates include:
- add serial number retrieval and logging
- add fota_complete_rerun semaphore and status tracking
- simplify debug logging in event listener and OK handler
- reorganize main loop to support FOTA-triggered reruns

This aligns the sample with the modem driver's expanded AirVantage and
WDSI support.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
f26880b213 samples: modem: hello_hl78xx: remove POSIX API dependency
The sample no longer requires the POSIX API layer, so the
CONFIG_POSIX_API option is removed from prj.conf. The code is updated to
use the native zsock_* APIs instead of the POSIX getaddrinfo(),
inet_ntop(), and freeaddrinfo() variants.

This aligns the sample with Zephyr’s preferred socket API and avoids
pulling in unnecessary POSIX compatibility layers.

No functional behavior is changed.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Zafer SEN
0ffe90c233 samples: modem: hello_hl78xx: restructure prj.conf and verbose overlay
Reorganize the sample configuration files for clarity and easier
maintenance. This introduces grouped sections with descriptive comments
and improves consistency between prj.conf and the verbose-logging
overlay.

Main updates:
* Add structured headers for system, UART, networking, modem, RAT,
  AirVantage, shell, and logging settings
* Expand verbose overlay with clearer purpose, build notes, and grouped
  modem logging options
* Improve readability by aligning comments and collecting related
  options
* No functional behavior is changed; this is a documentation and
  structure improvement

These changes make the sample configuration easier to understand and
simplify future maintenance.

Signed-off-by: Zafer SEN <zafersn93@gmail.com>
2026-01-09 10:38:39 +01:00
Marek Slowinski
1db1e69250 mpfs_icicle: Add renode overlay to cmsis_rtos_v1.philosopher tests
Tune quantum parameter for selected kernel tests
targeting mpfs_icicle platform.

Those tests require higher fidelity of the virtual
time flow which is achievable on multi-core platforms
in Renode by reducing the quantum.

Increase time resolution to 10us (default is 100us).
It is a maximum drift of the virtual time between
simulated processors in SMP configuration.

Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
2026-01-08 08:33:23 -05:00
Aleksandr Khromykh
e6bb053efe samples: bluetooth: mesh: disable key sync for mesh provisioner
Commit disables key synchronization for mesh provisioner sample
to not refactor it according to key synchronization implementation.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-01-08 11:58:09 +00:00
Lane Westlund
97f4a67187 doc: fix additional instances of build/built typos
In some cases, "is build" was written instead of "is built"

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-08 09:51:08 +01:00