Commit graph

118,807 commits

Author SHA1 Message Date
Dave Joseph
04d12bc8b2 drivers: mbox: secureproxy: Pass userdata in isr
This change modifies the secure proxy mailbox driver to pass user data
to the interrupt service routine (ISR) callback. This allows the ISR
to access the specific context or data associated with the mailbox
message being processed.

Signed-off-by: Dave Joseph <d-joseph@ti.com>
2025-06-23 15:54:34 +01:00
Luca Burelli
44242ca219 MAINTAINERS: include Arduino shields in the Arduino category
This commit adds the Arduino shields under the same assignees as the
rest of the Arduino platforms.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-06-23 15:50:16 +01:00
Benjamin Cabé
a55a9670ee drivers: gpio: max149xx: fix error handling
Use signed variable for negative error codes so that potential errors
are actually detected and returned properly.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 15:50:05 +01:00
Pieter De Gendt
e8caaf4137 scripts: Bump Python target version for ruff
Now that Python 3.12 is the minimum required version for Zephyr, ruff
should target that instead of 3.10.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-06-23 15:48:57 +01:00
Pavel Vasilyev
e7a7c590bf tests: bsim: bluetooth: host: privacy: peripheral: Enable nRF5340
Enable privacy peripheral test for nRF5340.

After fixing scan interval, the test started passing on nRF5340 as well.
Enable it for regressions.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-06-23 15:48:35 +01:00
Pavel Vasilyev
dacdf7da74 tests: bsim: bluetooth: host: privacy: peripheral: Fix scan interval
The scan interval must match scan window to start next scanning after
previous window completes. Otherwise, one of advertisements may be
missed and test will fail because it will think that RPA rotation didn't
happen in time.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-06-23 15:48:35 +01:00
Benjamin Cabé
bc5b332c9b drivers: audio: max98091: fix max98091_set_property error handling
Don't systematically return -EINVAL when property actually exists

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 15:48:25 +01:00
heronet
3ce5226a1e boards: arm: add WeAct STM32F446 Core board
Add support for WeAct STM32F446 Core board featuring:
- STM32F446RET6 MCU (ARM Cortex-M4F @ 180 MHz)
- 512KB Flash, 128KB SRAM
- 8MHz HSE crystal oscillator
- USB Type-C connector with DFU support
- User LED (PB2) and button (PC13)
- MicroSD card slot (SDIO)
- SWD debug header
- 30×2 pin headers exposing GPIO pins

Peripherals supported:
- 4x USART/UART
- 4x I2C
- 4x SPI/I2S
- 2x CAN
- 3x 12-bit ADC
- 2x 12-bit DAC
- USB OTG FS
- SDIO interface

Tested with samples/basic/blinky and samples/hello_world.

Signed-off-by: Siratul Islam <sirat4757@gmail.com>
Signed-off-by: heronet <sirat4757@gmail.com>
2025-06-23 15:48:14 +01:00
Mathieu Choplain
19fe604aef scripts: west_commands: runners: add ST-LINK GDB server
Add the ST-Link GDB server (part of the STM32CubeCLT) as west runner.

The STM32CubeCLT is an all-in-one multi-OS command-line toolset, which is
part of the STM32Cube ecosystem, and notably includes a GDB server for
debugging using ST-Link probes.

This runner supports the "attach", "debug" and "debugserver" commands.

Documentation: https://www.st.com/en/development-tools/stm32cubeclt.html
Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-06-23 15:47:17 +01:00
Bjarki Arge Andreasen
0829c2bb8c drivers: nrfx: help select clock control when needed
CLOCK_CONTROL is required for fast instances of UART and COUNTER,
help select it when possible. The fast instances are UARTE120,
TIMER120 and TIMER121, and CLOCK_CONTROL is not supported for
CPUFLPR and CPUPPR even when the fast instances are used.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-23 15:47:01 +01:00
Bjarki Arge Andreasen
4c3671aea3 dts: vendor: nordic: nrf54h20.dtsi: disable cpurad_hsfll
The cpurad_hsfll is not yet supported by the NRFS DVFS service,
disable it to prevent driver from being loaded.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-23 15:47:01 +01:00
sudarsan N
3fb0cf48f5 drivers: video: fix uninitialized struct
Zero-initialize fmt to fix Coverity.

CID:525180
CID 524760
CID 524753
CID 524781
CID 524755

Signed-off-by: sudarsan N <sudarsansamy2002@gmail.com>
2025-06-23 15:46:42 +01:00
Nick Ward
ab99a53ae7 net: lwm2m: ipso: accelerometer: remove buffers for optional resources
Allows application code to control allocation of buffers of optional
resources.

