Commit graph

126,787 commits

Author SHA1 Message Date
Erwan Gouriou
c74aaabaf6 drivers: flash: stm32 xspi: Flash has explicit erase
Select FLASH_HAS_EXPLICIT_ERASE for STM32 XSPI driver.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-08-25 17:50:11 +02:00
Erwan Gouriou
bffe74e5e8 tests: clock_control: stm32l0: Fix dts build due to missing hsi-div
Following introduction of hsi-div on L0, upate hsi description on l0.
Since this description is not compatible with l1 series anymore add a
dedicated l0 test variant and matching overlay.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-08-25 17:50:11 +02:00
Emil Gydesen
62c8ca3498 Bluetooth: CAP: Shell: Print generated broadcast ID
Since the broadcast ID is generated at runtime, it is nice
to get it printed so that it can be shared.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 17:49:55 +02:00
Emil Gydesen
bfaa1169e8 Bluetooth: BAP: Shell: Print generated broadcast ID
Since the broadcast ID is generated at runtime, it is nice
to get it printed so that it can be shared.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 17:49:55 +02:00
Emil Gydesen
7ec51764d0 Bluetooth: BAP: Shell: Print broadcast ID and broadcast name when scanning
When scanning, the broadcast_scan_recv now prints the broadcast ID
and the broadcast name (if found). Without this, it is not possible
to use the shell to scan for an unknown broadcast ID or broadcast
name.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 17:49:55 +02:00
Emil Gydesen
5416b3a182 doc: Bluetooth: GAP: Shell: Remove reference to name for adv
The adv-create command no longer takes a name, and the shell
documentation has been updated to reflect that.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 17:49:55 +02:00
Emil Gydesen
555ebf93ba doc: Bluetooth: CAP: Shell: Remove reference to name for adv
The adv-create command no longer takes a name, and the shell
documentation has been updated to reflect that. Instead the
device name can be added via the adv-data command.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 17:49:55 +02:00
Jonas Spinner
da75828459 net: gptp: fix clock accuracy description
Previously, the Kconfig option `NET_GPTP_CLOCK_ACCURACY_2_5MS` had a
incorrect description "1.5ms".

Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
2025-08-25 17:49:39 +02:00
Fabian Blatz
9cc01806c6 doc: Fix anchor element for Kconfig symbol location
Fixes the element href assignment of the Kconfig symbol generation.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-08-25 15:33:12 +02:00
Adrian Bonislawski
b82c44ce20 boards: intel_adsp: set correct stack size for ACE30_WCL
set correct stack size for ACE30_WCL

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
2025-08-25 15:33:00 +02:00
Fin Maaß
57c4a5572a drivers: ethernet: remove select MDIO
remove `select MDIO` from the
ethernet drivers, that don't directly use mdio
and only use the ethernet phy api, now that the
phys select MDIO

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-08-25 15:32:38 +02:00
Fin Maaß
e053f1aad5 drivers: ethernet: phy: select GPIO
devices on a bus are recomended to
select its needed drivers, apply this to the eth phys
that need gpios, so that they just work by
enableing the device in the dts.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-08-25 15:32:38 +02:00
Fin Maaß
f5bbdaf8e7 drivers: ethernet: phy: select MDIO
devices on a bus are recomended to
select its protocol, apply this to the eth phys
on the mdio bus, so that they just work by
enableing the device in the dts.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-08-25 15:32:38 +02:00
Tim Lin
c4ddc85e69 soc: it51xxx: Disable default 15K pull-down on GPF4/GPF5
When GPIOF4 and GPIOF5 are not used as USB alternate function,
the default 15K pull-down should be disabled.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2025-08-25 13:32:58 +02:00
Armando Visconti
03f20f9712 rtio: Add Flush completion queue API
Add API to flush completion queue.

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2025-08-25 13:32:11 +02:00
Sven Ginka
ddc4f5f0be drivers: ethernet: sy1xx: fix random mac
before that commit, random mac was used even when defining
zephyr,random-mac-address to false.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
2025-08-25 13:32:03 +02:00
Sven Ginka
a79e986e03 drivers: ethernet: sy1xx: fix warning
casting the address to uint32_t removes the compiler warning.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
2025-08-25 13:32:03 +02:00
Sven Ginka
63299bb68b drivers: ethernet: sy1xx: fix static prototype
removed invalid arguments.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
2025-08-25 13:32:03 +02:00
Mark Wang
3544546356 bluetooth: a2dp: implement the get_all_capabilities
From avdtp spec, the get_all_capablities should be used if the avdtp
version is v1.3, otherwise the get_capabilities should be used.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-08-25 13:31:55 +02:00
Mark Wang
d8f35a5baa bluetooth: sdp: add avdtp protocol
get the avdtp version through the bt_sdp_get_proto_param

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-08-25 13:31:55 +02:00
Benjamin Cabé
88de138290 include: gnss: dt-bindings: remove unused header file
This file contains macro definitions for baudrates that are not needed ;
probably leftover from an earlier iteration of the binding that used an
enum for the baudrate(?)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-25 11:39:58 +02:00
Alessandro Manganaro
8c11033f59 dts: arm: st: wba: temporary fix to build stm32wba5x boards
Due to a mismatch in naming of debug jtrst pin name
(compared to hal_stm32) all boards based on stm32wba5x
are not compiling.
This temporary fix will solve this issue until a systematic
approach will be put in place.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
2025-08-25 11:39:50 +02:00
Emil Gydesen
c9e1725665 Bluetooth: GATT: ASSERT instead of LOG_DBG for write length check
In bt_gatt_write_without_response_cb there is a check for
write != length. However since the call to bt_att_create_pdu
should ensure that this is possible, this should never happen.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 11:39:42 +02:00
Emil Gydesen
04a15510a9 Bluetooth: ASCS: Use LOG_DBG when failing to alloc buffer for notification
Since there is a retry mechanism implement, this is not something
that the user needs to be warned about.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 11:39:42 +02:00
Emil Gydesen
d3ffdf4b24 Bluetooth: GATT: Modify some LOG_WRN/ERR to LOG_DBG
When an API function returns an appropriate error code,
LOG_DBG is better suited than LOG_WRN or LOG_ERR as the
caller can handle the return value.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 11:39:42 +02:00
Emil Gydesen
ace3a60137 Bluetooth: ATT: Change LOG_ERR to DBG when failing to allocate buffer
For user-initiated requests like notifications, read and write
requests, there will be an error code, so there does not need to be
a generic LOG_ERR if these fail to be allocated.

