Commit graph

136,983 commits

Author SHA1 Message Date
Maximilian Werner
c1722f5eda drivers: i2c: mcux: add support for target mode
Add i2c target support to the i2c_mcux driver.
Add the frdm_mcxc242 board to i2c_target_api tests.

Signed-off-by: Maximilian Werner <maximilian.werner96@gmail.com>
2026-01-12 12:34:11 -06:00
Yongxu Wang
52c712d4d1 firmware: scmi: add mutex protection to polling mode
Protect scmi_send_message_polling() with channel mutex to prevent
concurrent access with interrupt-driven transfers.

Without this fix, PM subsystem could send polling-mode messages
while an interrupt-mode transfer was in progress, corrupting the
shared channel state.

Fixes hang on i.MX943 during I2C initialization when PM attempted
to send power state notifications concurrently.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-01-12 12:33:40 -06:00
Igor Knippenberg
0d1863c409 drivers: can: stm32: fdcan: enable hardware RX timestamping
Enables hardware RX timestamping for the STM32 FDCAN driver by
leveraging the M_CAN timestamping interface.

Introduces a new `timestamp-counter` property in the device tree binding.
If `CONFIG_CAN_RX_TIMESTAMP` is enabled and this property is defined,
the driver configures the M_CAN Timestamp Select to use the
external timestamp counter value.

This allows linking a Zephyr Counter device to the FDCAN instance to
provide precise packet timing.

Signed-off-by: Igor Knippenberg <knippenberg@filics.eu>
2026-01-12 12:32:55 -06:00
Om Srivastava
eb2da4f4c6 bluetooth: shell: fix AD length validation
Fix validation of AD length handling in the Bluetooth shell.
Reject zero-length AD fields before subtracting the AD type size.

The previous implementation compared an unsigned length
against zero after subtraction, making the error path
unreachable.

Signed-off-by: Om Srivastava <srivastavaom97714@gmail.com>
2026-01-12 12:32:25 -06:00
Marek Matej
45dd7fa9ad xtensa: debug: enable xtensa thread awareness
Enable stack offset switching for Xtensa targets if arch_switch is used.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
b6e6a4c0c4 doc: esp32: document openocd thread awareness
Document the OpenOCD version required for Zephyr thread
awareness and how to use CONFIG_DEBUG_THREAD_INFO.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
f9e81d6ded boards: esp32: set openocd target handle for RTOS support
ESP32 OpenOCD uses $_TARGETNAME_0 instead of $_TARGETNAME.
Set the correct target handle to enable RTOS awareness.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
aaec098e0e boards: esp32: enable Zephyr RTOS in openocd config
Change ESP_RTOS from none to Zephyr in all ESP32 board
openocd.cfg files to enable thread awareness during debug.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Sylvio Alves
7695aefce1 boards: esp32: remove --no-init from openocd args
Remove the --no-init flag to fix west debugserver on boards
with built-in USB JTAG (ESP32-C6, ESP32-H2).

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-12 12:31:57 -06:00
Kapil Bhatt
2b2ac80eea drivers: wifi: Change WPA3 to WPA3_HNP and WPA3_H2E
Change WPA3 into WPA3-HNP, WPA3-H2E for Display scan fix.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Kapil Bhatt
7885303422 driver: nrf_wifi: Add config option for No-ACK policy in Tx packets
Build time configuration option to set No-ACK policy for Tx packets
with a specific TID.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Kapil Bhatt
16c97c5170 manifest: Update hostap revision for p2p fixes
Listen for probe request in GO mode
Reducing a delay in p2p connection.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Karun Kumar Eagalapati
cef6b4a760 manifest: Update nrf_wifi with latest rpu bins
1. Fixes an issue in UMAC where valid P2P devices were filtered
      during a connect scan due to strict SSID length matching.
   2. P2P NOA Bug Fix.
   3. Linker issue fix in Raw modes.
   4. LMAC BIMG offset change.
   5. RPU Version update from 1.2.14.6 to 1.2.14.7.
   6. Display scan fix for WPA3 HNP and H2E.

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
2026-01-12 12:31:08 -06:00
Qingsong Gou
0ee36a6f50 drivers: rtc: sf32lb: fix compile warnings
Fix compile warnings for sf32lb

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-12 12:30:23 -06:00
Qingsong Gou
0a0ab9888c boards: sifli: sf32lb52_devkit_lcd: enable rtc build
Enable rtc build on sf32lb52_devkit_lcd board

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-12 12:30:23 -06:00
Qingsong Gou
cd528e3b25 drivers: rtc: sf32lb: fix y2k bug
Fix 1999 to 2000 year bug

Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
2026-01-12 12:30:23 -06:00
Etienne Carriere
b42b10f89e west.yml: update hal_stm32 module on H7RS/L4/L5/N6 stm32cube releases
stm32h7rsxx bumps to STM32CubeH7RS version 1.3.0.
stm32l4xx bumps to STM32CubeL4 version 1.18.2.
stm32l5xx bumps to STM32CubeL5 version 1.6.0.
stm32n6xx bumps to STM32CubeN6 version 1.3.0.

