Commit Graph

1818 Commits

Author SHA1 Message Date
Charles Dias
d37ec5136b samples: video: capture: add a stm32h7b3i_dk config
Add a configuration files for the stm32h7b3i_dk board.

Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
2025-07-29 11:19:33 +01:00
Phi Bang Nguyen
d0f7604b1a samples: drivers: display: Fix RGB565/BGR565 interchange issue
The RGB565 and BGR565 formats are interchanged in the sample. This leads
to wrong assumptions about "byte swap" in Zephyr and make display
drivers, shields and video sample follow it for a long time. Fix it.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-07-28 16:45:33 -04:00
Phi Bang Nguyen
2fdc051269 samples: drivers: video: Fix RGB565/BGR565 in display format
Formats should be coherently set between camera and display. Forcing
RGB565 to BGR565 will break some platforms.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-07-28 16:45:33 -04:00
Holt Sun
4618e86edd drivers: irtc: Updated rtc driver to support NXP RT700 device.
1. Update nxp irtc driver to fix issue in init and alarm function.
2. Update RTC device tree binding to support "share-counter".
3. Update RT700 dtsi to support rtc0 for cpu0 and rtc1 for cpu1.
4. Update readme.
5. Update unit test project conf for RT700.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-07-28 16:42:30 -04:00
Mahesh Mahadevan
85e1353624 samples: led_pwm: Lower the blinking delay for RT1180 EVK
The blinking period provided by default was too large
for this platform.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-07-25 23:37:00 +02:00
Grzegorz Swiderski
b4c18e8999 boards: nrf54h20dk: Merge iron variants into the base variants
This replaces the legacy SDFW compatible board configuration with the
IronSide SE compatible one, thus removing support for running samples
and tests on nRF54H20 devices with the old firmware.

All applications are expected to work on `nrf54h20dk/nrf54h20/cpuapp`
out of the box. For other board targets, all applications are expected
to boot, but may require additional peripheral configuration in UICR.
Build system support for the new UICR format is to be added separately.

Co-authored-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
Signed-off-by: Grzegorz Swiderski <grzegorz.swiderski@nordicsemi.no>
2025-07-24 16:57:45 +01:00
Jonathan Nilsen
d6673e1acd samples: drivers: mbox: switch nrf54h20 cpuapp and cpurad remotes
Switch which board is the remote in the test case for
mbox communication between nrf54h20dk/nrf54h20/cpuapp and
nrf54h20dk/nrf54h20/cpurad, making cpurad the remote instead.
This is done to prepare the sample for executing with IronSide SE,
where using cpurad as the main board doesn't make as much sense,
since cpuapp has to start cpurad.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-07-24 16:57:45 +01:00
Sebastian Głąb
35a170fb90 samples: drivers: adc: Fix License in board overlays
Board overlays were moved from downstream to upstream.
By mistake, License was left unchanged.

Change License type to match with the upstream.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-24 06:04:46 -04:00
Anisetti Avinash Krishna
4675f17fa2 samples: drivers: uart: async_api: Added support for BTL-s
Added support for async api application on BTL-s platform.
Resolves #93408

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-07-24 02:47:43 -04:00
Thomas Altenbach
b7967f7ef4 samples: drivers: spi_flash: Use valid addresses/sizes for dual-flash
When a board contains two identical flash memories configured in
parallel dual-flash mode, the actual sector size is twice the sector
size of a single flash memory. So, assuming 4-KiB sectors for each flash
memory, any erase operation must be 8-KiB aligned.

This commit updates the start offset and sector size in the spi_flash
sample to be properly aligned when a dual-flash configuration is used.

At the moment, this is only supported for STM32-based boards and QSPI
flash memories.

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-07-23 09:32:22 +02:00
Ruiqian Tang
53374c6257 boards: seeed: support XIAO nRF54L15
This is a new board of the XIAO series based on nRF54L15.

Signed-off-by: Ruiqian Tang <ruiqian.tang@seeed.cc>
2025-07-22 14:18:43 +02:00
Luis Ubieda
9339f315b0 samples: gnss: Add ability to enable RTK
Expand this sample to also work with GNSS_RTK through a serial client.