However if the response or (indication) confirmation PDUs fail
to be allocated, these should still be logged as errors.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 11:39:42 +02:00
Emil Gydesen
00d4ab1c9c Bluetooth: Conn: LOG_DBG for buffer alloc fail
Use LOG_DBG rather than LOG_WRN, as that is an expected
scenario when using K_NO_WAIT (e.g. when sending
GATT notifications), and it is better for higher layers
to determine if this is indeed an error.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-25 11:39:42 +02:00
Filip Stojanovic
2ccab02419 boards: weact: blackpill_h523ce: Add board support
This adds support for the WeAct blackpill_h523ce board.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2025-08-25 11:39:32 +02:00
Filip Stojanovic
034673bc89 dts: arm: st: add stm32h523Xe support
Provide support for STM32H523XE.

Signed-off-by: Filip Stojanovic <filipembedded@gmail.com>
2025-08-25 11:39:32 +02:00
Mikhail Siomin
9135918249 soc: st: stm32: fix ccm region name in linker
Use the region name token to describe the location of sections.
Because for some linkers (e.g. llvm lld) region_name and "region_name"
are not the same.

Signed-off-by: Mikhail Siomin <victorovich.01@mail.ru>
2025-08-25 09:13:33 +02:00
Pavel Vasilyev
d59af08b19 bluetooth: host: gatt: Compile out att cmds for long write proc
`bt_att_recv`, which parses ATT PDUs, already contains code that
responds with `BT_ATT_ERR_NOT_SUPPORTED` if a given handler is not
implemented.

Therefore, `att_prepare_write_req` and `att_exec_write_req` handlers do
not need to explicitly return `BT_ATT_ERR_NOT_SUPPORTED` when
`CONFIG_BT_ATT_PREPARE_COUNT` is set to 0 and can be completely removed.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-08-25 09:13:22 +02:00
Utsav Munendra
030b9f3597 drivers: mspi: mspi_dw: Fix compilation with CONFIG_MSPI_XIP disabled
Move `api_timing_config()` impl outside of the block gated behind
CONFIG_MSPI_XIP.

Signed-off-by: Utsav Munendra <utsavm@meta.com>
2025-08-25 09:12:45 +02:00
Peter Mitsis
9bdb17aa32 tests: Add test for IPI work items
Adds a simple test case for IPI work items.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-08-25 09:12:31 +02:00
Peter Mitsis
17ba7e7383 doc: Add IPI work item
Updates the SMP documentation to include notes on IPI work items.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-08-25 09:12:31 +02:00
Peter Mitsis
0111cc9030 kernel: Execute function on another CPU
Adds infrastructure to allow the execution of a function on
a different CPU. The function to be executed on another CPU
runs within the IPI handler at ISR level (and is thus subject
to those constraints).

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-08-25 09:12:31 +02:00
Alen Karnil
4363d14bef dts: arm: st: stm32f303: fix I2C3 address in nodename
Correct stm32f303 I2C3 address in nodename.