Y value, Z value, min range value, max range value resources are
optional.

Signed-off-by: Nick Ward <nix.ward@gmail.com>
2025-06-23 15:46:18 +01:00
Mike J. Chen
a5a78ee608 drivers: usb_dc_mcux: disable irq in detach
Otherwise the next attach could have the ISR invoked
before init has completely initialized all the required
data structures to handle the ISR properly.

Signed-off-by: Mike J. Chen <mjchen@google.com>
2025-06-23 15:45:55 +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
Riku Karjalainen
9493af937d drivers: usb: stm32: fix stm32u5x clock disable in sleep mode
Replace logical OR with bitwise OR.

Signed-off-by: Riku Karjalainen <riku.karjalainen@vaisala.com>
2025-06-23 15:43:55 +01:00
Riku Karjalainen
160ef4670a drivers: usb: stm32: fix stm32u5x clock disable in sleep mode
Replace logical OR with bitwise OR.

Signed-off-by: Riku Karjalainen <riku.karjalainen@vaisala.com>
2025-06-23 15:43:55 +01:00
Johann Fischer
7b287ec133 drivers: udc: disable SOF interrupt by default
If the new Kconfig option is disabled, no SOF events are passed to the
higher layer.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-23 15:43:32 +01:00
Johann Fischer
2d7995747e drivers: udc: add SOF Kconfig option and SOF event helper
Add helper to handle SOF interrupts/events and new Kconfig option to
disable SOF interrupt.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-06-23 15:43:32 +01:00
Tamas Jozsi
4cae4661a2 boards: sparkfun: fix the LED active state on the ThingPlus Matter
The LED on The Sparkfun ThingPlus Matter is active high.

Signed-off-by: Tamas Jozsi <tamas.jozsi@silabs.com>
2025-06-23 13:45:24 +02:00
Manuel Argüelles
4def7aceec soc: nxp: s32k3: use MPU_REGION_ENTRY macro
Align MPU region definitions with other SoCs by using the
`MPU_REGION_ENTRY` macro.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2025-06-23 13:45:03 +02:00
Jilay Pandya
616688c20e docs: stepper: add stepper stop function
Add entry of stepper stop function in stepper.rst

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Jilay Pandya
08dd7c519a drivers: stepper: tmc5xxx: introduce stop function
Introduce stop function in tmc5xxx

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Jilay Pandya
2aca0d3e9d drivers: stepper: remove stop function wrapped in disable
Removing stop functionality wrapped in stepper_disable since
there is a dedicated function for it.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Jilay Pandya
5918ddce34 drivers: stepper: update documentation about enable/disable
Disabling the stepper shall not cancel any active movements.
stepper_stop() shall be used after disabling the stepper in
order to explicitly cancel stepper movements.

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Alessandro Manganaro
6244e9307e drivers: timer: Fix interrupt management in stm32 lptim timer
Fix interrupt management issue in stm32 lptim timer

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-06-23 13:44:15 +02:00
Alessandro Manganaro
e5ded3d71a drivers: timer: Fix conversion issue in stm32 lptim timer
Using correct macro to convert stdby time in LPTIM counter

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-06-23 13:44:15 +02:00
Benjamin Cabé
fff5b49581 arch: arc: replace "master"/"slave" terminology with inclusive language
As per Zephyr guidelines regarding the use of inclusive language, apply
the following replacements:

- s/master/primary/g
- s/slave/secondary/g

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:43:36 +02:00
Benjamin Cabé
8b919042f5 arch: arm64: replace "master" terminology with "primary"
Use inclusive language for referring to primary core

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:43:08 +02:00
Benjamin Cabé
2a43a94455 drivers: display: hx8394: add missing static qualifiers to local arrays
Updated multiple configuration arrays from 'const' to 'static const'

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:42:48 +02:00
Benjamin Cabé
8031f338dd scripts: west: spdx: extract copyright info
use REUSE to extract copyright text from source files and include in

SBOM documents
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:42:35 +02:00
Nikodem Kastelik
ffc8ec89c8 manifest: update hal_nordic for errata 55 on nRF54LV10A Eng A
Errata 55 applies to nRF54LV10A Eng A as well.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-06-23 13:42:25 +02:00
Khaoula Bidani
1a993daf2c tests: drivers: adc: adc_api: fix ADC DMA test for Nucleo U385RG-Q
Correct the ADC DMA test to ensure proper functionality on the
 Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Khaoula Bidani