Update dma_stm32.h to sync with HAL new function prototype for
LL_DMA_IsActiveFlag_HT*() functions that now expect a const pointer
on STM32L4X series. While at it, also update the STM32MP13X series
that expects the same prototypes.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-01-12 12:29:37 -06:00
Fin Maaß
540df685f4 drivers: ethernet: w5500: implement get_link
implement get_link from the ethernet phy
api.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-01-12 12:29:07 -06:00
Fin Maaß
b85c12049b drivers: ethernet: w5500: use timeout directly
use Kconfig timeout directly.

Signed-off-by: Fin Maaß <info@finmaass.de>
2026-01-12 12:29:07 -06:00
Dev Joshi
80474fae1c boards: rpi_pico2: fix I2C misconfiguration bug
I2C controller on rpi_pico2 boards were getting misconfigured due to
`CONFIG_I2C_DW_CLOCK_SPEED` not getting set properly. This change fixes
the value for this Kconfig symbol to the correct clock speed (clk_peri)
that is used by I2C controller.

Signed-off-by: Dev Joshi <devbhave@qti.qualcomm.com>
2026-01-12 12:28:39 -06:00
Marco Casaroli
2988310fe6 doc: releases: add note about CONFIG_MBEDTLS_VERSION in Mbed TLS
Updates release notes about the addition of the new configuration.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-12 12:27:59 -06:00
Marco Casaroli
e1c68019cc modules: mbedtls: include option to enable version information
Some libraries like libcoap make use of mbedtls_version_get_number
which is enabled by MBEDTLS_VERSION_C.

We add a config option to be able to selectively enable it.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-12 12:27:59 -06:00
Stephan Linz
adaac81ae8 MAINTAINERS: include CAN FD 6 Click shield in CAN drivers
This commit adds the MikroE CAN FD 6 Click shield under the same
assignees as other of the CAN driver based shields.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-12 12:27:21 -06:00
Stephan Linz
0049bbe202 tests: drivers: build_all: can: add MikroE compile tests for tcan4x5x
Add the MikroE compile test for the TI TCAN4x5x series CAN controller
driver.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-12 12:27:21 -06:00
Stephan Linz
baf18d9e88 boards: shields: add support for MikroE CAN FD 6 Click
Add shield definition for the MikroElektronika CAN FD 6 Click shield,
an mikroBUS compatible evaluation module for the TI TCAN4x5x CAN
controller series.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-12 12:27:21 -06:00
Armando Visconti
56b85ea61a drivers/sensor: lsm6dsvxxx: add ism6hg256x support
Add support to ism6hg256x sensor variant of LSM6DSVXXX driver.

