Commit graph

136,983 commits

Author SHA1 Message Date
Tim Pambor
c5de34e4e8 arch: arm: toolchain: llvm: hide warnings in docs
Warning definitions are documented in toolchain.h. Hide them here to
avoid warnings about undocumented definitions when building the
documentation.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 08:53:54 -04:00
Tim Pambor
32f3bc2873 arch: arm: irq: disable clang warning for VFP clobbering in ISRs
In previous versions of clang, the warning was controlled by -Wextra,
but now it has its own warning flag, -Warm-interrupt-vfp-clobber.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-23 08:53:54 -04:00
Yuzhuo Liu
02ff542c10 samples: input: add Realtek Bee series support
Enable the input_dump sample for Realtek Bee series SoCs.

Add configurations for the following boards:
- rtl87x2g_evb_a_rtl8762gku
- rtl8752h_evb_rtl8752hjl

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-23 08:53:45 -04:00
Yuzhuo Liu
f2714833d6 drivers: input: add Realtek Bee series driver
Add keyscan driver support for Realtek Bee series SoCs,
including RTL87x2G and RTL8752H.

This driver supports:
- Maximum 12 * 20 matrix keyboard scanning
- Ghost key detecting
- Manual/Auto scanning mode configuration

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-23 08:53:45 -04:00
Yuzhuo Liu
63bcab38f1 drivers: input: expose common functions to drivers
Make input_kbd_matrix_ghosting() and input_kbd_matrix_update_state()
non-static so that keyboard matrix drivers could reuse the common
ghost-key detection and per-key debouncing logic.

Signed-off-by: Yuzhuo Liu <yuzhuo_liu@realsil.com.cn>
2026-03-23 08:53:45 -04:00
Emil Gydesen
5491ef1dab doc: releases: Document changes to LE Audio foreach functions
Some of the foreach functions were modifyed to be consistent
with the majority of similar functions, to create a more
consistent API.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-23 08:53:33 -04:00
Emil Gydesen
2b198cf2cc Bluetooth: Audio: Make "foreach" functions consistent
Modify foreach functions in LE Audio to follow the same pattern:
Return true to continue iterating.
Return false to stop iterating.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-23 08:53:33 -04:00
Zhiyuan Tang
b2f4e34133 manifest: update hal_realtek revision
Update the hal_realtek revision to support two-stage interrupt
handling mechanism for Bee family SoCs.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-23 08:53:23 -04:00
Zhiyuan Tang
10afa8eed9 soc: realtek: update interrupt init for rtl87x2g and rtl8752h
Use `IRQ_CONNECT` to register the ROM-implemented `Peripheral_Handler`
for `Peripheral_IRQn` on rtl87x2g and rtl8752h SoCs.

This bridges the hardware-specific Level 1 interrupt routing from the
ROM into Zephyr's standard IRQ system, making sure that the
sub-interrupts under `Peripheral_IRQn` are properly enabled and functional.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-23 08:53:23 -04:00
Stine Åkredalen
dcd0e220f2 doc: Bluetooth: Mesh: Update RPR Server docs
Added snippet about how to instantiate RPR server in
the application.

Signed-off-by: Stine Åkredalen <stine.akredalen@nordicsemi.no>
2026-03-23 08:50:12 -04:00
Muhammed Asif
a0e040196b boards: microchip: pic32cz_ca90_cult: Add board support
- Adds the board support for cz ca90 curiosity ultra board

Signed-off-by: Muhammed Asif <muhammed.asif@microchip.com>
2026-03-23 08:49:24 -04:00
Emil Gydesen
c9a0257e8f Bluetooth: Host: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-23 08:49:13 -04:00
Emil Gydesen
735f101c95 Bluetooth: Mesh: Remove checks in bt_rand
Remove the NULL and 0-length checks in bt_rand, as they
are probably not necessary.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-23 08:49:02 -04:00
Emil Gydesen
8070ee277b Bluetooth: Mesh: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-23 08:49:02 -04:00
Etienne Carriere
347c87463d drivers: clock_control: stm32: clarify inline comment on STM32_HSE_CSS
Clarify inline comment describing HSE CSS (Clock Security System)
enabling during clocks initialization.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-23 08:48:55 -04:00
Etienne Carriere
72119c74a0 drivers: clock_control: stm32: fix STM32_HSE_CSS macro use
Change macro STM32_HSE_CSS to be defined (to 1) only when HSE clock
security system is enabled, as stated by the HSE DT node css-enabled
property. Consequently only use #ifdef STM32_HSE_CSS (or #if defined())
and IS_ENABLED(STM32_HSE_CSS) to test whether or not it's enabled.

