Commit graph

136,983 commits

Author SHA1 Message Date
Khoa Nguyen
cab3ad6137 manifest: Update latest hal_renesas revision
Update latest hal_renesas revision

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-01-15 11:07:02 +00:00
Camille BAUD
8049f25a08 boards: add weact rp2350b_core
add weact rp2350b board

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-15 11:06:50 +00:00
Gaetan Perrot
21c1417f31 drivers: usb: usb_dc_numaker: make usbd_ep_fifo_copy_to_user void
numaker_usbd_ep_fifo_copy_to_user() never reports errors and always
returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:31 +00:00
Gaetan Perrot
f6060eb31f drivers: usb: usb_dc_numaker: make usbd_ep_fifo_copy_from_user void
numaker_usbd_ep_fifo_copy_from_user() never reports errors and
always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:31 +00:00
Sara Touqan
772bfccd68 drivers: mspi: stm32: remove unused mspi_stm32_ospi_verify_device function
Remove unused function in OSPI driver.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Sara Touqan
da5f20c5ad dts: bindings: mspi: stm32: Make clock-frequency a required property
Add clock-frequency property as required for
MSPI/OSPI/QSPI binding files.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Sara Touqan
0651092295 drivers: mspi: stm32: refactor frequency handling to rely on devicetree
Remove max frequency Kconfig and uses clock-frequency
property instead

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Sara Touqan
a0918b6ed2 samples: mspi_flash: add clock-frequency in STM32 DTS files
Add clock-frequency property under some overlay files.

Signed-off-by: Sara Touqan <zephyr@exalt.ps>
2026-01-15 11:06:14 +00:00
Gaetan Perrot
9217ce54c6 Bluetooth: VCP: avoid NULL dereference
Avoid calling vcp_vol_ctlr_discover_complete() with a NULL
controller pointer when lookup fails during AICS discovery.

The vcp_vol_ctlr_discover_complete() helper dereferences the
controller unconditionally, which could otherwise lead to a NULL
pointer dereference.

Fix by returning early if the controller lookup fails.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:01 +00:00
Gaetan Perrot
01e3a54f20 Bluetooth: MICP: avoid NULL dereference
Avoid calling micp_mic_ctlr_discover_complete() with a NULL
controller pointer when lookup fails during AICS discovery.

The micp_mic_ctlr_discover_complete() helper dereferences the
controller unconditionally, which could otherwise lead to a NULL
pointer dereference.

Fix by returning early if the controller lookup fails.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-15 11:06:01 +00:00
Lin Yu-Cheng
c15bd8daa5 drivers: spi: use transfer config to set spi frequency
use transfer config to set spi frequency

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
2026-01-15 11:05:53 +00:00
Aleksandr Senin
13286c2ddf tests: drivers: entropy: enable GD32 TRNG on gd32f450i_eval
Enable TRNG node and select it as zephyr,entropy for the API test.
Configure CK48M source via RCU DT properties.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-15 11:05:28 +00:00
Aleksandr Senin
57993e7d8e soc: gd32: gd32f4xx: init CK48M from devicetree
Add DT properties to select CK48M source for GD32 RCU.
Apply CK48M source selection during early SoC init.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-15 11:05:28 +00:00
Aleksandr Senin
f8cf0d3803 drivers: entropy: add GD32F4xx TRNG driver
Add entropy driver for the GD32F4xx TRNG.
Implement get_entropy_isr() semantics and bounded DRDY wait.
Add DT binding and SoC TRNG node; hook driver Kconfig.

Signed-off-by: Aleksandr Senin <al@meshium.net>
2026-01-15 11:05:28 +00:00
Lyle Zhu
6531d415b6 sample: Bluetooth: HFP_AG: Make global variables static
Make global variables static in the HFP AG sample to improve
encapsulation and avoid potential symbol conflicts.

