Commit graph

10700 commits

Author SHA1 Message Date
Marcio Ribeiro
c2235a727d samples: i2s: add esp32 board overlay files
Adds esp32 board overlay files to i2s samples

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-04-06 12:17:58 +02:00
Ivan Wagner
b5adb4457c drivers: sensor: meas: ms5837 supporting 02 and 30 variants via dt
This patch adds support via dt compatible property.

Signed-off-by: Ivan Wagner <ivan.wagner@tecinvent.ch>
2025-04-04 21:16:20 +02:00
Matthias Hauser
941a5489d3 dts: boards: we: add board Ophelia-IV
add new board Ophelia-IV

Signed-off-by: Matthias Hauser <matthias.hauser@we-online.de>
2025-04-03 13:16:05 +02:00
Lyle Zhu
c09cf23844 Bluetooth: HFP_AG: Add ACL conn to the connected callback
If the AG works as Data Channel Acceptor, the ACL conn cannot be known
by the application of AG. Similar with HF, add ACL conn as the first
parameter to the `connected` callback of AG.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-03 06:24:32 +02:00
Lyle Zhu
68d2526130 Sample: Bluetooth: HFP_HF: Update the sample
Due to the interface of HF is updated, update HF sample accordingly.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-03 06:24:32 +02:00
Lyle Zhu
fcedda6a00 Sample: Bluetooth: HFP_AG: Update the sample
Due to the interface of AG is updated, update AG sample accordingly.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-03 06:24:32 +02:00
Jilay Pandya
d18f49132c drivers: stepper: refactor enable(dev,flag) to enable & disable
refactoring enable function into enable and disable increasing readability
and increasing coherence with other stepper apis in terms of
nomenclature

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-04-03 00:03:29 +02:00
Bjarki Arge Andreasen
3b4383b61c samples: boards: nordic: add audiopll
Add audiopll to sample.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-04-03 00:03:14 +02:00
William Tambe
7c2848486c samples: smp: pi: use K_SEM_DEFINE() for simplicity
This change uses K_SEM_DEFINE() instead of calling k_sem_init()
and having to check for its return value.

It makes the smp pi sample a bit simpler to go through.

Signed-off-by: William Tambe <williamt@cadence.com>
2025-04-02 19:03:22 +02:00
Yishai Jaffe
010d33c239 cfb: typo fixes
Fixed CFB_DISPLAY_HEIGH typo to CFB_DISPLAY_HEIGHT.
Fixed widht typo to width.
Fixed "cfb draw point" shell command's help message to "<x> <y>" instead
of "<x> <y0>".

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-04-02 10:30:50 +02:00
Jukka Rissanen
db098f5ae8 samples: net: common: Check that tunnel config options are valid
Make sure that we have always a default value for tunnel peer and
local addresses.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-04-02 10:29:29 +02:00
Jukka Rissanen
8d94245152 samples: net: echo-server: Refactor tunnel support
Move the common tunnel setup code to samples/net/common directory
so that other network samples can utilize that too.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-04-02 05:29:57 +02:00
Patrick Harböck
a7432a1e64 samples: sensor: add esp32c6 board to die_temp_polling
Add board overlay to test internal temperature sensor with esp32c6.

Signed-off-by: Patrick Harböck <patrick.harboeck@tngtech.com>
2025-04-01 22:13:50 +02:00
Dipak Shetty
033679b5d3 samples: sensor: light: add everlight light sensor
Sample extended to support the everlight light sensor on the
frdm_mcxw71 board.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-04-01 22:12:13 +02:00
Dipak Shetty
66966f7211 samples: sensor: light: refactor into generic light polling sample
Moved the grove light sensor into a generic light sensor sample.
Replaced board specific node name for light sensor with an alias.
Refactored project name to reflect generic light sensor.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-04-01 22:12:13 +02:00
Ryan Chu
9ba60d3eb7 bluetooth: host: Apply callback changes of CS complete events
The CS complete callbacks provide both status and params.
In the case of errors, NULL pointer is passed to the params of callbacks.

Signed-off-by: Ryan Chu <ryan.chu@nordicsemi.no>
2025-04-01 16:26:58 +02:00
Armando Visconti
48f7fcd2f0 samples/sensor: stream_fifo: initialize gbias
Add an example of how to initialize gbias. The real application should
restore latest valid values taken from non-volatile memory.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-04-01 11:59:31 +02:00
Håkon Amundsen
1fac1b917f boards: nordic: add 'iron' board variant
This is needed for next generation Secure Domain firmware.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
2025-04-01 11:54:30 +02:00
Benjamin Cabé
daacc8c297 samples: net: wifi: remove redundant options from esp32 conf overlays
A lot of the config options are already set in the prj.conf.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-01 11:51:59 +02:00
Sean Kyer
93c1c7d066 Samples: Bluetooth: Extend DIS sample
- Extended the DIS sample to showcase all possible
  fields using placeholder values.
- UDI issuer strings use a 'private' ODI which is
   unregistered.

Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
2025-03-31 19:50:12 -04:00
Shan Pen
6857dcabbf samples: sysbuild: with_mcuboot: fix typo
fixed a minor typo in CMakeLists.txt comment

