Commit graph

12,113 commits

Author SHA1 Message Date
Alain Volmat
c795dc5ed7 samples: video: tcpserversink: fix stm32 venc max buffer size
The CONFIG_VIDEO_BUFFER_POOL_SZ_MAX represent the size of the
biggest buffer in the pool size and not the whole pool size.
For the stm32-venc this should be 1-000-000 and not 10-000-000.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-12-23 19:49:00 +00:00
Zhaoxiang Jin
0f9dcd8a3c samples: sensor: mcux_lpcmp: Update board overlays for lpcmp
Update the board overlay files for mcux_lpcmp sample to use
the sensor-lpcmp driver:

1. Delete the 'compatible' and 'clocks' properties from
   the SoC-level lpcmp nodes.
2. Set the compatible to "nxp,sensor-lpcmp" to use the
   sensor-based lpcmp driver.
3. Add '#io-channel-cells = <2>' property for sensor API.
4. Add pinctrl configuration for lpcmp0.
5. Ensure status is set to "okay".

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-23 09:32:53 +01:00
Grzegorz Swiderski
83d3092d30 samples: fs: zms: Update to showcase 64 bit ID support
ZMS IDs are not necessarily 32 bit anymore, so the sample ought to
reflect that.

When the sample is built with CONFIG_ZMS_ID_64BIT=y, the KEY_VALUE_ID
will use a 64 bit value, chosen so that it would conflict with CNT_ID
only if 64 bit IDs were not handled properly.

Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-12-22 22:32:53 +01:00
Grzegorz Chwierut
fca50869b8 samples: icmsg: Updated to verify output from both cores
Changed 'harness: console' to 'harness: pytest' to verify output
from both application and network cores using the new multiple
UART connection support. The pytest test reads from connection_index=0
(application core) and connection_index=1 (network/remote core) to
validate IPC communication on both sides.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Grzegorz Chwierut
2d80ffafb4 samples: sysbuild: hello_world: Simplify dual UART test with new API
Replace manual serial port handling with the new multiple UART
connection support from pytest-twister-harness. The test now uses
connection_index=1 to read from the second core UART instead of
managing a separate serial connection fixture.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Mark Wang
37b22586f6 samples: bluetooth: a2dp: implement a2dp sink sample
implement the a2dp sink sample, only mimxrt1170_evk@B board's codec is
supported now.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-22 14:45:48 +01:00
Mark Wang
a72acbc807 samples: bluetooth: a2dp: implement a2dp source sample
implement the a2dp source sample.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-22 14:45:48 +01:00
Alberto Escolar Piedras
5a58989dad samples/subsys/shell/shell_module: Remove unnecessary header
To use the shell one does not need anymore to pull unistd.h,
if one uses sys_getopt, we need to include sys/sys_getopt.h

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:49 +01:00
Alberto Escolar Piedras
71457bd491 samples/shields/npm6001_ek: Remove unnecessary header
To use the shell one does not need anymore to pull unistd.h,
if one uses sys_getopt, we need to include sys/sys_getopt.h

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:49 +01:00
Alberto Escolar Piedras
f02e15acc2 samples/drivers/ipm/ipm_esp32: Remove unnecessary headers
None of these headers are needed by this file for anything.
Let's just remove them.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-20 15:04:49 +01:00
Vit Stanicek
d98fb0b2e5 Revert "samples: i2s_codec: Modify DMIC channel mapping"
This reverts commit d11474ce64.

Follows the reversal of 1f69b91e90, as
this commit reflects changes made in there.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-12-19 13:55:21 -05:00
Lucien Zhao
3756fa3c1a boards: nxp: frdm_mcxe247: add i2c feature
- support accel feature using lpi2c0 and enable accel cases:
  accel_trig/accel_polling
- enable i2c_target_api case using lpi2c0 and lpi2c1

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-19 13:54:27 -05:00
Lyle Zhu
fa8681f57f Samples: Bluetooth: HFP_HF: Enable codec negotiation and codec mSBC
Add callback `codec_negotiate` if the `CONFIG_BT_HFP_HF_CODEC_NEG` is
set.

Calling the function `bt_hfp_hf_select_codec()` if the codec ID is
valid in the callback `codec_negotiate`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Lyle Zhu
fae78f60c4 sample: Bluetooth: HFP: Support voice transmission and playback
Capture the voice from PCM and play voice through Codec if the SCO
connection has been established.