Change the following variables from global to static scope:
- hfp_ag
- hfp_ag_call
- discover_work
- call_connect_work
- call_disconnect_work
- call_remote_ringing_work
- call_remote_accept_work

These variables are only used within main.c and do not need to be
externally visible.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-15 11:05:12 +00:00
Lyle Zhu
8ca34066c6 sample: Bluetooth: HFP_AG: Support voice transmission and playback
Add PCM and CODEC support for voice streaming in the HFP AG sample.

Implement PCM interface to handle voice data transmission between the
Bluetooth controller and the application using I2S driver.

Implement CODEC interface to handle voice playback and capture using
I2S and audio codec drivers.

Add bidirectional voice streaming: capture voice from CODEC and
transmit through PCM when SCO connection is established, and receive
voice from PCM and playback through CODEC.

Initialize PCM and CODEC interfaces based on the SCO air mode (CVSD or
mSBC) when SCO connection is established.

Add codec negotiation callbacks to support codec selection.

Enable codec negotiation and mSBC codec support for mimxrt1170_evk
board.

Add configuration options for audio transfer interval, buffer counts,
and thread priorities for both PCM and CODEC RX threads.

Update documentation with voice streaming topology diagram and running
instructions.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-15 11:05:12 +00:00
Francis Roi Manabat
6ca6fb8233 tests: rtc: include adi,max31331 in build_all test suite
Add the MAX31331 RTC device to the build_all RTC test suite. This ensures
it compiles on all supported platforms without requiring actual hardware.

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-01-15 11:05:00 +00:00
Francis Roi Manabat
51fa798260 drivers: rtc: add MAX31331 RTC Support
Add MAX31331 RTC driver, an ultra-low-power real-time clock (RTC)
that provides timekeeping with
extremely low current consumption (65 nA).

Signed-off-by: Francis Roi Manabat <francisroi.manabat@analog.com>
2026-01-15 11:05:00 +00:00
Nicolas Moreno
d689916186 doc: releases: add ili9xxx fixes to 4.4 releases notes & migration guide
Added documentation for doc/releases/migration-guide-4.4.rst
in reference with the changes on ili9xxx and ili9341
controllers

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +00:00
Nicolas Moreno
69e353904c drivers: display: features for ILI9341 driver
Replaced display-controller.yaml with lcd-controller.yaml
Deleted pixel format property, replacing it with the
property on lcd-controller.yaml. Replace ILI9XXX RGB macro
with PANEL RGB macro. Also, added condition to verify pixel
format is RGB565, BRG565 or RGB888, otherwise it will show error
Replaced <zephyr/dt-bindings/display/ili9xxx.h> with
<zephyr/dt-bindings/display/panel.h> and
ILI9XXX_PIXEL with PANEL_PIXEL in some Devicetrees
and files that contained both elements. Fixed some
script sintax. Deleted drivers/display/display_ili9xxx.c

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +00:00
Nicolas Moreno
9b2593b8c5 drivers: display: issue with configuration on ILI9341
ILI9341 is not deploying correctly the display sample.
The screen looks mirrored vertically and the color
doesn't match with the sequence expected. To fix it,
change the Memory Access Control configuration data.

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +00:00
Benjamin Cabé
8e4a55cedb doc: contribute: add Doxygen guidelines
Add Doxygen guidelines to help maintain code documentation consistency
across the project in particular for constructs or commands that are Zephyr
specific, such as properly documenting API symbols that are gated by
Kconfig.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-15 11:04:02 +00:00
Sylvio Alves
caa8079a53 tests: debug: coredump: use k_panic() for Espressif SoCs
Espressif RISC-V chips (ESP32-C3, ESP32-C6, etc.) with PMP enabled
use dynamic PMP mode (CONFIG_PMP_NO_LOCK_GLOBAL). In this mode,
null pointer dereference to address 0 causes a bus hang instead
of generating a clean exception, since address 0 is outside any
valid memory region and there's no PMP entry protecting it.