Make this compatible to work with VMU_RT1170 which requires using the
F9P, instead of the M8 UBX module.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-21 09:19:14 -04:00
Sebastian Głąb
3cf784c557 samples: drivers: watchdog: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
231b663495 samples: drivers: spi_flash: Enable sample on nrf54lm20dk
Add overlay required to run the sample on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
e314eb649a samples: drivers: spi_bitbang: Enable sample on nrf54* targets
Add overlays required to run the sample on
- nrf54h20dk/nrf54h20/cpuapp,
- nrf54l15dk/nrf54l15/cpuapp,
- nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
537b1ef4e7 samples: drivers: mbox: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
c25e0302ee samples: drivers: jesd216: Enable sample on nrf54lm20dk
Add overlay required to run the sample on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
fc164f43a0 samples: drivers: i2c: rtio_loopback: Enable sample on nrf54lm20dk
Add overlay required to run the sample on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
589c85dc97 samples: drivers: counter: alarm: Cleanup platform_allow for nrf54*
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Extend platform_allow with other nrf54* targets (overlays for these
targets already exist in the boards directory).

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
94d35ec0ce samples: drivers: audio: dmic: Cleanup after nRF54LM20 rename
Remove duplicated test configuration after
nrf54l20pdk/nrf54l20/cpuxxx was renamed to
nrf54lm20dk/nrf54lm20a/cpuxxx.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
3c9368bc50 samples: drivers: adc: adc_sequence: Enable sample on nrf54lm20dk
Add overlay required to run the sample on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Sebastian Głąb
8892550b21 samples: drivers: adc: adc_dt: Enable sample on nrf54lm20dk
Add overlay required to run the sample on
nrf54lm20dk/nrf54lm20a/cpuapp.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-07-21 07:51:19 -04:00
Matt Rodgers
873fae67f8 samples: adc: add board overlays for STM32 differential mode
Add overlays used for testing differential mode support in STM32 ADC
driver:
- Nucleo F303K8
- Nucleo H753ZI

Signed-off-by: Matt Rodgers <mrodgers@witekio.com>
2025-07-21 07:25:30 -04:00
Saravanan Sekar
7ed3c4fc46 samples: drivers: pwm: Add a sample to test pwm capture
Add a sample to test pwm capture function.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2025-07-21 07:25:10 -04:00
Martin Hoff
e2aa3cea77 tests: Add overlay for siwx917_dk2605 board
This commit adds test overlays for the siwx917_dk2605a board.
It also adds an overlay for the i2s sample.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-07-19 15:47:23 -04:00
Simon Guinot
e1aaf8761e drivers: led: pwm: automatically select PWM
For all LED drivers, the underlying subsystem is automatically selected
in Kconfig if their compatible node is found in DT.

The only exception is the PWM LED driver which depends on PWM instead
of selecting it. The PWM Kconfig option must be explicitely selected in
order to have LED_PWM enabled.

This patch updates the Kconfig of the PWM LED driver to have the same
behavior as other LED drivers: PWM is now automatically selected if a
"pwm-leds" compatible node is found in DT.

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2025-07-19 15:39:29 -04:00
Hao Luo
4b3565d958 drivers: pwm: Add support for Apollo510 pwm
This commit adds support for Apollo510 pwm driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-07-19 15:31:08 -04:00
Richard Wheatley
e81a241678 driver: pwm: create ambiq pwm driver
Restructured counter and timer.
CTimer/Timer is now parent to pwm and counter.
Created PWM driver and tied to pwm and pwm-led

Signed-off-by: Richard Wheatley <richard.wheatley@ambiq.com>
2025-07-19 15:31:08 -04:00
Neil Chen
084baf00ad samples: video: Add support for smartdma video on FRDM_MCXN236
Add support for using the SMARTDMA engine on the FRDM-MCXN236 board with
the video capture sample.
Replace console pins, because default console pins(P1_8, P1_9) are
duplicated with camera header pins.

Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
2025-07-19 15:29:25 -04:00
Jimmy Zheng
7725284f5f samples: drivers: watchdog: add overlay file for adp_xc7k/ae350/clic
adp_xc7k/ae350/clic uses a different interrupt controller than
adp_xc7k/ae350, add overlay files as in adp_xc7k/ae350.

Signed-off-by: Jimmy Zheng <jimmyzhe@andestech.com>
2025-07-19 15:28:58 -04:00
Mario Paja
442465f81c drivers: i2s: add sai support for stm32h5xx
Define SAI nodes for STM32H5 series and enable samples/drivers/i2s/output
for nucleo_h563zi board.

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-07-19 10:16:03 +02:00
Pete Johanson
16610c8a8a drivers: flash: Add MAX32 SPIXF NOR test/samples
Update common flash test and jesd216 samples to work on the
APARD32690-SL board which has MX25U6432FM2I02 on-board.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-07-19 10:08:46 +02:00
Jilay Pandya
3ce26616c9 drivers: stepper: rename gpio_steppper_controller to h_bridge_stepper
rename gpio stepper to h bridge stepper
minor correction in stepper_stop, stepper_stop shall cancel all active
movements and should not be concerned about keeping the coils energized
or not, since that is a concern of a motion controller and not a stepper
driver.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-07-19 09:57:40 +02:00
Erwan Gouriou
079899cfd5 samples: display: Fix stm32n6570_dk fsbl variant
When adding new fsbl variant this sample Kconfig overlay was missed
leading to non functional sample on this variant.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-07-11 13:14:30 -10:00
Philipp Steiner
aa8b259167 samples: fuelgauge: resolve_merge_artifacts
moves adafruit_feather_esp32s3_tft_reverse_procpu.conf file
to the correct folder after PR was merged.

Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
2025-07-09 09:44:35 -05:00
Gaetan Perrot
a16c50472a samples: drivers: i2s: i2s_codec: Remove shadowed variable
Avoids shadowing the outer 'ret' variable by reusing it instead of
redeclaring it inside a conditional block.