More information:
https://www.st.com/resource/en/datasheet/ism6hg256x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
310457448a drivers/sensor: lsm6dsvxxx: add High-g data support in FIFO
Add support for High-g data in FIFO. The HG data wiil be marked in
FIFO with LSM6DSV80X_XL_HG_TAG.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
b66fc31c95 drivers/sensor: lsm6dsvxxx: add lsm6dsv80x support
Add support to lsm6dsv80x sensor variant of LSM6DSVXXX driver.

More information:
https://www.st.com/resource/en/datasheet/lsm6dsv80x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
3c16d599b1 drivers/sensor: lsm6dsvxxx: add streaming capabality
Add read_and_decode streaming APIs support.

Triggers supported:
    - SENSOR_TRIG_FIFO_WATERMARK
    - SENSOR_TRIG_FIFO_FULL
    - SENSOR_TRIG_DATA_READY

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
d6eaae4d53 drivers/sensor/st: add support to LSM6DSVXXX IMU family
This driver is currently only supporting the polling-mode read_and_decode
APIs (both blocking and non-blocking).

The driver implements a chip_api structure which has to be used to
provide device specific callbacks. The only lsm6dsvxxx family device
currently supported is lsm6dsv320x.

More information about LSM6DSV16X:
https://www.st.com/resource/en/datasheet/lsm6dsv320x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
5372b41979 sensor/lsm6dsvxxx: change DT common prop names
The Device Tree property names that are common to lsm6dsv16x and
lsm6dsv32x drivers are now prefixed with LSM6DSVXXX_ (and not
LSM6DSV16X_) just for the sake of clarity.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Henrik Brix Andersen
0949f8a52a drivers: sensor: adi: max30210: Fix build with Clang/LLVM
drivers/sensor/adi/max30210/max30210_trigger.c:144:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  144 |                 uint8_t temp_hi_setup[2];
      |                 ^

drivers/sensor/adi/max30210/max30210_trigger.c:175:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  175 |                 uint8_t temp_inc_fast_thresh;
      |                 ^

drivers/sensor/adi/max30210/max30210_trigger.c:196:3: error: label followed
by a declaration is a C23 extension [-Werror,-Wc23-extensions]
  196 |                 uint8_t temp_dec_fast_thresh;
      |                 ^

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-12 12:26:27 -06:00
Camille BAUD
76dd50833f boards: bflb: Add pre_dt_board.cmake to all
Add -Wno-unique_unit_address_if_enabled for all boards,
as bflb SoCs contains a lot of overlapping peripheral nodes.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-12 11:55:54 +01:00
Mathieu Choplain
8f5a5bb7cd doc: services: mem_mgmt: cleanup zephyr,memory-attr examples
Remove whitespace between parentheses and value. This seems to be the only
place in tree where such a pattern is found, and it violates the rules of
the Devicetree linter executed by CI.

Replace ARM-specific MPU attributes with their plain variant, also removing
the unnecessary parentheses in the process.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-12 11:55:36 +01:00
Mathieu Choplain
37f8685ab2 doc: arch: arm_cortex_m: cleanup zephyr,memory-attr example
Remove unnecessary parentheses and switch to the plain variant of the
RAM_NOCACHE "attribute".

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-12 11:55:36 +01:00
Mathieu Choplain
0b5477cd38 doc: arch: arm_cortex_m: CM0/CM1 can't program custom fault priorities
The documentation currently indicates that Cortex-M0 and Cortex-M1 have
programmable fault priorities which is not true. Fix this error.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-01-12 11:55:36 +01:00
Ian Morris
a4da896211 boards: renesas: ek_ra2l1: add LEDs and alias
Added additional LEDs and an alias so that examples such
basic/threads will build/run on this board.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-12 11:55:25 +01:00
Ian Morris
d6cb39852d boards: renesas: ek_ra6m4: add PWM LED alias
Added pwm-led0 alias so that basic/blinky_pwm and basic/fade_led
samples can be built/run on the ek_ra6m4.

Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
2026-01-12 11:55:10 +01:00
Pisit Sawangvonganan
aba81d54e7 drivers: spi: avoid duplicating tx/rx length selection logic
For clarity and compactness, use
`spi_context_max_continuous_chunk()` instead of open-coding
the same tx/rx length selection logic.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-01-12 11:54:58 +01:00
Lyle Zhu
bd7da95049 Bluetooth: Classic: L2CAP: Fix sending buffer reference counting
There is a corner case that the ACL_Data_Packet_Length is less than
the MPS of the L2CAP BR channel connection. Then the partial data
will be sent and the remaining data will be sent in sequence in the
function `l2cap_br_data_pull()`. The issue occurs when sending the
continuing fragment HCI ACL packet, due to the reference counting of
sending buffer is 0. Therefore, the application will be asserted in
the function `send_buf()`.

