Commit graph

10713 commits

Author SHA1 Message Date
Arif Balik
2bf86a3ff9 samples: net: update mqtt publisher
Added MQTT logging backend to publisher sample

Signed-off-by: Arif Balik <arifbalik@outlook.com>
2025-06-11 16:18:51 -07:00
Julien Panis
2289fa1770 samples: drivers: crypto: Add entry to sample.yaml for cc23x0
Enable DMA for the test.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
2025-06-11 16:06:55 -07:00
Emil Gydesen
aa6ac8e650 Samples: Bluetooth: HR: Remove use of ISO config for IPC
When compiling with sysbuild and IPC the samples would use the
nrf5340_cpunet_iso-bt_ll_sw_split.conf config file, which was
incompatible with the sample's host configuration.

Instead of using the ISO configuration file, define a hci_ipc
overlay in each sample with the necessary configurations
that support all host configurations.

This commit also updates the sample.yaml files to split
configurations for single- and multicore builds, as what
needs to be configured for each type is different.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-06-11 10:19:05 -07:00
Maochen Wang
6d161802a8 samples: net: wifi: nxp: supplicant enterprise enabledment on IW610
Add mbedtls config file to support enterprise mode.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-06-11 09:54:46 +02:00
Abhinav Kulkarni
703fa22b11 samples: net: wifi: shell: nxp: HostAP support for IW416
Added host AP support for IW416 and IW612 socs.
Adding conf files which can be used along with shield for compilation to
test HostAP and WPA supplicant.

Signed-off-by: Abhinav Kulkarni <abhinav.kulkarni@nxp.com>
2025-06-11 09:54:46 +02:00
Fabian Blatz
8a110a6252 samples: modules: lvgl: demos: Update to v9.3
Update the sample to show upstream demos to v9.3. The samples for flex
layout, scrolling and multilanguage have been removed upstream, so also
remove their respective LV_Z_* entry.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-06-11 08:20:09 +02:00
Johann Fischer
79a80730b2 usb: device_next: allow to use label as interface string descriptor
The intention was to use the "interface-name" string property in the
interface string descriptor, but using the label property is acceptable
again. Therefore, allow the use of the DT label property string in the
interface string descriptor.

Follow exactly the same approach as in the CDC ACM implementation
introduced in the commit b0791400f6
("usb: device_next: cdc_acm: allow setting the interface description").

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-11 08:18:30 +02:00
Maksim Salau
bdd94261a5 modbus: serial: Add non-compliant mode with custom stop-bit settings
The mode is activated by the CONFIG_MODBUS_NONCOMPLIANT_SERIAL_MODE option
and allows any stop-bit setting for the serial port.

