Commit graph

10700 commits

Author SHA1 Message Date
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
Hake Huang
11c543e24c Revert "samples: counter: alarm: remove platform_allow filterring"
this sample needs add dts defines for each platform, so should not be
generally enabled.

fixes: #90714

This reverts commit 022962c90d.

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2025-05-29 15:17:38 +01:00
Jiawei Yang
dc20d44d69 Sample: bluetooth: Enable MIMXRT1170 EVKB for peripheral_ht
Enable MIMXRT1170 EVKB for peripheral_ht.

Signed-off-by: Jiawei Yang <jiawei.yang_1@nxp.com>
2025-05-29 06:31:20 +02:00
Antonino Scarpaci
1508d7ec7e samples: drivers: video: fix capture_to_lvgl statistics
CONFIG_LV_USE_PERF_MONITOR depends on CONFIG_LV_USE_SYSMON.

Signed-off-by: Antonino Scarpaci <antonino.scarpaci@gmail.com>
2025-05-28 16:38:05 +02:00
Olivier Lalonde
afc481ab31 modem_cellular: Add support for the simcom a76xx modem
Add support for the simcom a76xx modem which is similar to the simcom 7080
but has a few key differences. Tested with a simcom A7672SA module but as
there is a single simcom A76XX AT commands manual, the driver should work
with other modems of the series.

Signed-off-by: Olivier Lalonde <o@syskall.com>
2025-05-28 16:37:53 +02:00
Cong Nguyen Huu
50964e4ef9 sample: arch: mpu: mpu_test: skip run automate for SoC S32Z
Due to input automated testing, the memory addresses (0x1, 0x2)
are not available in any managed memory region, causing the
automated test to fail. This test should be run manually.

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-05-28 16:37:44 +02:00
Bartosz Miller
364ec03afb samples: drivers: nrf: flash: Execute nrf soc flash sample on nrf54l
Add nrf54l to nrf_soc_flash sample allowed targets

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-05-28 12:22:04 +02:00
Magpie Embedded
bf664b88cd samples: sensor: Modify MAX30101 sample to generic heart rate sensor sample
This commit modifies the MAX30101 sample to produce a generic heart rate
sensor sample.
Support for the BH1790 sensor is added.

Signed-off-by: Magpie Embedded <magpieembedded@gmail.com>
2025-05-27 23:43:43 +02:00
Abderrahmane JARMOUNI
d2f857f000 samples: lvgl: multi_display: fix typo in sample yaml
fix typo that prevents sample from being built in CI

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-05-27 17:56:02 +02:00
Sudarsan N
8cf71d091e samples: adc_dt: add overlay for STM32F0-DISCO
Add board-specific overlay file for the adc_dt sample
on the STM32F0-DISCO board to enable ADC channel support.

Signed-off-by: Sudarsan N <sudarsansamy2002@gmail.com>
2025-05-27 15:46:19 +02:00
The Nguyen
022962c90d samples: counter: alarm: remove platform_allow filterring
Because this is a common testing scenario, almost any counter instance
should be able to run. Some counter instances cannot run this sample
should be filtered by platform_exclude or filter keywords.

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-05-27 11:50:37 +02:00
The Nguyen
aed47c62cc samples: counter: alarm: add support for Renesas RA devices
Add overlay to enable counter node for Renesas RA devices

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-05-27 11:50:37 +02:00
Nirav Agrawal
767772aad1 samples: bluetooth: fix adv_update error in bthome_sensor_template
- "bt_le_adv_update_data()" func calls just after bt_enable() call
 without completion of bt_ready() which is called as part of worker
 thread within init_work() causes issue where bluetooth controller
 has not been initialized and provides cb to app before app requests
 advertise_update to the stack.
- remove bt_ready() func and place content within main() post
 bt_enable() fixes this issue.

Signed-off-by: Nirav Agrawal <nirav.agrawal@nxp.com>
2025-05-27 10:29:28 +02:00
Arnaud Pouliquen
46cf96a04a samples: ipc: openamp_rsc_table: conditional virtio ID sent on IPM device
Some IPM devices return an error if we request to transfer data.
Use IPM_MAX_DATA_SIZE to determine if the virtio ID can be transferred
through the IPM device.
Send data to IPM only if CONFIG_IPM_MAX_DATA_SIZE is not zero.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2025-05-27 10:29:20 +02:00