Capture the voice from Codec and send out through PCM if the SCO
connection has been established.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Benjamin Cabé
18c1a63891 doc: fix bad indentation causing elements to render as definition lists
Fixes documents where blocks where indented to the right of their parent
causing them to render as definition lists.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Alberto Escolar Piedras
1912d88fc9 samples: net: promiscuous_mode: Fix remaining net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:51:59 +00:00
Bill Waters
4926960746 samples: counter: add Infineon kit_pse84_eval
Add overlay files for the alarm sample

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-18 18:51:41 +00:00
Alberto Escolar Piedras
f5959a898a samples: net: zperf: Do not enable the POSIX_API
This sample does not need it, and having it enabled masks uses of the
non native API by this code.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 14:52:17 +00:00
Ederson de Souza
ace1b87e15 samples/subsys/pmci/mctp: Add npcx4m8f_evb overlays for I2C-GPIO
So that one can run the I2C-GPIO owner/endpoint samples on it.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:07:03 +01:00
Ederson de Souza
621a7aa686 samples/subsys/pmci/mctp: Keep board specific config on board file
So that users of other boards don't see meaningless warnings during
build.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
b9f10bec52 samples/subsys/pmci/mctp: More friendly I2C-GPIO samples messages
This is done by:
  - No more sending periodic messages from endpoint to owner - keep
    parity with UART sample: owner sends periodic ping to endpoint, that
    replies to those;
  - Waiting one second between each message sent by the owner, so people
    can actually see what's going on;
  - Wrapping the content of the messages (strings "ping" and "pong")
    in quotes, so it's clear what they are;
  - Toning down the logging to INF - no need for DBG.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Ederson de Souza
5f5e17e08c samples/subsys/pmci/mctp: Set allocation functions on I2C samples
Without those, allocation for MCTP packets can cause subtle - or not so
subtle - bugs.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-12-18 12:06:55 +01:00
Albort Xue
df3823b812 samples: drivers: spi_flash: Add supports of flexspi_nor
Added supports of nxp_imx_flexspi_nor flash.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2025-12-18 12:06:46 +01:00
Emil Gydesen
15eb9daa87 samples: Bluetooth: CAP: Initiator: Fix test count name
Renamed total_rx_iso_packet_count to
total_unicast_rx_iso_packet_count to make it consistent
with total_unicast_tx_iso_packet_count.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-18 09:17:48 +01:00
Emil Gydesen
f66f58833f samples: Bluetooth: CAP: Acceptor: Various fixes
The sample recently started supporting multiple sink ASEs,
but only support a single sink stream. Updated the number of
sink streams supported.

Modified how/when we reset the requested_bis_sync and
FLAG_BROADCAST_SYNC_REQUESTED in the broadcast implementation.

Removed a call to bt_bap_broadcast_sink_delete that would
always fail because it was already deleted.

Modified how/when the total_unicast_rx_iso_packet_count
and total_unicast_tx_iso_packet_count values were reset,
to support a future case of CAP handover.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-12-18 09:17:48 +01:00
Kate Wang
2b6283def7 samples: drivers: display: Enable new panel zc143ac72mipi for RT700
Add zc143ac72mipi panel configuration for RT700 platform in display
sample test configuration.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Kate Wang
0798beeb34 samples: drivers: display: Enable new panel rk055hdmipi4ma0 for RT700
Add heap size configuration and add new panel rk055hdmipi4ma0 for RT700.
It requires extra space for 720p panel.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
2025-12-17 13:59:06 -05:00
Sreeram Tatapudi
0a06f5b91a dts: bindings: Drop cat1 from the infineon binding files
Drop cat1 from the binding files to enable reuse by other
category devices as well.

Fixes #99174

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-12-17 13:58:09 -05:00
Sylvio Alves
f8d2e00a0e includes: remove duplicated entries in zephyr-tree
Remove duplicated #include directives within the same
preprocessor scope across the Zephyr tree.

Duplicates inside different #ifdef branches are preserved
as they may be intentional.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-17 13:57:38 -05:00
Ayush Singh
c64de6f1de samples: net: dns_resolve: Add 802154-subg support
- Tested on BeagleConnect Freedom along with mdns_responder sample.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-17 13:56:03 -05:00
Ayush Singh
12b2174e66 samples: net: mdns_responder: Add 802154-subg overlay
- Tested on BeagleConnect Freedom

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-12-17 13:56:03 -05:00
Jukka Rissanen
d51356fd07 samples: net: pkt_filter: Add example of how to handle UDP/TCP packets
Add support for LOCAL_IN rules that can be tracked UDP or TCP packets.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-12-17 14:36:01 +02:00
Thinh Le Cong
57361327d8 samples: drivers: adc: Add tests support for ADC driver on EK-RA2A1 board
Add Renesas EK-RA2A1 board support for sample:

- samples/drivers/adc/adc_dt

Signed-off-by: Thinh Le Cong <thinh.le.xr@bp.renesas.com>
2025-12-17 14:35:27 +02:00
Waqar Tahir
48fa32c76f samples: tfm: Add mcxn947 in TF-M samples yaml
Add mcxn947 non secure target for the tfm_ipc
and tfm_regression samples.

Signed-off-by: Waqar Tahir <waqar.tahir@nxp.com>
2025-12-17 10:56:59 +02:00
McAtee Maxwell
11472639f7 samples: pwm: update Infineon cyw920829m2evk_02 overlays
- Update overlay files for the blinky_pwm and fade_led samples

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
McAtee Maxwell
9f42dd0413 samples: pwm: add Infineon kit_pse84_eval
- Add overlay files for the blinky_pwm and fade_led samples

