Commit graph

126,787 commits

Author SHA1 Message Date
Jonas Berg
8c3efa4244 boards: RPi debug probe as general purpose microcontroller board
This is for using the Raspberry Pi Debug Probe as a general purpose
microcontroller board, not for using it in its original debugging role.

Product photo from https://www.raspberrypi.com/products/debug-probe/

Tested with the samples mentioned in the index.rst page.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-08 09:59:51 +01:00
Johan Alfvén
8bdca5805a hal_ethos_u: decouple ETHOS_U_LOG_LEVEL from STDOUT_CONSOLE
Previously the ETHOS_U_LOG_LEVEL choice and int symbol only existed
when STDOUT_CONSOLE was enabled. This caused build and compile issues
if logging was disabled, since CONFIG_ETHOS_U_LOG_LEVEL would be
undefined and C code using LOG_MODULE_REGISTER() would fail.

- Replace dependency on STDOUT_CONSOLE with LOG.
- Ensure ETHOS_U_LOG_LEVEL is always defined, even when LOG is off.
  In that case default to 0 (NONE).

This guarantees a valid CONFIG_ETHOS_U_LOG_LEVEL is present in all
configurations and allows clean builds regardless of console settings.

Signed-off-by: Johan Alfvén <johan.alfven@arm.com>
2025-09-08 09:59:36 +01:00
Gang Li
3e92c3f5ab modules: hostap: WPA Auto security supports WPA/WPA2 mixed mode
WPA Auto security adds support for WPA/WPA2/WPA3 PSK security.
Supports auto security mode, enabling STA to select the most secure mode
among WPA, WPA2, and WPA3 based on the capabilities of the AP.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-09-08 09:59:26 +01:00
Gang Li
f72f7a27e9 modules: hostap: fix WPA2-PSK connection failures
When the external AP is in WPA/WPA2 mixed mode, the group cipher uses
TKIP, the group cipher mismatches, so the connection fails.
Fix: set the WPA2 group cipher to TKIP + CCMP by default.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-09-08 09:59:26 +01:00
Tomasz Chyrowicz
7a54526de0 samples: Enable Direct XIP through sysbuild
Enable Direct XIP with revert MCUboot mode through sysbuild
configuration.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2025-09-08 09:59:18 +01:00
Jonas Berg
6798c081ba boards: Add Adafruit Itsybitsy RP2040
Product photo from https://learn.adafruit.com/assets/101892
with the license CC BY-SA 3.0

Tested with the samples mentioned in the index.rst file.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-08 09:58:52 +01:00
Chris Friedt
a4498bd4d1 tests: posix: common: use realtime clock instead of monotonic
Use the realtime clock, since that is always guaranteed to be available
with _POSIX_TIMERS.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-09-08 09:58:44 +01:00
Utsav Munendra
19988acd90 drivers: flash_mspi: Implement flash API get_size
Implement the Zephyr Flash Driver API for completeness.

Signed-off-by: Utsav Munendra <utsavm@meta.com>
2025-09-08 09:50:20 +02:00
Aaron Ye
b7f7f7b54f samples: logging: logger: Add sample case for SWO logger
Add the SWO logger test item to the logger sample. Also add the
logging tag to the tested platform.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-09-08 09:48:44 +02:00
Aaron Ye
229fdf0fe7 logging: backends: Use CMSIS 6 register defines in SWO initialization
ARM CMSIS 6 has different ITM and TPI register definition comparing
with CMSIS 5. Update the swo initialization to use CMSIS 6 defines.
For the Cortex-M cores which are higher than Cortex-CM7, the LAR
has been removed from ITM.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-09-08 09:48:44 +02:00
Elmo Lan
ee2ebbd3a8 drivers: gpio: rts5912 remap gpio number
Provide a map from RTS5912_GPIO_NUM_000 to RTS5912_GPIO_NUM_131
for appication call be easier read.
For example:
Used: <&gpiog 6 (GPIO_OUTPUT)>
Now: <RTS5912_GPIO_NUM_102 (GPIO_OUTPUT)>

Signed-off-by: Elmo Lan <elmo_lan@realtek.com>
2025-09-08 09:48:22 +02:00
Tomáš Juřena
87dbd2e2a4 drivers: counter: stm32: Disable BYPSHAD in init
Disable the shadow registers bypass in init function before RTC
deinitialisation to avoid infinite loop as the bit cases the RSF bit
to be kept in 0. The systick is not working in PRE_KERNEL_1 so it will
never timeout.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-09-08 09:48:12 +02:00
Tomáš Juřena
c1bbed6fab samples: boards: st: power_mgmt: blinky: Enable NUCLEO-C071RB
Enables the NUCLEO-C071RB board to the blinky sample to be run by twister.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-09-08 09:48:12 +02:00
Tomáš Juřena
c38a22ec67 dts: arm: st: c0: Add power states
Adds power-states node to support stop mode. As idle timer is used RTC.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-09-08 09:48:12 +02:00
Tomáš Juřena
e4e666b951 soc: st: stm32: stm32c0x: Add stop mode support
Enables low power stop mode for C0.