Signed-off-by: Shan Pen <bricle031@gmail.com>
2025-03-31 22:02:06 +02:00
Benjamin Cabé
776c0cab9a doc: boards: nordic: Adopt zephyr:board directives
Migrate all Nordic boards to leverage the full extent of zephyr:board
directives.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-31 22:00:02 +02:00
Tom Burdick
c3f67ab976 samples: philosphers: Fix typo in famous name
Dijkstra not djkstra

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2025-03-31 08:20:19 +02:00
TOKITA Hiroshi
881c64d2e1 samples: drivers: adc: Update overlay for arduino_uno_r4
Use the `arduino,uno-adc` mapping to change the settings
to make it easier to understand.
Add available A4 and A5 pins.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-03-31 08:07:01 +02:00
Chaitanya Tata
e33d9ee45c samples: net: zperf: Fine tune memory to align zero-copy
Now that nRF70 by default uses zero-copy fine-tune the configuration to
get optimal memory while getting peak throughputs.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-03-28 16:11:05 +01:00
Ravi Dondaputi
58591c6f2c net: wifi: shell: Fix alloc failures during cert validation
Memory allocation failures during certificate validation causes
connection termination. Increase MBEDTLS_HEAP_SIZE to fix this.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2025-03-28 12:21:20 +01:00
Sebastian Głąb
dd882dc14d samples: drivers: mbox: Add mbox IRQ configuration
The mbox sample uses bellboard events enabled by default
in the nRF54H20dk board definition.
Thus, it's not easily obvious that IRQ bitmask must be aligned
when other mbox/bellboard channel is used.

Add comment to the nRF54H20 overlays.
Inform that bellboard channel used for RX must be enabled in
the 'nordic,interrupt-mapping' property.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-03-28 12:20:22 +01:00
Etienne Carriere
cc28f5072b samples: code_relocation_nocopy: fix stm32 flash size info
Fix typos in stm32 flash sizes value introduced by commit 0e1ffc7beb
("samples: code_relocation_nocopy: update macro to get flash size").

Fixes: 0e1ffc7beb
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-03-28 08:36:23 +01:00
Benjamin Cabé
cc0729c93a samples: boards: st: uart: update code sample reference to be unique
Not sure why this wasn't caught before but this sample needs a unique name
It conflicts with drivers/uart/echo_bot/README.rst

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-03-27 21:34:03 +01:00
Marek Matej
c9e1ff3876 samples: net: wifi: esp32: Enable config by driver
Move repeated config NET_L2_ETHERNET under the driver Kconfig.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-03-27 21:33:24 +01:00
Marek Matej
4d78218091 boards,samples: espressif: enable wifi by default
Enable wifi node in all procpu dts, so Wi-Fi could be enabled simply by
enabling the CONFIG_WIFI. In turn some sample code overlay files can be
dismissed.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-03-27 21:33:24 +01:00
Benedek Kupper
f5b3362c79 samples: usb: hid-keyboard: enable and use remote wakeup on button press
USB remote wakeup capability is a common feature of keyboards,
allowing them to wake up a suspended host. Currently there is no USB sample
that demonstrates remote wakeup, which makes basic evaluation of the
functionality non-trivial.

Modify the hid-keyboard sample with a minimalistic solution
of demonstrating remote wakeup capability. While it is not required to have
been configured prior to suspend to issue a wakeup request, from usability
perspective I'd say it makes sense.

Signed-off-by: Benedek Kupper <kupper.benedek@gmail.com>
2025-03-27 21:32:42 +01:00
Philipp Steiner
5ef4e8a128 boards: adafruit: esp32s2_feather: add support
add board support for adafruit_esp32s2_feather board series

Signed-off-by: Philipp Steiner <philipp.steiner1987@gmail.com>
2025-03-27 14:01:21 +01:00
Sylvio Alves
924c7cddf7 samples: ipm_esp32: do not skip CI test
This sample was skipped during hwmv2 bring up. Turn in back on.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-03-27 09:51:45 +01:00
Seppo Takalo
18b1af8b86 samples: net: lwm2m: Refactor to use NET_SAMPLE Kconfig prefix
It is easier to separate a sample application Kconfig
values from ones that configure something inside Zephyr.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-03-27 09:51:31 +01:00
Seppo Takalo
f9737e016f samples: net: lwm2m: Add support for nRF52840 on nRF9160DK
Add support for running LwM2M client on nRF52840 chip
using nRF9160 as a modem through serial port.
nRF9160 should run Serial LTE Modem application build
from nRF Connect SDK.