Signed-off-by: Maksim Salau <msalau@iotecha.com>
2025-06-10 12:53:23 -04:00
Miguel Gazquez
9a30e6bb53 doc: fix file path in sample "perf"
On the documentation of the sample "perf" the path for the script
"stackcollapse" is incorrect.
Fix the path

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2025-06-10 12:52:09 -04:00
Saravanan Sekar
2c5c0e24e8 samples: drivers: counter: Add support alarm for lp_mspm0g3507
Add a support for timer/counter alarm sample for lp_mspmg3507 board.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2025-06-10 10:25:10 -04:00
Axel Le Bourhis
b1ad7877f2 samples: bluetooth: enable PM standby on rd_rw612_bga and frdm_rw612
Enable the standby power state by default for the rd_rw612_bga and
frdm_rw612 boards in the peripheral_ht and central_ht Bluetooth samples.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2025-06-10 13:36:56 +02:00
Lyle Zhu
14eba9d2d9 Samples: Bluetooth: HF: Move handsfree and handsfree_ag to './classic'
Move `handsfree` and `handsfree_ag` to sub-folder './classic'.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-06-10 12:25:46 +02:00
Robert Lubos
00bd154d84 samples: net: echo_client/server: Lower log level for OpenThread
OpenThread stack prints just too much data at the info log level,
completely obfuscating the output of the sample, which prints a lot on
its own. Therefore, lower the log level for OT logs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-06-09 14:59:35 -07:00
Sayooj K Karun
fc6f9e23ce samples: lib: min_heap: Add min-heap usage example
Introduce a simple sample application demonstrating the usage of the
min-heap API. The sample performs basic insert and remove operations
and logs the results to the console.

Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2025-06-07 13:29:24 +01:00
Fin Maaß
df165766c7 samples: mgmt: hawkbit: add stm32h573i_dk
Add stm32h573i_dk as tested platform.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 16:01:51 +02:00
Fin Maaß
d7b08aa2f3 samples: mgmt: hawkbit: remove shell testcase
The hawkBit shell is already enabled in the
prj.conf, so there is no need for a seperate
testcase.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 16:01:51 +02:00
Fin Maaß
c80f3f8b2d samples: mgmt: hawkbit: support sysbuild
Add support for sysbuild in the hawkBit sample.
Documentation is added later.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 16:01:51 +02:00
Fin Maaß
c4a99d11ba samples: mgmt: hawkbit: enable ddi gateway security
Enable ddi gateway security by default in the
sample, as no security is now deprecated.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 16:01:51 +02:00
Fin Maaß
bb61d6ac78 samples: mgmt: hawkbit: don't overwrite settings
Don't overwrite the server address and port
with the Kconfig default, when the hawkBit
shell is activated. The shell can also be used
to set it and we don't want to overwrite that
value on reboot.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 16:01:51 +02:00
Fin Maaß
23f7be46fc samples: mgmt: hawkbit: enable net shell by default
Enable net shell by default

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-06 16:01:51 +02:00
Richard Skriwanek
870703fe85 samples: circular_dma: fix DMA config for nucleo_c031c6
The circular DMA sample incorrectly configured channel 3 for the
NUCLEO-C031C6 board, but this MCU has only 3 channels (0 - 2).
Fixed by changing to channel 2.

Signed-off-by: Richard Skriwanek <richy@fnc.at>
2025-06-06 14:48:24 +01:00
Andreas Schuster
3060ee2c5c samples: boards: add nucleo_g0b1re board with mco output
Add overlay file to enable the MCO1&2 output clock on the nucleo_g0b1re.

Signed-off-by: Andreas Schuster <andreas.schuster@schuam.de>
2025-06-06 11:52:40 +02:00
Noah Pendleton
b377543628 samples: fs: typo in project name
Looked like copy-paste typo from the `samples/subsys/usb/mass` sample.

Signed-off-by: Noah Pendleton <noah.pendleton@gmail.com>
2025-06-06 08:46:04 +02:00
Francois Ramu
b647d70bca samples: subsys: setting does not apply when sector size is 128K
Exclude the stm32h7 target boards to this samples/subsys/settings
because it does not apply for flash sector flash size larger
than 64K : all those stm32h7 mcu have sector size of 128K
The settings_subsys_init will fails (-33 DOM errno ) when it checks
nvs_sector_size > UINT16_MAX in settings_backend_init()
of the subsys/settings/src/settings_nvs.c

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-06 08:42:22 +02:00
Mario Paja
f12ba46175 samples: i2s: add nucleo u575 overlay & conf files
Adds Nucleo U575 overlay and config files

Signed-off-by: Mario Paja <mario.paja@zal.aero>
2025-06-06 08:41:59 +02:00
Khoa Nguyen
a3868c967c samples: drivers: spi_flash: Add support OSPI for Renesas RA8
Add support OSPI for Renesas ek_ra8m1, ek_ra8d1 to run sample
spi_flash

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Signed-off-by: Tri Nguyen <tri.nguyen.wj@bp.renesas.com>
Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-06 08:41:46 +02:00
Khoa Nguyen
1d8df2bb40 samples: drivers: jesd216: Add support OSPI for Renesas RA8
Add support OSPI for Renesas ek_ra8m1, ek_ra8d1 to run
sample jesd216

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
Signed-off-by: Tri Nguyen <tri.nguyen.wj@bp.renesas.com>
Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-06 08:41:46 +02:00
Ajith Anandhan
c27570f537 samples: adc_dt: add dts overlay for STM32F4-DISCO
Add a board-specif dts overlay file for the adc_dt sample on the
STM32F4-DISCO board to enable for ADC channel support.

