Commit graph

12,113 commits

Author SHA1 Message Date
Yves Wang
3d0d909d9f doc: Update edac shell sample's readme
Update the console log in readme to make it aligned with the actual
output

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2025-12-04 05:24:28 -05:00
Yves Wang
e9209e60ef samples: edac: update the app to support more platforms
Decouple the edac sample with IBECC.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2025-12-04 05:24:28 -05:00
Sai Santhosh Malae
ef1bd9d2a9 samples: adc: siwx91x: Add adc_dt support for siwx917_rb4338a
Add an overlay to enable the adc_dt sample on the siwx917_rb4338a
board.

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2025-12-04 05:21:40 -05:00
Sylvio Alves
d14a547d42 dts/dtsi: add missing zephyr prefix for consistency
Many dts/dtsi files where its dt-bindings are in-tree
do not include zephyr prefix in the #include path.
Add it to make it consistent globally.

Some dt-bindings that resides in hal can not be changed.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-03 15:38:17 -05:00
Bindu S
64a3e11ee0 samples: drivers: uart: async_api: Added overlay to support ADL-n platform
Added support for async api application on ADL-n platform

Signed-off-by: Bindu S <bindu.s@intel.com>
2025-12-03 11:41:33 +01:00
Vinayak Kariappa Chettimada
9351a1ab79 samples: Bluetooth: observer: Fix Extended Scanning on BBC Micro:bit
Fix configuration overlay file to support observer sample
with Extended Scanning on BBC Micro:bit board.

Due to slow CPU, there were assertions and, this commit
addresses them by defaulting to use of BT_CTLR_LOW_LAT.

Asserts mitigated:

- ASSERTION FAIL [start_us == (aux_start_us + 1U)]
  @ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/
  nordic/lll/lll_scan_aux.c:359
  This will happen for small aux offset value, definitely
  for the 300 us because CPU usage latency to setup such
  auxiliary PDU reception on nRF51 is high due to slow CPU.

- ASSERTION FAIL [0]
  @ WEST_TOPDIR/zephyr/subsys/bluetooth/controller/ll_sw/
  nordic/lll/lll_scan_aux.c:592
    prepare_cb: Actual EVENT_OVERHEAD_START_US = 579
  This will happen due to CPU usage latencies scheduling
  the radio events, due to slow CPU.