Signed-off-by: McAtee Maxwell <maxwell.mcatee@infineon.com>
2025-12-17 10:52:22 +02:00
Nicolas Moreno
e41faae09a samples: sensor: accel_polling: remove duplicated header
On main.c from sample sensor/accel_polling the header
<zephyr/drivers/sensor.h> is duplicated, as well in
sample sensor/stream_fifo. This is solved on this PR

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2025-12-16 10:15:12 -06:00
Jonathan Nilsen
ef587e12f6 modules: hal_nordic: move IronSide SE supporting code to hal_nordic
Move most of the code that is used to interface with IronSide SE on the
nRF54H20/nRF9280 from the soc/nordic directory to the hal_nordic
repository. The interface code is now provided by the new IronSide
support package. Build system code and glue code that makes use of
Zephyr APIs is now located in the modules/hal_nordic directory.

Update the directory path for IronSide SE interface code in
MAINTAINERS.yml to match the move from soc/nordic/ironside to
modules/hal_nordic/ironside.

Also included are some refactoring changes and cleanup to match the new
supporting code.

C code and Kconfigs have been renamed to *ironside_se* / *IRONSIDE_SE*
to match the supporting code changes. Users of these APIs in zephyr
have been updated to match.

Individual configurations for different "IronSide services" have been
removed as the API serialization for all of these is now provided in
a single C file / header file (ironside/se/api.h).

The ironside_boot_report_get() API has been removed. The boot report
structure can be accessed through the IRONSIDE_SE_BOOT_REPORT macro.

Most configs relating to UICR / PERIPHCONF have been moved under the
"IronSide SE" menu to make it clear that these are part of the
IronSide SE interface.

The macros that in uicr.h that were used to add entries to the
PERIPHCONF section have been removed. The supporting code now provides
PERIPHCONF_XYZ() macros that can be used to initialize structures that
go into this section, and the zephyr part now only contains a macro
UICR_PERIPHCONF_ENTRY() that is used to place an arbitrary structure
into the section. The gen_periphconf_entries.py script used to generate
PERIPHCONF entries based on devicetree has been updated to use the new
macro system.

IronSide SE integration code/configs is now guarded by HAS_IRONSIDE_SE.

Note that the UICR build system integration that relies on Sysbuild
remains under the soc/nordic directory for now, but will be moved to
the modules/hal_nordic directory once it is clear how the integration
will look there.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-12-16 10:13:56 -06:00
Zhaoxiang Jin
cfa415e605 tests: dac: Enable dac_api test for frdm_mcxc444
1. Enable dac_api test for frdm_mcxc444.
2. Enable sample/dac for frdm_mcxc444

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-16 10:12:52 +01:00
Xavier Razavet
536c937162 samples: openthread: shell: .conf files updated
frdm_mcxw71.conf: LOGs removed for RAM size optimization.
prj-ot-host.conf: LOGs removed because already in prj.conf.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2025-12-15 17:09:20 +00:00
Fabrice DJIATSA
602baf6829 samples: sysbuild: with_mcuboot: update sample.yaml file
Add STM32 supported boards for the test.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Jordan Yates
6b8ad0b48b samples: lora: send: display packet airtime
Display the expected airtime of the transmitted packet at the start of
the sample.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-15 17:06:49 +00:00
Jordan Yates
3514ff9fe2 samples: lora: zero initialise config structure
Zero initialise the configuration struct to ensure non-set fields are
zero.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-15 17:06:49 +00:00
Muhammad Waleed Badar
44eaeb0119 samples: ocpp: add DNS lookup before SNTP request
Added dns_query() function to perform DNS lookup before attempting
SNTP synchronization. This ensures the SNTP server hostname is
properly resolved to an IP address before making the time request.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2025-12-15 07:31:20 -05:00
Lucien Zhao
d90ca00c6a boards: nxp: frdm_mcxe247: add adc feature
- enable adc0 channel 0/1
- enable samples cases: adc_dt/adc_squence
         test case: adc_api

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-12-15 07:31:06 -05:00
CHEN Xing
297ab7ac15 samples: drivers: counter: alarm: add support for pit64b1
Add support for pit64b1 counter device.

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
CHEN Xing
fd0f0f3c60 samples: drivers: counter: alarm: add definition for alarm flag
Counter devices can use this definition to specify alarm flags.

Signed-off-by: CHEN Xing <xing.chen@microchip.com>
2025-12-15 07:30:40 -05:00
Valerio Setti
75b48db718 samples: drivers: crypto: fix regex matching for Mbed TLS shim
Update regex matching for the Mbed TLS shim driver scenario in order to
match all the supported cases and ensure that they all passed.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-15 07:29:29 -05:00
Valerio Setti
ea9c1af07d samples: drivers: crypto: fix heap memory size for Mbed TLS shim
Increase heap memory size when Mbed TLS shim driver is used otherwise
all crypto tests will fail on some platforms.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-15 07:29:29 -05:00
Holt Sun
7214e39540 boards: nxp: frdm_mcxe247: enable CRC
Enable the CRC peripheral for MCXE24x and turn it on in the
FRDM-MCXE247 board DTS. Add a CRC sample board config to run
on FRDM-MCXE247 with default.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-15 07:27:48 -05:00