No functional change but may prevent build warnings since prior
this change was STM32_HSE_CSS value tested while the macro may
not be defined.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-03-23 08:48:55 -04:00
Fabrice DJIATSA
782c47f6bb drivers: adc: stm32: Remove call to LL_ADC_REG_SetContinuousMode
It is unnecessary since it is never set to continuous (and single is the
default value), and causes issues on STM32F1 by starting conversions out
of turn (setting ADON bit while it is already set, without changing
any other bit in the register start a conversion).

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-23 08:48:46 -04:00
Fabrice DJIATSA
55622ddd0e samples: drivers: adc: adc_stream: update the regex
With the addition of multiple ADC channel support,
the printed message in the console was updated.
Update the regex to match the new output.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2026-03-23 08:48:46 -04:00
Savo Saicic
e7038cb864 net: lwm2m: add IPSO Magnetometer object support
Add support for the IPSO Magnetometer object version 1.0 (Object ID
3314) which allows an LwM2M server to read magnetic field values from
a 1-3 axis magnetometer.

The object is enabled in tests/net/all/prj.conf to ensure it is
built as part of the CI all-in networking build.

Signed-off-by: Savo Saicic <savo.saicic@gmail.com>
2026-03-23 08:48:35 -04:00
Fabio Baltieri
60721101fc drivers: flash: stm32: fix llvm warning
Fixes:

zephyrproject/zephyr/drivers/flash/flash_stm32_ex_op.c:348:3: warning:
label followed by a declaration is a C23 extension [-Wc23-extensions]
  348 |                 int rv2;
      |                 ^

when compiling with llvm.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-03-23 08:48:22 -04:00
Henrik Brix Andersen
392f109bdf boards: renesas: rx: remove instructions for installing custom toolchain
Remove the instructions for installing a custom toolchain from the Renesas
RX boards as the Zephyr SDK v1.0.0 includes RX toolchain support.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-23 08:48:12 -04:00
Sylvio Alves
cd2749c039 soc: espressif: fix GDB crash on Espressif targets
GDB crashes with a segfault when loading ELF files built
for Espressif SoCs. Starting with GDB 13 (commit
5abbfa982215), finish_block_internal() calls
SECT_OFF_TEXT(m_objfile) which requires sect_index_text to
be initialized. This index is only set when a section
named exactly ".text" exists in the ELF. Without it, the
index stays at -1 and GDB segfaults (upstream PR 25678).

Espressif linker scripts named the flash-mapped code
output section ".flash.text" instead of ".text", so the
final ELF had no ".text" section. Other Xtensa vendors
(Intel ADSP, Cadence) use ".text" as their output section
name and collect .iram0.text as input into it, avoiding
the problem.

Fix this by renaming the ".flash.text" output section to
".text" across all Espressif SoC linker scripts. The
section name is internal to the linker script; the runtime
loader uses linker-generated symbols (_image_irom_start,
etc.), not section names. This change is transparent to
the boot path, flash image generation, and MMU mapping.