Signed-off-by: Ajith Anandhan <ajithanandhan0406@gmail.com>
2025-06-04 17:03:27 +02:00
Bjarki Arge Andreasen
da3b4bc4ad samples: boards: nordic: clock_control: add resolve and startup time
Add resolving the requested clock spec and getting the startup time
of the clock for given clock spec to the nordic specific
clock_control sample.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-04 17:00:40 +02:00
Stephan Gatzka
c4c1d92cee drivers: gpio: Use BIT(n) macro to define GPIO constants
This change would also solve that according to the C11 standard,
section 6.5, paragraph 4, the usage of bitwise operators on
signed integers is implementation defined.

Signed-off-by: Stephan Gatzka <stephan.gatzka@gmail.com>
2025-06-03 20:32:33 +02:00
Johann Fischer
1c2d692d60 usb: device_next: use system workqueue in CDC ACM by default
Add Kconfig option to use dedicated workqueue in CDC ACM but use the
system work queue in CDC ACM by default.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-03 14:48:29 +01:00
Johann Fischer
ed4c27bd41 usb: device_next: allow BOS support to be disabled
Disabling it if not needed can save about 400 bytes of flash memory.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-03 14:48:29 +01:00
Joel Guittet
05f71f3874 drivers: counter: fix counter node in esp32 timers
Fix counter device tree node of the esp32 timers in the counter sample
and test app.

Signed-off-by: Joel Guittet <joelguittet@gmail.com>
2025-06-02 22:36:03 -04:00
Sylvio Alves
e0a915a178 soc: espressif: convert rtc peripheral to clock subsystem
Current ESP32 clock system is mixed with RTC labeling/registers,
but it doesn't implement a real-time clock (RTC) driver.

To avoid confusion and allow adding a proper RTC driver later,
this commit renames the existing RTC interface to CLOCK and make
it as a subsystem without any peripheral attached to it.

This better reflects its actual purpose as a general clock controller.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-06-02 17:38:08 +02:00
Chaitanya Tata
810697bf4b samples: net: zperf: Add Zperf server report skip
This way server report is skipped, but client stats are still dumped.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-06-02 17:37:55 +02:00
Chaitanya Tata
778d72a215 samples: net: zperf: Fix the loopback drop config
This should have been disabled, by default we want loopback and
optionally TX only.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-06-02 17:37:55 +02:00
Filip Kokosinski
07e4ba4240 soc/sifive: differentiate between FE310-G000 and FE310-G002
This commit reflects a difference between FE310-G000 and FE310-G002 SoCs,
since only the latter supports PMP. The result of that is the split of the
HiFive1 board into two separate targets, since the HWMv2 right now assumes
that board revisions share the same SoC.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-06-02 17:37:32 +02:00
Josuah Demangeon
c00015ded5 samples: drivers: video: tcpserversink: add _dev suffix to variable
Variables that holds pointers to 'const struct device' typically end-up
with '_dev'. The tcpserversink video sample did not have it. Add it.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-02 05:48:21 +02:00
Josuah Demangeon
be5df19664 samples: drivers: video: tcpserversink: sort header alphabetically
Since this sample's headers are now grouped it is possible to sort them
alphabetically.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-02 05:48:21 +02:00
Josuah Demangeon
1b3f96ce3e samples: drivers: video: convert to new LOG_MODULE_REGISTER() syntax
Convert the log module declarationto the new syntax introduced in
5e34681 proposing a more compact syntax.
This fixes the log level not being updated in the "capture" sample.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-02 05:48:21 +02:00
Josuah Demangeon
a3465f8f4d drivers: video: sw_generator: convert to use the devicetree
Make the video software generator a devicetree node, which allows enabling
several instances, and select it as chosen { zephyr,camera = &... }; node.
It can be enabled via a `video-sw-generator` snippet.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-02 05:48:21 +02:00
Josuah Demangeon
cc664676ac samples: drivers: video: fix board definitions
By having an "auto-fallback" mechanism, the VIDEO_SW_GENERATOR did shadow
the fact that "platform:mimxrt1064_evk:SHIELD=dvp_fpc24_mt9m114" was
missing the full specification, and therefore was not matched at all:
the shield was not selected, but the CI still worked.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-02 05:48:21 +02:00
Derek Snell
2dc9c2b360 samples: subsys: nvs: add testcase for MCXN947 internal flash
For boards frdm_mcxn947 and mcx_n9xx_evk test NVS in internal flash in
addition to external QSPI flash.  Also enable the NVS subsystem on
these boards for Twister.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-05-31 05:57:40 -04:00
Piotr Kosycarz
dbb32434ba samples: sensor: accel_trig: add fixture for shield-tap
Prevent execution on devices without proper shield.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-05-31 03:37:40 +02:00
Luis Ubieda
94a7f028ef ubx: Refactor codebase in order to improve usability
During testing and code inspection, there were various anti-patterns
on this (and U-Blox driver) codebase(s), including obfuscation, and
lack of data validation. This made it increasingly difficult to
introduce further variants of u-blox GNSS modems.