Fix the issue by managing the reference count of the sending buffer.

Use the function `net_buf_ref()` to increment the reference count of
the sending buffer.

If the sending buffer is the last fragment, use `net_buf_unref()` to
decrement the reference count of the sending buffer to ensure that
the send buffer can be properly released when the data is sent out.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-12 11:54:43 +01:00
Devika Raju
5f0483a8aa drivers: wifi: siwx91x: Fix multicast filtering on IGMP leave
Device continued receiving multicast data after leaving IGMP group
because the driver did not configure the SiWx917 firmware to stop
filtering for the multicast MAC address.

Register a Zephyr multicast monitor callback (net_if_mcast_mon_register)
that calls sl_wifi_configure_multicast_filter() to add or remove
multicast MAC filters in the firmware when groups are joined or left.

Signed-off-by: Devika Raju <Devika.Raju@silabs.com>
2026-01-12 11:54:32 +01:00
Jukka Rissanen
290384b8cb net: dns: Add missing documentation for struct dns_addrinfo
The documentation of various fields in "struct dns_addrinfo" were
missing.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-12 11:54:20 +01:00
Muhammed Asif
e92fe156f9 samples: watchdog: sam_e54_xpro: Adds the overlay for the board
- Adds the overlay for sam_e54_xpro board in the sample for watchdog.

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
farsin NASAR V A
4fb07b6be0 tests: drivers: watchdog: Adds sam_e54 test support files
- Adds sam_e54_xpro.overlay files for wdt test projects.
- Adds sam_e54_xpro platform allow in testcase.yaml.
- Adds wdt board specific configuration in main.c

Signed-off-by: farsin NASAR V A <farsin.nasarva@microchip.com>
2026-01-12 11:54:08 +01:00
Muhammed Asif
f223439235 boards: microchip: sam_e54_xpro: Updates watchdog to board yaml
- Updates the board yaml file with watchdog entry for enabling CI
  to include watchdog for testing

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Muhammed Asif
e452c05026 drivers: watchdog: microchip: watchdog g1 driver
- Adds watchdog g1 driver for microchip devices

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Muhammed Asif
76e862cd13 dts: arm: microchip: same5xd5x: Add watchdog node in devicetree
- Adds devicetree node of watchdog in same5xd5x family
- Adds the binding yaml for g1 driver of watchdog

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-01-12 11:54:08 +01:00
Alexandre Bailon
3d11f60b58 ieee802154: cc13xx_cc26xx: Make filter more reliable
The radio driver updates the filters but never submit
the new ones to the radio core.
The filters was only applied later thanks, probably during
a channel selection that was happening often.
Update the driver stop RX operation and restart it using
the new filters.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2026-01-12 11:53:47 +01:00
Alexandre Bailon
06503ceb02 ieee802154: cc13xx_cc26xx: Improve channel selection
When using OpenThread, set_channel operation may be called often
with the same channel number.
Everytime, even if the channel has not changed, the driver stop all
the radio operations, restart the synthesizer and then restart RX
operations.
This behavior prevents OpenThread joiner to work correcly.
This updates the driver to only stop radio operations if this is really
required.

Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
2026-01-12 11:53:47 +01:00
Phuc Pham
8a50020b7a samples: drivers: adc: Add ADC support for Renesas RZ/A2M
Add ADC samples support for board RZ/A2M-EVK

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2026-01-12 11:53:36 +01:00