Code is taken from F4 family, tested on nucleo-c71rb with
samples/basic/blinky.

Power consumption in run mode 3.7 mA, in stop mode ~87 uA.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
2025-09-08 09:48:12 +02:00
Glenn Andrews
e38ba02c38 drivers: w1: use correct reset byte for overdrive mode
Test the received byte against the byte sent depending on the speed
selected, not the standard-speed mode byte every time.

Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
2025-09-08 09:48:01 +02:00
Alexandre Francoeur
171ed89f67 boards: mxchip: az3166_iotdevkit: Add "accel0" alias to dts
dts improvement for MXCHIP - AZ3166 IoT Dev kit.
I added accel0 alias for compatibility with the accel_polling sample.

Signed-off-by: Alexandre Francoeur <afrancoeur@uzinakod.com>.
2025-09-07 10:18:58 +01:00
Yurii Lozynskyi
c09edc10fc drivers: watchdog: Shift watchdog to pdl
Shift ifx_cat1 watchdog driver to using pdl instead of hal calls

Signed-off-by: Yurii Lozynskyi <yurii.lozynskyi@infineon.com>
2025-09-06 18:16:55 -04:00
Benjamin Cabé
1f3fb17a77 doc: shields: fix wrong board name for mimxrt1170_evk//cm7
fix a typo in board name (mixm... instead of mimx...) and actually use
a proper board name anyway since it looks like this was still using
a HWMv1 name.
Fixes zephyrproject-rtos/zephyr#95015

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 08:29:50 -04:00
Benjamin Cabé
fa201b3c2e include: drivers: doc: uniformize wording of Doxygen groups
Use consistent wording for Doxygen groups of device driver interfaces.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
fbd2e28f43 include: drivers: add Doxygen @file tag
Ensure all top-level device driver headers have a Doxygen @file tag and
put the @file in the same group as the driver API.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
3e9f46c1ca doc: doxygen: improve name/desc of Device Drivers group
add an actual meaningful brief and detailed desc

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
08e41ca0ba include: drivers: lora: follow naming scheme for doxygen group
Minor changes so that LoRa API uses the same naming scheme as other
device drivers.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
1d2b03feb3 include: drivers: edac: follow naming scheme for doxygen group
Minor changes so that edac API uses the same naming scheme as other
device drivers.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
82765de253 include: mspi: fold MSPI devicetree macros doc under MSPI group
Move MSPI devicetree macros documentation under MSPI group to not
clutter top-level device drivers page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
b98c2106c3 include: arch: cache: move arch/cache.h to arch-interface Doxygen group
This module was erroneously showing up in Device Drivers category.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
1cb7fc7e1e include: dt-bindings: fix doxygen group for sent.h
do not redefine sent_interface group, but rather add to existing one

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
80c2cb82c6 drivers: sensor: include: add doxygen for sensor_data_generic_header
Basically just fixing the comment style to use javadoc-style comments
so that doxygen picks these up

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Benjamin Cabé
604759e970 doc: groups.dox: fix mcumgr transport layers group
The group dedicated to transport layers for MCUmgr ended up being
orphan, probably due to a bad rebase in the recent past. This commit is
fixing it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-06 06:36:28 -04:00
Fabio Baltieri
1947a11e48 ci: twister: fix result merge when there's only 1 runner
The current test result merge command uses artifacts/*/*/twister.xml as
an argument but that directory hierarchy only works if there's >1
runners. If twister decies to only schedule one, then the only file is
going to be in

artifacts/twister-out/twister.xml

and the current command is going to fail with a file not found error.

Using a ** glob for finding the files.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-09-06 06:36:06 -04:00
Fabio Baltieri
9b7c4c85c8 list_backports: fix typo
Fix typo, organisation -> organization.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-09-06 06:35:37 -04:00
Fabio Baltieri
102be7bbf0 scripts: do_not_merge: take a repo and org argument
Take a repo and org argument to the do_not_merge.py script so it can be
used in the testing repository.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-09-06 06:35:37 -04:00
Krzysztof Chruściński
09634c9869 tests: kernel: common: Extend bitarray test
Add test for sys_bitarray_alloc and sys_bitarray_free with 32 bit
bitarray which is using an optimized algorithm.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-06 10:38:18 +02:00
Krzysztof Chruściński
a6c04cf7d8 lib: utils: bitarray: Use optimized version for 32 bit array
When bitarray is limited to a single 32 bit word then bitmask_find_gap
can be used which is much faster than bit by bit search which is
used in bitarray spanning across multiple 32 bit words. Tests shows
that allocation and freeing is 2-3 times faster.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-06 10:38:18 +02:00
Krzysztof Chruściński
187204a754 tests: unit: util: Add test for bitmask_find_gap
Add test for new util function.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-06 10:38:18 +02:00
Krzysztof Chruściński
53c2d58ff8 lib: utils: Add function for finding group of cleared bits in a bit mask
Add function which finds contiguous number of bits which are not set
in the 32 bit mask.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-09-06 10:38:18 +02:00
Taras Zaporozhets
993b642f2e drivers: flash: sam0: Fix incorrect page write size
According to the datasheet, one page is made of 64 bytes
and one row is made of 4 pages, that is 256 bytes.
This MR fixes the incorrect page write size for sam0
and sets it to 64 bytes.