Affected SoCs: ESP32, ESP32-S2, ESP32-S3, ESP32-C2,
ESP32-C3, ESP32-C5, ESP32-C6, ESP32-H2.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-03-23 08:48:02 -04:00
Emil Gydesen
60f8fac0dd Bluetooth: Classic: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-23 10:25:36 +01:00
Pisit Sawangvonganan
2ea93f9e10 bluetooth: fix typo
Use a code spell-checking tool to detect and fix spelling errors in
the files under `subsys/bluetooth`.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2026-03-23 10:25:26 +01:00
Maochen Wang
4e9f2399c2 manifest: update hal_nxp to fetch RW612 and IW610 FW
update RW612 FW version to 8.p10
update IW610 FW version to 8.p10

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-03-23 10:25:14 +01:00
Nancy Sangani
752cd19e04 scripts: west: commands: completion: fish: update completions
Add Fish shell completion entries that are already present in the
Bash completion script but were missing from the Fish one:

- Add __zephyr_west_complete_shield for cached shield completion
- Add --shield argument completion to west build
- Add completion entries for the west shields subcommand
- Add completion entries for the west twister subcommand

Fixes #73128

Signed-off-by: Nancy Sangani <9d.24.nancy.sangani@gmail.com>
2026-03-23 10:25:04 +01:00
Benjamin Cabé
0ae4761b4c arch: archs.yml: set OpenRISC full name
Add the full name "OpenRISC" for the OpenRISC architecture so it shows
up correctly in the documentation.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-23 10:19:21 +01:00
Anas Nashif
c91c14e96f doc: add OpenRISC to the list of supported arches
Add OpenRISC as a supported architecture to the introduction.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-03-23 10:19:21 +01:00
Khoa Nguyen
f26330fe5c tests: drivers: flash: Update mapped-partition for ek_ra8p1
Update mapped-partition for ek_ra8p1 in flash/common overlay

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-23 10:19:12 +01:00
Khoa Nguyen
e57a3bb80c boards: renesas: Update compatible for partitions of RA8x2 boards
Update compatible for partitions of RA8x2 boards

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-23 10:19:12 +01:00
Khoa Nguyen
a1d3fb8c19 dts: arm: renesas: Add missing ranges property for Renesas RA8x2 SoCs
Add missing ranges property for Renesas RA8x2 SoCs

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-23 10:19:12 +01:00
Khoa Nguyen
b75084e339 drivers: flash: Update Renesas RA MRAM to support mapped-partition
Previously, nv-flash nodes were used as the flash controller and
contained APIs. But currently, to support mapped-partitions
and allow MCUboot to run on RA8x2 devices, this MRAM driver need
to correct the node that used for flash controller.

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2026-03-23 10:19:12 +01:00
Mohit Talwar
c7616308e6 drivers: flash: nrf_rram: add alignment validation for write and erase
The nrf_rram_write() and nrf_rram_erase() functions were missing
input validation for address and length alignment.

nrf_rram_write() did not verify that addr and len are multiples of
WRITE_LINE_SIZE (16 bytes), allowing unaligned writes to succeed
when they should return -EINVAL.

nrf_rram_erase() did not verify that addr and len are multiples of
PAGE_SIZE (4096 bytes), allowing unaligned erases to succeed when
they should return -EINVAL.

Add alignment checks to both functions to correctly reject invalid
operations as required by the flash API contract.

Assisted-by: Claude:claude-sonnet-4-6

Fixes #102511

Signed-off-by: Mohit Talwar <talwarmohit2005@gmail.com>
2026-03-23 10:19:02 +01:00
Quy Tran
1fa8c8440a tests: drivers: i2c: add overlay for RX26T tests
Add overlay and conf for RX26T target

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-03-23 10:18:52 +01:00
Quy Tran
9b5f9b22aa dts: rx: Add I2C property node support on RX26T
Add I2C support on dts for RX26T

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-03-23 10:18:52 +01:00
Quy Tran
8627cf99f9 drivers: i2c: Update i2c driver of RX to support RX26T MCU
RX26T uses group interrupt, update the i2c source to add support
for that MCU

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-03-23 10:18:52 +01:00
Quy Tran
c863c26bb1 manifest: hal_renesas: update revision for hal_renesas
Update revision for hal_renesas

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2026-03-23 10:18:52 +01:00
Zhiyuan Tang
8935e01124 boards: realtek: enable bluetooth for rtl8752h_evb
- Enable the `bee_bt_hci` node and set the `zephyr,bt-hci` chosen property.
- Add `bluetooth` to the supported features list in board metadata.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-23 10:18:15 +01:00
Zhiyuan Tang
1e88b1b01f soc: dts: realtek: add bluetooth support for rtl8752h
- Define the HCI node in the SoC series' dtsi.
- Adjust main thread stack sizes and buffer counts required for
  Bluetooth operation.