Signed-off-by: Alen Karnil <alankarnil@gmail.com>
2025-08-25 09:12:23 +02:00
Benjamin Cabé
5a1065c37f scripts: ci: differentiate warnings from failures in compliance_check
We have a few checks that report warnings, and for some of them it's
actually the _only_ type of failure they report, so it can be confusing
when the output of check_compliance.py says the "check failed" and lists
all the things that are effectively warnings as "ERROR"s.
This commit makes the output more clear by differentiating between
warnings and actual errors, both when printing out individual failures,
but also when printing the summary for each test case (ie. a test case
is said to be "failing" only when it has at least one error, and is only
showing up as having warnings if it only contains... warnings).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-25 09:12:13 +02:00
Johann Fischer
617b71bc17 doc: update pyOCD repository links
The repository has been moved to a new organization, see
https://pyocd.io/. Update links to the pyOCD repository.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-08-24 20:04:29 +02:00
Mahesh Mahadevan
bd8a2d3db4 soc: rw: Fix build failures when include RTC header files
Include the RTC header files only for when Standby power
mode is enabled.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-08-24 00:07:55 -04:00
Mahesh Mahadevan
9cb38ecf58 drivers: mcux_os_timer: Fix build failure
z_nxp_os_timer_ignore_timer_wakeup() was only added
when Standby mode was enabled. Move this function
out of the conditional section.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-08-24 00:07:55 -04:00
Luis Ubieda
5945a3fcd1 ethernet: nxp: Scrub tx_header
As it's not being used anywhere in the driver. Moreover, the extra
unref would trigger a double-free assert (#94311); which is what
motivated this cleanup.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-08-23 05:11:35 +02:00
Pete Johanson
9e7313d982 drivers: memc: MAX32 memc linker support improvements
In order to allow the linker to place certain objects into external RAM,
e.g. heaps, adjust the memc initialization level to PRE_KERNEL_1, allowing
clock control and memc to come up before priority objects like heaps are
initialized.

Signed-off-by: Pete Johanson <pete.johanson@analog.com>
2025-08-23 05:11:25 +02:00
David Leach
6ae130b4a5 manifest: hal_nxp: clean up unneeded files
Last update included files not needed in the NXP HAL

Signed-off-by: David Leach <david.leach@nxp.com>
2025-08-23 05:11:16 +02:00
Sylvio Alves
7305e109fb bluetooth: esp32: make LE discardability length-safe
Determine event discardability after parsing the HCI header and require
at least one byte before reading the LE subevent. This removes a possible
OOB read on malformed/short LE Meta events. Also mark LE Extended
Advertising Report as discardable, matching legacy Advertising Report to
reduce RX pool pressure during heavy scanning.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-08-23 05:11:05 +02:00
Sylvio Alves
089df60140 bluetooth: esp32: fix VHCI semaphore misuse in HCI send path
The TX flow control semaphore was initialized with a count of 1 and
released again after every bt_esp32_send() call. This broke the VHCI
flow control contract and could allow sending more packets than the
controller advertised.

This prevents host/controller overruns and ensures proper synchronization
with the ESP32 VHCI interface.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-08-23 05:11:05 +02:00
Camille BAUD
71be3c2823 dts: bflb: fix bad uart device address
4 didnt become a 2 like it should have

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-23 05:10:56 +02:00
Kamil Krzyżanowski
db15de5274 drivers: serial: stm32: fix race condition when both APIs enabled
Fix a bug where if CONFIG_UART_ASYNC_API was enabled in the config, the
interrupt flags would get cleared after the interrupt driven API callback
finished executing, causing data loss if data happened to arrive after the
callback but before the flags were cleared.

Signed-off-by: Kamil Krzyżanowski <kamnxt@kamnxt.com>
2025-08-22 16:51:17 +02:00
Benjamin Cabé
6191f131d4 include: bindesc: doc: doxygen clean-ups
Re-organize groups, including addition of a top level "Binary
Descriptors" group that becomes the main entry in OS Services

Add missing documentation to some API (bindesc_entry, with public
fields, and bindesc_handle, opaque)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-22 16:46:43 +02:00
Piotr Kosycarz
2a17181576 tests: drivers: uart: uart_error: Add missing pull up for nrf53
Add missing pull up to the overlay file.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-08-22 16:46:35 +02:00
Benjamin Cabé
b69c9c1f10 net: include: icmp: doxygen fixes
Group name was incorrectly used as a brief description ;
used the opportunity to fully clean-up file and group
definition

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-22 16:46:29 +02:00