Use k_panic() instead, which reliably triggers the coredump path
on all Espressif chips.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:07:14 -06:00
Robert Lubos
59206e4132 doc: net: http_server: Update header capture code snippet
Update outdated code snippet for the header capture feature in HTTP
server docs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-14 13:06:50 -06:00
Fabrice DJIATSA
93c0172d4d boards: st: add netif:eth twister support for f207zg
The Twister netif:eth was missing on the STM32F207ZG board,
and hence it was not built against net tests/samples

Additionally,sort the supported peripherals in alphabetical order.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-01-14 13:06:26 -06:00
Robert Lubos
6d51407803 net: tcp: Fix possible assertion when peer advertises zero window
If peer lowered its receive window and advertised zero-window length,
TCP stack would pause the retransmission timer until non-empty window is
advertised again. This however could trigger an assertion, that verified
that the retransmission timer is running whenever there is data to
transmit. Add an exception to the assertion for the zero-window case.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-14 13:05:55 -06:00
Sylvio Alves
85e1ea0259 runners: openocd: refactor flash methods into single do_flash
Add _openocd_cmd() helper method to reduce code duplication when
building openocd command lists. Consolidate do_flash, do_flash_elf,
and do_flash_bin into a single do_flash method using match statement
on image_type parameter.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:05:34 -06:00
Sylvio Alves
cb196db575 boards: esp32: add openocd flash support
Configure ESP32 boards to use OpenOCD for flashing with BIN files.
The --flash-address argument is combined with its value to avoid
YAML parsing issues where hex values like 0x0 are parsed as integers.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:05:34 -06:00
Sylvio Alves
2ba21af69d runners: openocd: add BIN file flash support
Add --use-bin and --flash-address arguments to allow flashing BIN
files at a specific address. This is needed for targets like ESP32
where HEX files contain virtual addresses (due to MMU mapping)
rather than physical flash addresses.

The new do_flash_bin() method uses the load command with the BIN
file path and flash address, similar to how ELF flashing works.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-14 13:05:34 -06:00
Lyle Zhu
18d6e8c8b1 drivers: bluetooth: hci: nxp: enable calibration data by default
Enable HCI_NXP_SET_CAL_DATA and HCI_NXP_SET_CAL_DATA_ANNEX100 by
default for NW612 and IW416 modules to ensure proper calibration
during HCI initialization.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 13:04:42 -06:00
Gerson Fernando Budke
9d5731d0d0 west.yml: Replace native_posix by native_sim in tests
Repalce the native_posix by native_sim in tests and reformat platform
list to allow twister to correct recognize the platforms.

Fixes #101300

Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br>
2026-01-14 13:04:15 -06:00
Jacob Schloss
f51e2aaf39 tests: crypto: crypto_aes: enable nucleo_h753zi platform
Enable nucleo_h753zi platform for crypto_aes tests.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Jacob Schloss
4342789ee4 boards: st: nucleo_h753zi: enable cryp node
Enable cryp on board nucleo_h753zi.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Jacob Schloss
da0e264c9d dts: arm: st: h7: Add missing cryp reset controllers
Add missing reset to h755 / h757 cryp block.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Jacob Schloss
b432178303 dts: arm: st: h7: Add cryp to STM32H753/H755
Add cryp block to STM32H753, as in STM32H755.

Signed-off-by: Jacob Schloss <jacob.schloss@suburbanmarine.io>
2026-01-14 13:03:36 -06:00
Robert Robinson
bb042f0be8 tests: Add support for nRF7120 to CI tests
Initial porting of nRF7120 to zephyr requires support for a number of
tests that are run as part of the CI. This commit adds the support.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
cf6e4178e9 modules: tf-m: nordic: Add support for nRF7120 TF-M
This commit adds initial support for non secure nRF7120 targets in
zephyr.

There are important limitations, such as:
- The hardware Crypto accelerator is not supported and thus the non
  secure target is NOT secure for production applications in upstream
  Zephyr.
