Commit Graph

10811 Commits

Author SHA1 Message Date
Peter Wang
cec6d68284 boards: frdm_mcxa166, frdm_mcxa276: add temperature sensor support
1. enable temperature sensor support
2. verified samples/sensor/die_temp_polling

Signed-off-by: Peter Wang <chaoyi.wang@nxp.com>
2025-06-27 09:53:28 -05:00
Federico Di Gregorio
22210724c7 boards: opta: external flash and BLE support
This set of changes adds support for QSPI-based external flash and
Bluetooth to the device tree. This make it possible to correctly build and
execute the fatfs and several Bluetooth samples out of the box.

Also added a function to read the external flash OTP to extract
information about the Opta model and hardware features and a second
function to retrieve the "official" Opta serial number.

Signed-off-by: Federico Di Gregorio <fog@dndg.it>
2025-06-27 09:52:42 -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
Josuah Demangeon
b60609adea samples: usb: add new UVC sample
Following the addition of USB Video Class, this adds a sample that makes
use of the zephyr,camera chosen node of any board to stream the video
source to the host. A snippet video-sw-generator can be used to test
and debug devices without a zephyr,camera chosen node.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-27 12:25:41 +02:00
Saravanan Sekar
e4ae7d0b56 samples: pwm: add the lp_mspm0g3507 to the blinky_pwm and led/pwm samples
The lp_mspm0g3507 has a red LED that can be driven by GPIO or PWM TIMA0
CH0, set maximum prescale and divider to arrive lower timer clock from
clock source. Add to the samples.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2025-06-27 10:57:05 +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
Cong Nguyen Huu
1a3f46ce6e tests/samples: drivers: create test, sample for SENT driver
Create test, sample for SENT driver

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-06-26 18:50:07 -10:00
Philipp Steiner
67211341ca samples: fuelgauge: unify fuel gauge sample
Replace IC specific fuel gauge example with a generic fuel gauge example
and move the fuel gauge sample to sample/drivers folder

Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
2025-06-26 22:08:44 -05:00
Philipp Steiner
ebaf31c8c1 boards: adafruit: add initial support esp32s3_feather_tft_reverse
The Adafruit Feather ESP32S3 TFT Reverse is a development board in the
Feather standard layout, sharing peripheral placement with other devices
labeled as Feathers or FeatherWings. The board is equipped with an
ESP32-S3 mini module, a fuel gauge, a USB-C and Qwiic/STEMMA-QT connector.
This variant additionally comes with a 240x135 pixel IPS TFT color display
on the backside of the boards and with 3 buttons.

Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
2025-06-26 10:44:53 -10:00
Fin Maaß
ab0c9b861e samples: add CONFIG_LOG_TIMESTAMP_USE_REALTIME
add CONFIG_LOG_TIMESTAMP_USE_REALTIME to a sample,
so building with it is tested.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-06-26 11:03:22 -05:00
Sayooj K Karun
e719ba239f include: zephyr: sys: simplify MIN_HEAP_FOREACH macro
Refactor the `MIN_HEAP_FOREACH` macro to use a cleaner
for-loop style removing the need for a third `body` argument.
Update the sample application with the new macro changes.

Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2025-06-26 11:58:05 -04:00
Jeppe Odgaard
dffbd4fc88 license: fix copyright owner
Change license owner to Prevas due to initially wrong owner due to company
mix-up during co-development.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-06-26 10:56:48 -05:00
Duy Nguyen
5ac1e5e39e samples: Add exclusion for twister harness on qemu_rx
The qemu_rx is having issue with twister harness, command cannot
be send from twister test to qemu console, this commit temporary
disable them for further checking

Signed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-06-26 14:07:03 +02:00
Lewis Lee
6d34549ff3 drivers: audio: dmic: Add Apollo510 PDM driver for DMIC.
Add PDM driver for DMIC.
This driver is compatible with samples/audio/dmic application.

Signed-off-by: Lewis Lee <llee@ambiq.com>
2025-06-26 14:06:49 +02:00
Marek Matej
e93a6338d4 samples: ot: shell: update the sample configuration
Add l2 shell and ieee802154 node to the samples.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-06-26 11:12:34 +02:00
Khoa Tran
bd47fd4f5d samples: i2s: Add support for i2s SSIE on Renesas RA boards
Add Renesas RA board support for these tests:
- samples/drivers/i2s/output

Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
2025-06-26 11:12:21 +02:00
Michael Hope
3370e524ca samples: adc_dt: add support for the CH32V003EVT evaluation board
This demonstrates the ADC driver added in the previous commit. The
sample reads A0 as well as two built-in channels - one that reports
the internal 1.2 reference volatage and one that reports half the
analog supply voltage.