nRF9160DK board has two MCU, nRF9160 and nRF52840.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-03-27 09:51:31 +01:00
Hake Huang
6eb176a279 samples: ipc_service: remove fatal_error when platform not supported
remove the FATAL_ERROR message, and leave it just as a message.
also enhance filter for this case with "1pc0" anmd "1pc1"

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-03-27 03:50:04 +01:00
Hake Huang
e469565244 openamp: remote: change platform allow to filter
change paltform allow to filter in align with the main
core application

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
2025-03-27 03:50:04 +01:00
Chaitanya Tata
be4c79b01e samples: net: zperf: Optimize heap for nRF70 Series
Fine-tune the heap to get peak UDP (TX and RX) results but with minimal
heap consumption.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-03-26 21:56:14 +01:00
Sylvio Alves
9a6423baf2 samples: openamp: filter out esp32 appcpu core
ESP32xx appcpu board should only be built with procpu.
Stand alone AMP support makes no sense.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-03-26 21:56:01 +01:00
Nidhal BEN OTHMEN
a584534791 boards: st: nucleo_wba52cg: Remove the support of Nucleo WBA52CG board
Remove the support of the Nucleo WBA52CG board since it is NRND
(Not Recommended for New Design) and it is not supported anymore
in the STM32CubeWBA from version 1.1.0 (July 2023).

Signed-off-by: Nidhal BEN OTHMEN <nidhal.benothmen@st.com>
2025-03-26 21:55:39 +01:00
Jukka Rissanen
618ec363f2 samples: net: zperf: Add frdm-rw612 board
Set minimal set of options to enable running zperf with
NXP frdm-rw612 board.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-03-26 16:22:14 +01:00
Emil Gydesen
092367cc8a samples: net: Replace OVERLAY_CONFIG with EXTRA_CONF_FILE
OVERLAY_CONFIG has been deprecated and replaced by
EXTRA_CONF_FILE. Update samples to reflect that.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-03-26 16:20:36 +01:00
Emil Gydesen
4fe81ec398 samples: Bluetooth: Replace OVERLAY_CONFIG with EXTRA_CONF_FILE
OVERLAY_CONFIG has been deprecated and replaced by
EXTRA_CONF_FILE. Update samples to reflect that.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-03-26 16:20:36 +01:00
Robert Lubos
55e1c10894 net: mqtt: Add MQTT 5.0 support for DISCONNECT
Add support for DICONNECT message specified in MQTT 5.0.
As with MQTT 5.0, the disconnect can now also be initiated by the
broker, it was needed to add decoder support for the message.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-03-26 16:19:42 +01:00
Tomasz Moń
75109707e3 usb: device_next: Do not add serial number without HWINFO
For many devices iSerialNumber is not required. The only device class
currently supported in Zephyr that requires iSerialNumber is MSC. If the
serial number is not available then iSerialNumber must be 0. Failure to
read the string descriptor for non-zero iSerialNumber fails USB Command
Verifier Chapter 9 tests.

When USBD_DESC_SERIAL_NUMBER_DEFINE() was used without CONFIG_HWINFO
then it did lead to runtime failure when requesting the string (thus
failing certification).

Fail USBD_DESC_SERIAL_NUMBER_DEFINE() at build-time if CONFIG_HWINFO is
not set to prevent the surprise at runtime. Only define serial number
descriptors if CONFIG_HWINFO is enabled.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2025-03-26 16:18:56 +01:00
Fabrice DJIATSA
0e1ffc7beb samples: code_relocation_nocopy: update macro to get flash size
The flash size is the second part (size) of the first reg value,

not the first part (address) of a nonexistent second reg value.

DT_REG_SIZE get a node's (only) register block size instead
DT_REG_ADDR_BY_IDX .

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-03-25 22:15:07 +01:00
Khoa Nguyen
c875ce71b0 samples: dac: Add DAC support for Renesas RA4 boards
Add support DAC for ek_ra4m1, ek_ra4w1, fpb_ra4e1,
voice_ra4e1, ek_ra4l1

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-03-25 22:13:12 +01:00
Tilmann Unte
224b5b744d drivers: sensor: mpu6050: scale settings to DT, adds sample rate setting
Moves the MPU6050 accel/gyro scale settings from KConfig to Devicetree.
Adds a new setting for the MPU6050 sample rate divider register and
transmits it to the sensor upon initialization.
This helps to reduce the interrupt firing rate when combined with the
data ready trigger.
A default division factor is provided which ensures compatibility with
existing applications.
The MPU6050 sample application is extended and used for hardware tests.

Signed-off-by: Tilmann Unte <unte@es-augsburg.de>
2025-03-25 22:12:49 +01:00
Seppo Takalo
c78081e5cf modem: modem_cellular: Configurable MTU for CMUX
Allow configuring MTU for CMUX.
Some AT manual and specification define this as a
frame size. Linux ldattach default to 127 bytes,
3GPP TS 27.010 defaults to 31.

We should limit our CMUX frames to a size that
remote end is capable of handling.
Linux silently drops oversized frames.

Also, remove MODEM_CELLULAR_CMUX_MAX_FRAME_SIZE as
this was only limiting a buffer sizes, and resulted
CMUX frames to be capped to same value.
Use MODEM_CMUX_WORK_BUFFER_SIZE and MODEM_CMUX_MTU instead.

Also rename CONFIG_MODEM_CELLULAR_CHAT_BUFFER_SIZES to
CONFIG_MODEM_CELLULAR_CHAT_BUFFER_SIZE as it is now
only used as a Chat module. DLCI pipes use
CONFIG_MODEM_CMUX_WORK_BUFFER_SIZE.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-03-24 19:33:07 +01:00