- The BL2 is not supported, so no DFU is supported with this support

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
5445a6ac0f manifest: Update TF-M for nRF7120DK to align with upstream zephyr
Rename nRF7120PDK to nRF7120DK to align with upstream zephyr
Align to nrf4.0
Add tfm_platform_user_memory_ranges.h files

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
eb647dbf64 soc: nordic: Add initial support for nRF7120 SoC
Add SoC files for nrf7120.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
a0ac5b0e22 boards: Add Nordic nrf7120dk_nrf7120 board support
Add all board files for nRF7120dk

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
Robert Robinson
212a8fe8c9 dts: arm: nordic: Add support for nRF7120
Add dts files for nRF7120 SoC.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-01-14 13:02:59 -06:00
James Roy
4c8cb73198 doc: Generate documentation for the binding examples
Generate an rst document with an `Examples` section
from the sample nodes written in the examples of the
binding.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-14 13:02:02 -06:00
James Roy
077e23482c doc: scripts: Add a language parameter to the to_code_block()
Introduce a `language` parameter in `to_code_block()` for syntax
highlighting support (default: None).

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-14 13:02:02 -06:00
Albort Xue
307c13ad7a drivers: flash: flexspi_nor: Add RDSR2 command to quad enable LUT
When qer is S2B1v1 or S2B1v4, reading Status Register
1 and Status Register 2 requires different opcodes,
and writing Status Register 1/2 requires two bytes in a
single write. Add the Read Status Register 2 command
sequence to the LUT used by the quad-enable function,
and ensure the write operation sends two bytes (SR1|SR2)
when setting the QE bit.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-14 13:01:34 -06:00
Qiang Zhang
22e754c77e doc: migration-guide-4.4: Document DMA_MCUX_EDMA_V5 removal
Add migration guide entry for the removal of CONFIG_DMA_MCUX_EDMA_V5
configuration option.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
a96905a601 tests: drivers/uart: Add async API support for frdm_mcxe31b
Add board-specific overlay file to enable UART async API testing on the
FRDM-MCXE31B board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
be3e51d444 tests: drivers/dma: Add support for frdm_mcxe31b
Add board-specific configuration and overlay files to enable DMA
testing on the FRDM-MCXE31B board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
3a5cdd0be9 dts: nxp: frdm_mcxe31b: Add LPUART2 DMA support
Add pinctrl configuration and DMA channel assignments for LPUART2
on the FRDM-MCXE31B board.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
33e71b448b dts: arm: nxp: Update EDMA device tree configurations
Update EDMA device tree nodes for NXP MCXE31B platforms to align
with the unified EDMA driver implementation.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00
Qiang Zhang
cdb53ec8aa drivers: dma: mcux_edma: Remove DMA_MCUX_EDMA_V5 configuration
The DMA_MCUX_EDMA_V5 configuration option has been removed and replaced
with DMA_MCUX_EDMA_V4, as both versions share the same register layout
and can use the same driver implementation.

Key changes:
- Remove CONFIG_DMA_MCUX_EDMA_V5 Kconfig option
- Replace DMA_MCUX_EDMA_V5 conditionals with DMA_MCUX_EDMA_V4
- Remove DMAx_Type typedef, use DMA_Type directly
- Update EDMA_HW_TCD macros for V4 to use HAL-provided accessor macros
- Add DMA_MCUX_EDMA_DMAMUX Kconfig option to control DMAMUX support
  based on device tree property
- Update device tree binding to add has-dmamux property
- Update HAL driver selection to use DMA_MCUX_EDMA_DMAMUX instead of
  DMA_MCUX_EDMA for DMAMUX component
- Add SOC_SERIES_MCXE31X to DMA_MCUX_TEST_SLOT_START configuration
- Calculate DMA_TCD_ALIGN_SIZE from edma_tcd_t structure size

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06:00