Signed-off-by: Taras Zaporozhets <zaporozhets.taras@gmail.com>
2025-09-06 10:35:25 +02:00
Camille BAUD
00eafee64c boards: bflb: ai_m62_12f: add buttons and leds
add the available button and leds

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-06 10:35:17 +02:00
Camille BAUD
02d51a7059 drivers: gpio: Add BL61x GPIO driver
Adds the gpio driver for BL616 and 618

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-06 10:35:17 +02:00
Camille BAUD
e0ca880329 dts: bflb: Fix GPIO node for bl61x
makes gpio driver work for bl61x

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-09-06 10:35:17 +02:00
Henrik Brix Andersen
ec1e05c421 drivers: hwinfo: add HWINFO driver for native_sim
Add a HWINFO driver for native_sim with support for getting the device
ID. Default device ID will be that returned from gethostid(), but the ID
can be overriden via the -hostid command line option.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-09-06 08:40:34 +02:00
Alessandro Manganaro
c53d1facde samples: bluetooth: peripheral_hr: adding stm32wba configuration
Adding configuration to facilitate the testing of
stdby BLE feature for stm32wbax nucleo boards

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-09-06 08:40:02 +02:00
Alessandro Manganaro
d808d9e2f9 drivers: bluetooth: hci: stm32wba driver update for pm
Reworking  pm implementation in stm32wba ble hci driver.
Enabling "no-reset" quirk for stm32wba ble hci driver to
maintain specific configuration required for pm.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-09-06 08:40:02 +02:00
Alessandro Manganaro
75a726196c boards: st: nucleo_wbaxxxx: clock settings changes
system clock at 32MHz (nucleo_wba55cg and nucleo_wba65ri).
32 Mhz is the lowest value to manage radio events.
lsi clock disabled (nucleo_wba55cg).

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-09-06 08:40:02 +02:00
Charles Hardin
81283c678a kernel: event api extensions to clear events and avoid phantom events
This is variation of the PR to handle phantom events and hopefully
this get merged into the PR to land.

See-also: https://github.com/zephyrproject-rtos/zephyr/pull/89624
Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2025-09-05 16:50:28 -04:00
Ivynya Lu
41a7f95f35 soc: nordic: nrf53: assign pin xl1,xl2 to app core if lfxo disabled
Fixes zephyrproject-rtos/zephyr#92663

Disabled LFXO via devicetree allows pin 0.00 and 0.01 to work correctly
as gpio by assigning it to the app core instead of peripheral. Removed
deprecated Kconfig options so DT is the only config path now.

Signed-off-by: Ivynya Lu <ivy.lu@level.co>
2025-09-05 16:49:38 -04:00
Appana Durga Kedareswara rao
8f359542b8 boards: versalnet_apu: Add QEMU support via west and Twister
Add support for running the APU ELF on QEMU using the
`west build -t run_qemu` target. QEMU integration is now wired through
west and Twister for the `versalnet_apu` board.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-09-05 16:48:38 -04:00
Appana Durga Kedareswara rao
aee42fddf4 boards: amd: Add generic APU board support for Versal Net SoC (Cortex-A78)
Introduce a generic board configuration for the APU on the Versal Net SoC,
which is based on the ARM Cortex-A78 processor.

This board setup provides a baseline environment for enabling and testing
Cortex-A78 features and peripheral integration on the APU subsystem.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-09-05 16:48:38 -04:00
Appana Durga Kedareswara rao
687e081dfc soc: amd: Add initial support for Versal Net SoC APU (Cortex-A78)
Add initial support for the Versal Net SoC APU, which is based on
the Arm Cortex-A78 processor. It includes basic wiring for memory
regions, UART, interrupt controller, and timer.

The versalnet_apu.dtsi file defines peripherals shared across the SoC,
while versalnet_a78.dtsi captures peripherals private to the Cortex-A78
processor. These device trees lay the groundwork for further APU-based
development on the Versal Net platform.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-09-05 16:48:38 -04:00
Appana Durga Kedareswara rao
90cc187735 arm: dts: Add bindings for Cortex-A78
Add CPU bindings for the Cortex-A78 to enable reading CPU device tree
properties in Kconfig. This is required to correctly configure and
use CPU-specific settings based on the device tree.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2025-09-05 16:48:38 -04:00