Relates to commit eba31282e8 ("samples: Bluetooth:
observer: Extended Scanning on BBC Micro Bit board").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-12-02 15:22:52 -05:00
Marek Matej
d5d8bb17fa samples: espressif: Flash multicore sharing example
This is a simple example of sharing flash access between multiple CPU
cores.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-12-02 16:13:52 +00:00
Maochen Wang
bdaf732c44 samples: net: wifi: fix PEAP connection failure on RW612
PEAP Wi-Fi connections on RW612 may fail due to memory allocation
errors in mbedTLS. Increasing the mbedTLS heap size resolves this
issue.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-12-02 12:30:57 +00:00
Yangbo Lu
ad205339ef samples: net: gptp: add default case for status switch statement
Added default case for status switch statement.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-02 11:45:19 +01:00
Yangbo Lu
548d0008b6 samples: net: dsa: improve code quality
Improved code quality with below changes.
- Avoided declaration shadowing variable in the global scope.
- Avoided missing default in switch block.
- Dropped unused variable.
- Reduced the level of if statements properly.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-02 11:45:19 +01:00
Yangbo Lu
40594fa40c samples: net: add Ethernet bridge sample
Added Ethernet bridge sample and enable mimxrt1180_evk_mimxrt1189_cm33
board as an example. On mimxrt1180_evk_mimxrt1189_cm33, 5 ports are
bridged with DHCPv4 enabled to test, including 4 DSA ports and
1 normal Ethernet port.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-02 11:45:19 +01:00
Yangbo Lu
840d464ffb samples: net: move Ethernet samples to folder
Moved current Ethernet samples to folder ethernet,
as there will be more samples added in the future.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-02 11:45:19 +01:00
Valerio Setti
e5ec376e28 samples: tfm_integration: replace legacy Mbed TLS deps with PSA API
Replace selection of legacy Mbed TLS Kconfigs with PSA API ones.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 11:32:35 +01:00
Valerio Setti
b2f3175793 samples: mcumgr: smp_svr: replace legacy Mbed TLS deps with PSA API
Replace selection of legacy Mbed TLS Kconfigs with PSA API ones.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 11:32:35 +01:00
Valerio Setti
768df256b2 samples: net: http_client: replace legacy Mbed TLS deps with PSA API
Replace selection of legacy Mbed TLS Kconfigs with PSA Crypto API ones.

While at this, add also a test case using "overlay-tls.conf" since this
is also mentioned in README file.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 11:32:35 +01:00
Valerio Setti
271a213f23 samples: net: big_http_download: replace legacy MD with PSA API
Replace usage of Mbed TLS' MD module with PSA Crypto API for SHA-256 hash
computation.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 11:32:35 +01:00
Valerio Setti
04cfed9fd0 samples: net: lwm2m_client: replace legacy Mbed TLS deps with PSA API
Replace selection of legacy Mbed TLS crypto support with PSA API.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 11:32:35 +01:00
Valerio Setti
67d68108fa samples: net: mqtt_azure: replace legacy Mbed TLS deps with PSA API
Replace selection of legacy Mbed TLS crypto with corresponding PSA API
alternative.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-02 11:32:35 +01:00
Fabian Blatz
d4ec3fef5e boards: Remove lvgl_input_pointer where chosen zephyr,touch is present
With the new LV_Z_POINTER_FROM_CHOSEN_TOUCH most boards do not need to
specify a dedicated pseudo device anymore.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-12-02 11:31:07 +01:00
Ha Duong Quang
676a0504e5 boards: enables support for s32z270 hse crypto
Enable test for s32z270 hash crypto.

Enable samples for cipher cryptoEndable samples for EBC, CBC,
CTR mode of cipher crypto.

Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com>
2025-12-02 11:20:29 +01:00
Johan Alfvén
d5e82737a7 samples: tflm_ethosu: add PMU counters
Add CONFIG_SAMPLE_TFLM_ETHOSU_PMU to collect PMU counters per inference
in the sample. Disabled by default.

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2025-12-01 19:48:29 -05:00
Fabio Baltieri
b676f6ba6d samples: usb: common: clarify the use of sample vid/pid
Add a note about sample vid/pid.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-12-01 12:41:15 -05:00
Fabio Baltieri
2dee7614ed samples: usb: common: make vid configurable
Add a SAMPLE_USBD_VID Kconfig to allow changing the USB VID on samples
using the common code. Can be handy for testing things against code that
expects a specific vid.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-12-01 12:41:15 -05:00
Benjamin Cabé
d55b7be1ac doc: services: crc: add CRC doc page
Add a page for documenting CRC services

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-01 12:25:05 -05:00
Ville Kujala
8883febbcf boards: nrf9280pdk: Merge cpuapp iron variant into the base variant
Replaces the legacy SDFW compatible board configuration with the
IronSide SE compatible one, thus removing support for running samples
and tests on nRF9280 devices with the old firmware.

Signed-off-by: Ville Kujala <ville.kujala@nordicsemi.no>
2025-12-01 12:24:42 -05:00
Arnaud Pouliquen
c5d7f93b0a samples: ipc: openamp_rsc_table: add support for STM32MP25F boards
Add openamp_rsc_table support for STM32MP257F EV1 and DK boards to
enable communication between the Cortex-M33 and Cortex-A35 (running Linux).

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-12-01 12:23:31 -05:00
Ivan Pankratov
a44583c8f4 dts: bindings: Rename gpio-radio-coex to radio-gpio-coex
Rename GPIO coex binding to use 'radio-' prefix for consistency with
other radio bindings (radio.yaml, radio-fem-two-ctrl-pins.yaml).

Updated beacon sample overlay and coex documentation.

Signed-off-by: Ivan Pankratov <ivan.pankratov@silabs.com>
2025-12-01 12:22:33 -05:00
Yangbo Lu
001d889ab7 samples: net: gptp: add mimxrt1180_evk_mimxrt1189_cm33 support
Added mimxrt1180_evk_mimxrt1189_cm33 support.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-01 11:09:01 +01:00
Jisheng Zhang
0ac6d10ea5 samples: debugmon: use DCB instead of CoreDebug
commit a763207962 ("arch: arm: dwt: use the cmsis_6 macro
unconditionally") use cmsis_6 macro unconditionally, we can use DCB
instead of CoreDebug macro unconditionally.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2025-12-01 08:26:46 +01:00
Valerio Setti
e94d975111 tests: crypto: crypto_hash: remove unnecessary Kconfig
Cipher related Kconfigs are unnecessary for this test since it's only
evaluating Hash algorithms.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Aurelien Jarno
05b9ffb390 net: mqtt_sn: document address size and add support for IPv6
Add guidelines in Kconfig explaining the minimum required
MQTT_SN_LIB_MAX_ADDR_SIZE for UDP transport and IPv4 and or IPv6. Also
explain when this value might need to be changed.

Use these values to provide a sane default for IPv4 and IPv6.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-28 22:10:40 +00:00
Aaron Ye
1a49b418f5 samples: Bluetooth: peripheral_past: fix the uninitialized parameter
The past_param.options is uninitialized and causes
bt_le_per_adv_sync_transfer_subscribe() returning error.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-11-28 10:12:07 +00:00
Kyle Bonnici
70806c585f devicetree: format files in samples
Applying dts-linter results for format files in

samples

Signed-off-by: Kyle Bonnici <kylebonnici@hotmail.com>
2025-11-28 10:09:39 +00:00
Benjamin Cabé
9fa197cf2e samples: doc: add "json" as relevant_api to a few samples
This ensure people browsing the JSON doc page will see a few more
options in terms of code samples exercising JSON API

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-28 09:50:28 +00:00
Benjamin Cabé
89292a29b9 doc: update references to RFCs using :rfc: role across multiple files
Sphinx has a built-in `:rfc:` role for referencing RFC documents.
This commit updates documentation pages referencing RFCs to use this role.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-27 16:05:19 +01:00
Sudan Landge
04fb068463 sample: net: fix the board config and overlay name
Rename the board config to fix ci issue while running samples for
fvp_baser_aemv8r:
```
INFO    - 1) sample.net.zperf.async_tx.stm32 on
fvp_baser_aemv8r/fvp_aemv8r_aarch32 error (CMake build failure - CMake
Error at cmake/modules/extensions.cmake:2905 (message):   Board
fvp_baser_aemv8r defines multiple SoCs.)
```

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-11-27 16:01:27 +01:00
Robert Lubos
a00fefc5a9 net: sockets: tls: Specify a separate Kconfig option for TLS timeout
It's been periodically reported that the default connect timeout shared
with regular TCP sockets (3 seconds) is not enough for the TLS handshake
to complete. Therefore, it'd make sense to increase the default value
for TLS sockets specifically. However currently the option is used by
both TCP and TLS connections, which makes this impractical.

Therefore, introduce a separate CONFIG_NET_SOCKETS_TLS_CONNECT_TIMEOUT
Kconfig option for TLS sockets specifically, and set the default to 10
seconds. For samples/tests that modified the old option for TLS-specific
purpose, update the new option value as well.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-11-27 14:45:32 +01:00
Nikodem Kastelik
ad1e5ac253 nordic: update and align to nrfx 4.0.1
New nrfx release contains major rework of nrfx drivers
instantiation making it easier to integrate with dts nodes.
Now, nrfx driver instances can no longer be `const`
because they contain driver runtime state.
Additionally, all nrfx drivers return `errno` error codes
instead of deprecated `nrfx_err_t`.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-11-27 14:45:17 +01:00
Khoa Tran
8e33cdb13f samples: boards: renesas: Add ELC sample support for mck_ra4t1
Add ELC sample support for Renesas mck_ra4t1

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
e7f3c41175 samples: drivers: adc: Add sample support for Renesas mck_ra4t1
Add support for sample apps on Renesas mck_ra4t1 board:
- samples/drivers/adc/adc_dt
- samples/drivers/adc/adc_sequence

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
a764f7b7cd samples: drivers: dac: Add sample support for Renesas mck_ra4t1
Add support for sample app on Renesas mck_ra4t1:
- samples/drivers/dac

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Khoa Tran
4d61652415 samples: drivers: counter: Add sample support for Renesas mck_ra4t1
Add support for sample app on Renesas mck_ra4t1:
- samples/drivers/counter/alarm

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-11-27 11:30:12 +01:00
Qingsong Gou
6e2b729cad samples: subsys: fs: fs_sample: add board sf32lb52_devkit_lcd support
Add board sf32lb52_devkit_lcd support

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2025-11-26 12:17:32 -05:00
Aleksander Wasaznik
0ee5d70f38 Bluetooth: Samples: Reduce RAM requirement of peripheral_identity
Reduce BT_MAX_CONN from 62 to 61 to make it build on integration
platform qemu_cortex_m3/ti_lm3s6965 when we add bt_taskq in subsequent
commit.

The number 62 seems arbitrary here, so reducing it by one should not
have any practical impact.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2025-11-26 12:16:43 -05:00
Dmitrii Sharshakov
2a46964794 samples: settings: run integration on QEMU with TF-M
Make sure ITS backend is tested in the CI.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Pieter De Gendt
cf0d1b877e drivers: ethernet: sam_gmac: Use ethernet MAC configuration
Rework the Atmel SAM GMAC driver to read a MAC address from the provided
NVMEM cell instead of using I2C commands directly.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-11-25 16:21:30 +00:00
Jukka Rissanen
a01256a233 samples: net: Replace POSIX symbols by Zephyr ones
These samples were still using POSIX symbols without enabling
POSIX APIs, so convert these to use Zephyr ones.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-11-25 16:06:56 +00:00
Jukka Rissanen
34a1e5411e samples: net: Convert to use POSIX APIs
Convert coap_download and coap_upload to use POSIX APIs just to be
consistent with other samples in sockets directory.

Replace non-POSIX network symbols by POSIX ones in the network
samples. We do not want to have network samples that mix both
Zephyr network API with the relevant POSIX API like
zsock_socket() and socket() etc.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-11-25 16:06:56 +00:00
Mathieu Choplain
3db76f0373 samples: st: power_mgmt: wkup_pins: correct overlay for Nucleo-F103RB
The overlay indicated the pin was active-low with a pull-up resistor, but
the hardware forces a pull-DOWN which makes the pin active-HIGH instead.
Also add a comment indicating that the pin is not wired to a button and
a short (to Vdd!) must be applied via a jumper wire.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-11-25 16:06:35 +00:00
Felix Wang
5d48b0718a samples: drivers: led: pwm: Add fallback blink delay calculation
When CONFIG_BLINK_DELAY_SHORT or CONFIG_BLINK_DELAY_LONG exceed the
timer's range, automatically calculate blink delays from the LED's
PWM period defined in devicetree using configurable divisors.

Add led_periods_ns array to store PWM periods for each LED and new
Kconfig options BLINK_DELAY_SHORT_LED_PERIOD_DIV and
BLINK_DELAY_LONG_LED_PERIOD_DIV to control the calculation.

This ensures the LED PWM sample works on platforms with timer
limitations by providing hardware-appropriate fallback delays.

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-11-25 13:04:27 +01:00