This improves code clarity.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2025-07-07 10:05:24 -05:00
Phi Bang Nguyen
7a3737b9bb samples: video: capture: Enable deferred logging
Immediate log mode may use a lot of stack and hence may cause some stack
overflow on some boards.

Enable deferred log mode to have the least impact on the application.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-07-03 11:56:30 -05:00
Phi Bang Nguyen
1c9f8904ed samples: video: capture: Add condition for test pattern test
Add condition to do the test pattern fixture test only if the test
pattern control was successfully set.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-07-03 11:56:30 -05:00
Alain Volmat
706895cc27 samples: video: capture_to_lvgl: add crop/compose support
Demonstrate the crop/compose API by introducing 4 new
CONFIG options in order to define the crop area.
Moreover, if the selection API is available and if
the targetted size is different from the current crop
size, then try to apply a compose in order to reach
the targetted format size.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-07-03 11:56:07 -05:00
Alain Volmat
aa345401bb samples: video: capture_to_lvgl: add stm32n6570_dk/fsbl conf
Add the conf file for the stm32n6570_dk in its FSBL variant

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-07-03 11:56:07 -05:00
Alain Volmat
5508534685 samples: video: capture: add conf for stm32n6570_dk fsbl
Add the board conf file for the stm32n6570_dk in its fsbl
variant.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-07-03 11:56:07 -05:00
Vit Stanicek
fe11acc21c samples: i2s_codec: Fix i2s API misuse
Replace i2s_write invocation with i2s_buf_write invocation for test sine
wave playback.

When CONFIG_USE_DMIC=n, this sample attempts to play back a test sine
wave encoded in sine.h. As the i2s_write treats the given buffer as a
memory slab, it overwrites parts of it, resulting in data corruption and
improper playback. i2s_buf_write accepts a buffer existing outside the
playback queue (heap).

Manually tested on mimxrt595_evk/mimxrt595s/cm33 where it was first
observed.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-07-02 03:52:35 -10:00
Pisit Sawangvonganan
a163f9db61 kconfig: fix typo in (arch, boards, kernel, modules, samples, share)
Utilize a code spell-checking tool to scan for and correct spelling errors
in `Kconfig` files within the `arch`, `boards`, `kernel`, `modules`,
`samples`, and `share` directory.
Additionally, incorporates a fix recommended by the reviewer.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-07-01 10:58:54 -10:00
Cong Nguyen Huu
a53582dab8 tests/samples: drivers: create test, sample for psi5 driver
Create test, sample for psi5 driver

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-07-01 10:53:59 -10:00
Sylvio Alves
72b0f08d0b samples: i2s echo: guard audio_codec configuration
Ensure the I2S echo sample only configures the audio_codec driver
when the `audio_codec` node is defined and enabled in the devicetree.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-07-01 10:15:14 -05:00
Josuah Demangeon
28639862ba samples: drivers: video: capture: remove invalid build instruction
Remove the build instruction from README about using the native_sim
without using the video-sw-generator snippet, as it cannot build.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-30 15:24:03 -05:00
Josuah Demangeon
53dfa28367 samples: drivers: video: add DT_HAS_CHOSEN() safeguards
Add macros giving hints to users using #error, about what might be
missing to build and run the samples, such as a missing "chosen"
devicetree node.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-30 15:24:03 -05:00
Karol Lasończyk
061036f9e3 tests: samples: Extend support for nRF54LM20A
Extends support and adds new overlays.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-27 18:26:57 -05:00
Alain Volmat
e4348ad877 samples: video: capture: add a stm32mp135f_dk config
Add a configuration file for the stm32mp135f_dk board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-06-27 12:25:52 +02:00
Saravanan Sekar
8b4a97f12c dts: arm: ti: mspm0: Set timer node name per datasheet
Set timer node name per datasheet for timg0.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2025-06-27 10:57:05 +02:00