- Enable meta-irq to configure the bee-bt-controller thread as a
  meta-irq thread.

Signed-off-by: Zhiyuan Tang <zhiyuan_tang@realsil.com.cn>
2026-03-23 10:18:15 +01:00
John Batch
6ca9d107c8 samples: pwm: events: Add infineon board support for pwm event sample
Adds support for the PWM events sample application covering
the following Infineon boards:
- kit_psc3m5_evk
- kit_pse84_eval
- cyw920829m2evk_02

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-23 10:18:00 +01:00
John Batch
c3f8820e95 drivers: pwm: infineon: Adding support for PWM events
Adds implementation of the PWM_EVENT api options.  The Infineon TCPWM
Module supports the PWM_EVENT_TYPE_COMPARE_CAPTURE and
PWM_EVENT_TYPE_PERIOD events.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-23 10:18:00 +01:00
John Batch
ddf577db30 drivers: pwm: extend API event types to include compare/capture
Extends the PWM API's event types to include the compare/capture event,
which occurs when the counter reaches the compare value in output mode
or when an external edge is captured during input capture modes.

Assisted-by: GitHub Copilot:claude-opus-4.6
Signed-off-by: John Batch <john.batch@infineon.com>
2026-03-23 10:18:00 +01:00
Khai Cao
7f07eeb272 tests: drivers: i2c: fix the clock-frequency exceeding
- Remove I2C overlay config exceeding max-bitrate-supported constraint
- Remove redundant pinctrl and iic0, rely on board's base DTS

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-03-23 10:17:58 +01:00
Muhammad Waleed Badar
0ef82ec0ec drivers: input: cst816s: generalize driver to CST8xx family
Generalize the Hynitron CST816S touchscreen driver to support the
broader CST8xx controller family.

Changes include:
- Renaming the driver from input_cst816s.c to input_cst8xx.c
- Renaming drivers/input/Kconfig.cst816s to drivers/input/Kconfig.cst8xx
- Updating the Devicetree compatible from hynitron,cst816s to
hynitron,cst8xx
- Updating the Devicetree binding description and compatible field
- Updating board DTS files and test overlays to use the new compatible

These changes align the driver, Devicetree bindings, and compatible
strings with the actual hardware support, which covers the CST8xx
family rather than only the CST816S variant.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-03-23 10:17:03 +01:00
Aaron Brice
01b611100c drivers: serial: renesas_ra: Fix tx_enable
In uart_ra_sci_irq_tx_enable() it clears the Transmit Data Empty and
Transmit End flags.  Doing this results in the uart re-sending the last
byte written to the TDR if the fifo is not being used.  Avoid clearing the
status in the fifo-disabled case.

Signed-off-by: Aaron Brice <aaron@embeddedts.com>
2026-03-23 10:16:50 +01:00
Hau Ho
a7da3ec565 tests: drivers: wdt: Add config file for FPB-RX14T and MCB-RX14T boards
Add config file for FPB-RX14T and MCB-RX14T boards

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
762dc3edeb boards: renesas: Add IWDT support for MCB-RX14T and FPB-RX14T boards
Add IWDT support for MCB-RX14T and FPB-RX14T boards

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
304e649a96 dts: renesas: rx: Add dts property node for IWDT support on RX14T
Add dts property node for IWDT support on RX14T

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
205228a654 sample: board: renesas: Add overlay file for RX14T for sample LVD
Add overlay file for RX14T for sample LVD

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00
Hau Ho
8a4c45a26d dts: renesas: rx: Add dts property node for LVD support on RX14T
Add dts property node for LVD support on RX14T

Signed-off-by: Hau Ho <hau.ho.xc@bp.renesas.com>
2026-03-23 10:16:41 +01:00