0104943d48 tests: drivers: dma: loop_transfer: add stm32u3 boards overlays
Add DMA loop transfer test overlays for Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Khaoula Bidani
786339b6c6 boards: st: stm32u3: enable dma for stm32u3 boards
update documentation to indicate that DMA is
available on Nucleo U385RG-Q board.

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Khaoula Bidani
022ad6839a dts: arm: st: u3: add gpdma
Add GPDMA support to STM32U3

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-06-23 13:42:19 +02:00
Andrzej Głąbek
e78729609d drivers: mspi_dw: Add support for RX dummy cycles in single line mode
Support for 8 dummy cycles in a single line RX transaction is required
for the standard JEDEC Read SFDP command. The SSI controller does not
support dummy cycles in Standard SPI mode, but the driver can simulate
those by just sending a dummy data byte.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
28dafe36e3 drivers: mspi_dw: Add error reporting on RX FIFO overflow
Immediately finish an RX transfer when the RX FIFO overflow is
encountered and return the -EIO error code, which better indicates
the problem than -ETIMEDOUT that was returned previously in such
case.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
e4dc74452c drivers: mspi_dw: Improve transfer handling
- use separate code paths for TX and RX in ISR
- make sending of dummy bytes in the single line mode (Standard
  SPI) more consistent so it can be easily extended
- use value 0 instead of 0xAA for dummy bytes as there is normally
  no point in making noise one the MOSI line when only receiving
  data (it can only be useful in debugging transfers)
- move all writing of data in the TX FIFO to ISR to avoid broken
  transfers in the single line mode (where the clock stretching
  is not available) when the driver is preempted right before it
  enables interrupts
- use the TX FIFO start level also for transfers without data,
  so that it's not possible that the TX FIFO gets emptied between
  the writes of command and address fields in the single line mode
- add a few comments to explain better how transfers are handled

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
6ddb616a23 drivers: mspi_dw: Add waiting for clock in nRF EXMIF specific resume
After the START task is triggered, the clock that drives the SSI core
needs some time to become ready. Before that, writes to SSI registers
may be unsuccessful. Add a loop that performs test writes to one of
the registers after the EXMIF peripheral is resumed to ensure that it
is fully operable.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Andrzej Głąbek
8b67b36f41 drivers: mspi_dw: Apply a few minor corrections
- replace %d with %u in two error log message format strings
- add checks for maximum supported address length
- correct *_WAIT_CYCLES_MAX macros used in XIP handling routines
  (although their values are valid, they belong to different SSI
  registers)
- remove one unnecessary use of SPI_CTRLR0_WAIT_CYCLES_MASK
- remove doubled definitions of the XIP_CTRL register bit fields

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2025-06-23 13:42:07 +02:00
Benjamin Cabé
8fb5b00f8d doc: develop: tools: update "Generate compile commands" section
Clarify that commands should be run from `zephyr` folder.

Fixes zephyrproject-rtos/zephyr#90074

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:41:57 +02:00
Tien Nguyen
af4e875ea5 soc: renesas: rz: use CONFIG_ATOMIC_OPERATIONS_C on Renesas RZ/A2M
Use CONFIG_ATOMIC_OPERATIONS_C for atomic operations on Renesas RZ/A2M

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-06-23 09:47:20 +02:00
Yusuke Omae
d9d6f07c27 net: gptp: Add TLV type, OUI check for signaling messages
Add validation to ensure gPTP signaling messages
contain the correct TLV type, IEEE 802.1 Committee OUI
and sub-type before processing it as interval requests.

signed-off-by: Yusuke Omae <s1413091@gmail.com>
2025-06-23 09:47:03 +02:00
Kapil Bhatt
39e6f0170f drivers: nrf_wifi: Add Kconfig for Dynamic ED
Add Kconfig to enable/disable Dynamic ED which add support for
proprietary algorithm to enhance performance in high-traffic channels.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-06-23 09:46:47 +02:00
Karun Kumar Eagalapati
8b693980aa manifest: Update nrf_wifi for dynamic ED control
Update nrf_wifi for dynamic ED controlling through
command init.

Signed-off-by: Karun Kumar Eagalapati <karun.kumar@nordicsemi.no>
2025-06-23 09:46:47 +02:00
Jamie McCrae
2a674977dd dts: vendor: nordic: nrf54l*: Fix GPREGRET register addresses
Fixes these peripheral's to have the correct addresses

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-06-23 09:46:33 +02:00