Signed-off-by: Michael Hope <michaelh@juju.nz>
2025-06-26 09:42:20 +02:00
Khoa Nguyen
831b9f4443 samples: modules: lvgl: demos: add support for ek_ra8p1
Add support for ek_ra8p1/r7ka8p1kflcac/cm85 running on
rtklcdpar1s00001be display shield

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Khoa Nguyen
9a66297eae samples: boards: renesas: Add support comparator for ek_ra8p1
Add support sample app `renesas/comparator` for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Khoa Nguyen
25701ab73e samples: drivers: counter: Add support alarm for ek_ra8p1
Add support sample counter/alarm for Renesas ek_ra8p1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 15:56:20 -10:00
Alain Volmat
174dead086 samples: video: capture: 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-06-25 15:55:24 -10:00
Nirav Agrawal
706cfc211d samples: bluetooth: fixes tmap sample issues
- Added support for CAP_COMMANDER in configuration to allow tmap-cg
 and tmap-ums roles to be validated. For CG and UMR, CAP INITIATOR
 and CAP COMMANDER roles are mandatory. Without this support, config
 "CONFIG_BT_TMAP_CG_SUPPORTED" & "CONFIG_BT_TMAP_UMS_SUPPORTED" are
 not getting defined and function fail during "valid_tmap_role()".

- Replaced iso_pool user-data size from 8 to kconfig setting
 "CONFIG_BT_CONN_TX_USER_DATA_SIZE" to allow conn_iso_send()
 to success. Without it the user-data for iso_pool configured
 with value 8 but the kconfig "BT_CONN_TX_USER_DATA_SIZE" has
 default value as 16 causes conn_iso_send() function to fail.

- Updated audio_timer_timeout() with expected QoS interval value
 to send ISO_SDU at every 10msec instead of 1 sec. Without this sink
 device receiving null-sdu most of the time as ISO interval is 10ms
 and unicast-source keep sends SDU at every 1 sec.

Signed-off-by: Nirav Agrawal <nirav.agrawal@nxp.com>
2025-06-25 15:51:24 -10:00
Khaoula Bidani
a865cf4ec4 samples: drivers: watchdog: Add nucleo u385rg_q as allowed platform
Add iwdg and wwdg test for Nucleo U385RG-Q board
in watchdog driver sample.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-25 15:46:40 -10:00
Tomas Barak
15a057c8f6 samples: driver: i2s: Support echo and codec on RT1060 EVKC
- increase the memory block count
- add generic codec configuration
- add rt1060 evkc and rt1170 evkb project configuration and overlay

Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
2025-06-25 14:05:47 +02:00
Iuliana Prodan
81268e1cde samples: Enable vendor-specific support for i.MX8ULP
Update the imx8ulp_evk_mimx8ud7_adsp board configuration to enable
vendor-specific resource table features.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-06-25 14:05:38 +02:00
Iuliana Prodan
a50ddace58 lib: open-amp: Replace struct fw_resource_table with void
Switching to void allows greater flexibility in supporting
vendor-specific resource tables.

This change reverts commit 39863b66bd, and adds some fixes.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-06-25 14:05:38 +02:00
Khoa Nguyen
6d910647e0 samples: modules: tflite-micro: Update Ethos-U driver config
Update Ethos-U driver config for sample app `tflm_ethosu`

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 10:52:48 +02:00
Thao Luong
ee078f609b samples: drivers: dac: Add support ek_ra2l1 for dac sample
Add support ek_ra2l1 for dac sample

Signed-off-by: Thao Luong <thao.luong.uw@renesas.com>
2025-06-25 09:52:23 +02:00
Thiyagarajan Pandiyan
fa732ece86 samples: sensor: Add distance measurement sensor sample
Added sample to measure distance

Signed-off-by: Thiyagarajan Pandiyan <psvthiyagarajan@gmail.com>
2025-06-24 19:56:13 -10:00
Arunmani Alagarsamy
60ab9888d4 samples: net: Fix MAC address logging to include correct third byte
Previously, mac->addr[2] was skipped and mac->addr[3] was duplicated.
This change ensures all six MAC address bytes are logged in the
correct order.