With this patch, both the UBX modem and the M8 driver have been
refactored to ease the reliability and maintainability of these
codebases. Here are some highlights:

WRT UBX modem:
- Helper macros to easily create UBX frames, (including checksum
calculation), at compile time; thus, making it easier to extend UBX
commands.
- Logic validation by the inclusion of the modem_ubx testsuite, used to
refactor the code through TDD.
- Ability to receive unsolicited messages, in order to enable U-Blox
drivers to rely on modem_ubx to transceive all commands, and avoid
hopping between modem_ubx and modem_chat.

WRT M8 driver:
- Remove GNSS specific protocol header files. Instead, unify them under
modem/ubx/protocol.h. Background: After a survey and looking at ubxlib
SDK I conclude the UBX protocol is by definition a GNSS protocol (there
are non-GNSS u-blox modems, but they're not interfaced through UBX
protocol).
- Establish pattern to create and send/receive commands using new
foundations on modem ubx.
- Remove dependency of Modem chat, and instead use UBX unsolicited
messages to get Navigation and Satellites data.
- Switch from the auto-baudrate detection pattern to a pattern of
transitioning between an initial known baudrate to a desired baudrate,
in order to improve initialization time.
- Add dts property to configure default fix-rate.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-05-30 19:40:19 +02:00
Håkon Amundsen
801107eb4d drivers: firmware: add IRONside boot report
The boot report is used to pass information from IRONside to a CPU
being booted.

Integrate the boot report to the update service sample.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2025-05-30 16:35:15 +02:00
Hao Luo
d410b2cc67 samples: counter: alarm: undef redefined TIMER for ambiq
There's duplicated TIMER defined in ambiq hal, need to undef the
old one in alarm sample.

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-05-30 10:28:13 +02:00
Piotr Kosycarz
39ae9c3813 samples: drivers: counter: alarm: support nrf54h and nrf54l
Fix building/running for nrf54h and nrf54l.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-05-30 10:27:50 +02:00
Neil Chen
13d8ca5d28 samples: usb: Exclude frdm_mcxa153 platform from dfu sample
Exclude the platform frdm_mcxa153 from dfu sample.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-05-29 23:25:57 +02:00
Jamel Arbi
bb81347dfb samples: openthread: net: shell: Add NXP rcp host configuration
Add the NXP shell configuration for openthread RCP host

Signed-off-by: Jamel Arbi <jamel.arbi@nxp.com>
2025-05-29 20:17:23 +02:00