Signed-off-by: Arunmani Alagarsamy <arunmani.a@silabs.com>
2025-06-24 15:40:44 -05:00
Sylvio Alves
36fdcfd761 samples: counter: add esp32c2 soc overlay
esp8684_devkitm board build is failing due to
missing overlay file, which enables timer/counter.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-06-24 15:36:15 -05:00
Lucien Zhao
7f45bbed3c samples: drivers: i2s/i2s_codec: support case on rt700
put __16kHz16bit_stereo_sine_pcm buffer into nocache region
Do some settings for rt700 cm33_cpu0 core

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-06-24 15:35:07 -05:00
Chris Friedt
45b3dbd008 samples: net: remove POSIX_TIMERS and XSI_SINGLE_PROCESS
Remove POSIX_TIMERS and XSI_SINGLE_PROCESS dependencies from the aws
cloud sample and the lwm2m client sample, as they are no longer
required.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 14:18:52 +02:00
Maochen Wang
f4a0beb2b7 samples: net: wifi: Enable NXP_WIFI_TX_RX_ZERO_COPY for IW610
Enable NXP_WIFI_TX_RX_ZERO_COPY for IW610, which will reduce extra memcpy
between net stack and driver in TX data path and avoid the allocation of
RXPD and mlan_buffer in RX data path, to improve the throughput
performance.
Increase CONFIG_NET_BUF_DATA_SIZE to hold one packet in one buffer.
NXP_WIFI_TX_RX_ZERO_COPY can be enabled not only for NXP_RW610 case.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-06-24 09:17:03 +02:00
Francois Ramu
45ce78adf0 samples: code_relocation_nocopy: update macro for flash size and address
In case of the st,stm32-qspi-nor compatible
new property and node definitions will requires new macro
to get the external NOR flash base address and size
Add the config for running the sample on stm32l475 disco kit

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-24 09:13:33 +02:00
Francois Ramu
e35ac8f972 boards: st: stm32 boards qspi-nor-flash DTS configuration
This change defines the "st,stm32-qspi-nor" compatible Node
in conformance to the DTS specifications
Includes the size property (in Bits) of the external memory device

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-24 09:13:33 +02:00
Benjamin Perseghetti
5c9d6d44f3 drivers: sensor: icm42688 add axis_align in DT
Introduces the ability to set static axis
alignment of a sensor from DT params.

Signed-off-by: Benjamin Perseghetti <bperseghetti@rudislabs.com>
2025-06-23 16:29:32 -05:00
Marek Matej
612b905d7d samples: boards: espressif: extend SPIRAM test
Add byte, word, and dword test patterns to SPIRAM test.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-06-23 16:27:17 -05:00
Chaitanya Tata
9e8a21701b samples: net: zperf: Disable L2 ethernet
This simplifies Zperf commands avoiding needs to handle multiple
interfaces.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-06-23 12:47:56 -07:00
Etienne Carriere
f32cd9330b samples: drivers: i2c: rtio_loopback: add nucleo_f401re/nucleo_h503rb
Add nucleo_f401re and nucleo_h503rb boards to rtio_loopback tests
on the I2C driver.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-06-23 12:47:00 -07:00
Johan Hedberg
187ec7012d Bluetooth: samples: Use bt_hci_cmd_alloc()
Use bt_hci_cmd_alloc() instead of the soon to be deprecated
bt_hci_cmd_create().

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-06-23 12:44:53 -07:00
Francois Ramu
68d097836b samples: sysbuild: with mcu_boot on the stm32h7rs targets
Run the sample to execute in place on the external flash of the
stm32h7s78_dk or nucleo_h7s3l8 boards.
with_boot is build and linked for the external flash
Download the mcuboot zephyr.bin in internal memory
Download the with_mcuboot zephyr.signed.bin in external memory

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-23 12:32:11 -07:00
Francois Ramu
5a4326e8ce samples: appli dev: code reloc running on stm32h7rs target boards
Samples to execute code in external memory in Memory mapped mode
on the stm32h7s3l8 nucleo or stm32h7s78 disco kit

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-23 12:32:11 -07:00
Sergei Ovchinnikov
89b8383633 drivers: npm13xx: rename npm1300 to npm13xx
Rename npm1300 to npm13xx in function names, documentation, etc. where
applicable for all the npm13xx drivers

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2025-06-23 16:19:43 +01:00
Sergei Ovchinnikov
fb007db50a drivers: npm1300: rename to npm13xx
Rename npm1300 drivers and header files to npm13xx to allow for usage
with other nPM13xx product variants.

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2025-06-23 16:19:43 +01:00
Hao Luo
4a9412b5d4 drivers: adc: add dma support for ambiq adc driver
This commit adds dma support for ambiq adc driver

Signed-off-by: Hao Luo <hluo@ambiq.com>
2025-06-23 15:45:44 +01:00
Tomasz Moń
e0c2372eeb samples: usb: uac2: Implement feedback on nRF54H20
Add configuration and feedback implementation necessary to run UAC2
samples on nRF54H20. Limit nRF54H20 to Full-Speed only operation because
the samples currently don't have necessary logic to support High-Speed.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-06-23 15:44:52 +01:00
Tomasz Moń
45f1222474 samples: usb: uac2: Make I2S buffers UDC compliant
Change I2S mem slabs to adhere to UDC padding and alignment requirements.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-06-23 15:44:52 +01:00
Tomasz Moń
810118d2c6 samples: usb: uac2: Leave cache management up to drivers
Do not call cache management functions in sample because it does not
work properly if driver uses bounce buffers.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-06-23 15:44:52 +01:00
Aymen LAOUINI
eac65a2acd samples: watchdog: Add nrf9280 iron to sample
Added overlay for nrf9280 cpuapp iron board.

Signed-off-by: Aymen LAOUINI <aymen.laouini@nordicsemi.no>
2025-06-23 09:46:25 +02:00