Commit graph

136,983 commits

Author SHA1 Message Date
Ryan McClelland
cde2107308 tests: drivers: build_all: i3c: add build for no ibis
Add a test case to build without CONFIG_I3C_USE_IBI

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-12-01 08:30:37 +01:00
Ryan McClelland
bb6d7f470a drivers: i3c: cdns: fix warning when building without i3c_use_ibi
Add a conditional compile around data in `cdns_i3c_irq_handler` to
prevent a warning when building controller only and without ibi.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-12-01 08:30:37 +01:00
Ryan McClelland
54af134088 drivers: i3c: fix unused function warning
Fix unused function warning when building without
CONFIG_I3C_USE_IBI.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-12-01 08:30:37 +01:00
Benjamin Cabé
da95e8499a doc: services: storage: sort ToC entries alphabetically
Sort entries alphabetically instead of the current somewhat random order.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-01 08:27:52 +01:00
Benjamin Cabé
4ee5499f67 doc: storage: nvmem: move nvmem docs under storage
This moves nvmem docs to a better suited home since we already have
a section for all things storage.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-01 08:27:52 +01:00
Benjamin Cabé
bd62f24893 doc: storage: fs: move file system docs under storage
This moves fs docs to a better suited home since we already have
a section for all things storage.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-01 08:27:52 +01:00
Benjamin Cabé
8c6c350138 doc: storage: retention: move retention docs under storage
This moves retention into a better suited home since we already have
a section for all things storage.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-01 08:27:52 +01:00
Bogdan Ivanus
7117baf15c LED PINS: Corrected arduino_portenta_c33.dts file definitions.
Changed ACTIVE_HIGH to ACTIVE_LOW, for LEDs green and blue in c33.dts file
These appear to have been cofigured wrong from the beginning.

Signed-off-by: Bogdan Ivanus <b.ivanus@arduino.cc>
2025-12-01 08:27:37 +01:00
Jordan Yates
685e5bf0e6 boards: arm: mps2: enable QEMU for AN386
Enable QEMU emulation for the AN386, which gives a QEMU platform for the
cortex-m4 architecture. This allows testing of hardware floating point
operations.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-01 08:27:23 +01:00
Mark Wang
44b194b41a libsbc: replace zephyr_compile_definitions
Replace zephyr_compile_definitions with zephyr_library_compile_definitions
to avoid setting options globally.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-12-01 08:27:14 +01:00
Maureen Helm
5f33d75bce tests: lib: devicetree: Add hwspinlock dt spec test
Extends the devicetree library test to exercise the hwspinlock dt spec
macros and detect the context initializer build warning that was fixed
in commit 8b208b0d5a. Previously the build
warning wasn't reproducible in-tree.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-12-01 08:27:04 +01:00
Ryan McClelland
cdfecb6354 drivers: serial: cdns: fix race conditon under heavy uart load
There can be a race conditon where another interrupt fires while it
is in the callback, but then the interrupt is cleared towards the
end of the interrupt. Clear the interrupts it intends to service
at the beginning of the ISR.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2025-12-01 08:26:56 +01:00
Jisheng Zhang
ed12482c38 tests: lib: mpsc_pbuf: use DCB instead of CoreDebug
commit a763207962 ("arch: arm: dwt: use the cmsis_6 macro
unconditionally") use cmsis_6 macro unconditionally, we can use DCB
instead of CoreDebug macro unconditionally.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2025-12-01 08:26:46 +01:00
Jisheng Zhang
0ac6d10ea5 samples: debugmon: use DCB instead of CoreDebug
commit a763207962 ("arch: arm: dwt: use the cmsis_6 macro
unconditionally") use cmsis_6 macro unconditionally, we can use DCB
instead of CoreDebug macro unconditionally.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2025-12-01 08:26:46 +01:00
Jisheng Zhang
30c5c7c8a8 logging: backend: swo: use DCB instead of CoreDebug
commit a763207962 ("arch: arm: dwt: use the cmsis_6 macro
unconditionally") use cmsis_6 macro unconditionally, we can use DCB
instead of CoreDebug macro unconditionally.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2025-12-01 08:26:46 +01:00
Jisheng Zhang
2c1e1ad7c9 arch: arm: dwt: use DCB instead of CoreDebug
commit a763207962 ("arch: arm: dwt: use the cmsis_6 macro
unconditionally") use cmsis_6 macro unconditionally, we can use DCB
instead of CoreDebug macro unconditionally.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2025-12-01 08:26:46 +01:00
Valerio Setti
b7d0e1293c tests: net: ieee802154: remove cipher selection in mbedtls-shim driver
Cipher support is already implied by default so there is no need to
select it explicitly.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
1969f493e3 net: lib: midi2: remove unnecessary cipher selection in mbedtls-shim driver
Cipher support is already implied by default so there is no need to
select it explicitly.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
3a6f0879c4 mgmt: osdp: remove unnecessary cipher selection in mbedtls-shim driver
Cipher support is already implied by default so there is no need to
select it explicitly.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
e94d975111 tests: crypto: crypto_hash: remove unnecessary Kconfig
Cipher related Kconfigs are unnecessary for this test since it's only
evaluating Hash algorithms.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
711f13fff6 drivers: crypto: mbedtls_shim: improve session handling
Add a new function to free an mbedtls_shim session:
'mbedtls_free_session()'. Together with 'mbedtls_get_unused_session()',
these will be the only entry points to acquire/release sessions.
In this way it's easier to ensure that the mutex is properly held while
setting the 'in_use' parameter.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
cc65c9543b drivers: crypto: mbedtls_shim: replace legacy cipher API with PSA API
Replace legacy crypto API for cipher (ECB, CBC) and AEAD (CCM, GCM) with
PSA API.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
678542d899 drivers: crypto: mbedtls_shim: replace legacy hash API with PSA API
Replace usage of legacy crypto hash functions from Mbed TLS with PSA API.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
91dbaf5c45 drivers: crypto: mbedtls_shim: move mbedtls_get_unused_session_index()
Move mbedtls_get_unused_session_index() at the top of the file and leave
cipher and hash functions below.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
0cee013a3f drivers: crypto: mbedtls_shim: add _cipher_ to cipher ops
Another small renaming for cipher ops that just adds "_cipher_" in the
function's name.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
37197f869a drivers: crypto: mbedtls_shim: general renaming
This commit just implements some renaming:
* mbedTLS -> Mbed TLS
* MbedTLS -> Mbed TLS
* MTLS_ -> MBEDTLS_
* mtls_ -> mbedtls_
* mtls_ccm -> ccm_ctx
* mtls_gcm -> gcm_ctx
* mtls_aes -> aes_ctx
* mtls_sha256 -> sha256_ctx
* mtls_sha512 -> sha512_ctx

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Valerio Setti
5eb2f46e0d drivers: crypto: mbedtls_shim: rename module
Use full name for the module so "mtls" -> "mbedtls"

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2025-12-01 08:26:29 +01:00
Dmitrii Sharshakov
e3ef835ffe soc: raspberrypi: rp2350: imply XIP
Imply XIP from the SoC config to make XIP the default to match the
behaviour between Cortex-M33 and Hazard3 variants.

This fixes cbe6a716d3, which stopped
selecting XIP at the SoC level.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-28 20:58:32 -05:00
Mark Wang
6cf0829d7d drivers: usb: uhc: mcux: Improve setup noncache buffer allocation
Only allocate nocache setup packet buffer for control endpoint (EP0).

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-11-28 20:58:16 -05:00
Mark Wang
7ea8992d47 drivers: usb: uhc: mcux: Fix nocache buffer allocation for IN/OUT transfer
Use net_buf_tail() instead of __buf for proper buffer positioning.
Add null check and error handling for nocache buffer allocation.
Only copy data for OUT transfers during buffer setup.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-11-28 20:58:16 -05:00
Mark Wang
d5a509583b drivers: usb: uhc: mcux: add data to buf only for IN transfer
After the transfer callback, add the received data to buf only for IN.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-11-28 20:58:16 -05:00
Mark Wang
d12279b694 drivers: usb: uhc: mcux: Fix buffer setup for IN/OUT transfers
Differentiating between IN and OUT transfers for proper buffer setup.
For OUT transfers: use existing data from buf->data with buf->len.
For IN transfers: use available space from net_buf_tail() with tailroom.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-11-28 20:58:16 -05:00
Sudan Landge
9962bc12cf arch: arm: fix start of the privileged stack
Make sure that arch.mode is set with appropriate flags before setting up
the privileged stack start.

Fixes #99895

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-11-28 20:57:53 -05:00
Aurelien Jarno
78a3890acb net: mqtt_sn: udp: enforce maximum address size at build time
Introduce BUILD_ASSERT checks in the UDP transport implementation to
ensure the configured maximum address size is large enough for the
enabled IP families.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-28 22:10:40 +00:00
Aurelien Jarno
05b9ffb390 net: mqtt_sn: document address size and add support for IPv6
Add guidelines in Kconfig explaining the minimum required
MQTT_SN_LIB_MAX_ADDR_SIZE for UDP transport and IPv4 and or IPv6. Also
explain when this value might need to be changed.

Use these values to provide a sane default for IPv4 and IPv6.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2025-11-28 22:10:40 +00:00
Sylvio Alves
3d77a766c3 west.yml: hal_espressif: update rom reentrant calls as weak
This update modify some ROM reentrant calls to weak in order
to use the one provided in libc.

This also remove the usage of logging that requires locking
handling before scheduler is running.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-11-28 22:10:31 +00:00
Benjamin Cabé
efa9e1dfdd doc: index: redesign landing page with persona-based navigation
Completely overhaul the documentation landing page to improve user
experience and navigability.

Key changes:
- Replace the static grid list with a modern, responsive HTML/CSS layout.
- Introduce "Persona" cards (App Developer, Hardware Engineer, Product
  Maker) to guide users to relevant sections faster.
- Highlight key reference resources (API, Kconfig, DeviceTree, ...) in a
  dedicated reference section.
- Call out "How to contribute" with a dedicated card.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-28 22:10:24 +00:00
Pieter De Gendt
09eeb734ca drivers: ethernet: eth_virtio_net: Support MAC address config
Update the virtio ethernet driver to use a MAC address configuration
struct.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-11-28 17:28:00 +00:00
Jukka Rissanen
5a0fb5c011 tests: net: all: Increase CONFIG_MAX_THREAD_BYTES to 5
This is done to avoid this error

  Too many thread objects (38)
  Increase CONFIG_MAX_THREAD_BYTES to 5

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-11-28 17:27:52 +00:00
Jukka Rissanen
e39c6c56fb tests: net: all: Make sure OpenThread tests are run
The platform_allow line in common: overrides the setting in
individual tests, so add the platform_allow line to each test
separately so that OpenThread tests are run with proper platform.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-11-28 17:27:52 +00:00
Jukka Rissanen
9d3f4a7073 modules: openthread: Fix network namespace API usage
Some of the socket calls still used POSIX symbols, replace these
by native Zephyr network API calls.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-11-28 17:27:52 +00:00
Aleksandr Khromykh
3576e6b156 MAINTAINERS: add alxelax as bt qualification collaborator
Add myself (alxelax) as Bluetooth Qualification
collaborator. The main reason is as Bluetooth Mesh
collaborator would like to follow up qualification tool
updates since it impacts Mesh qualification too.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2025-11-28 17:26:26 +00:00
Lyle Zhu
57b99f5846 Bluetooth: Classic: RFCOMM: Fix unchecked returned value issue
Check the return code of the function `bt_l2cap_br_server_register()`.

Fix #100016

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-11-28 17:26:21 +00:00
Marek Slowinski
b545d584a2 tests: arch: interrupt: Exclude mpfs_icicle SMP platform from LTO test
Other variants of arch.interrupt test pass on this platform,
but arch.shared_interrupt.lto asserts in test_isr_offload_job_identi.

The issue was reported in #98658.

Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
2025-11-28 17:25:58 +00:00
Vinayak Kariappa Chettimada
06cd4f5849 Bluetooth: Controller: Remove redundant Sync ISO must expire
Remove redundant Sync ISO must expire code that is not
planned to be implemented.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-11-28 17:25:50 +00:00
Marek Matej
a00bec83c3 snippets: espressif: update flash size snippets
Update Espressif flash related snippets:

* add support for ESP32-H2
* add 2M,64M and 128M flash support
* change included overlays structure

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-11-28 17:25:40 +00:00
Marek Matej
97d74795da dts: vendor: Add Espressif partition tables
Add support for bigger flash sizes.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-11-28 17:25:40 +00:00
Haoran Jiang
40accad696 soc: sifli: sf32: Add SF32LB52 platform ftab generation
Using the `gen_ftab.py` script, we can retrieve the current image
distribution information from the device tree and generate the
corresponding `ftab.bin` file. This eliminates the need to burn an
additional `ftab.bin` externally before running the device

Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-11-28 17:25:27 +00:00
Haoran Jiang
8454f91e39 scripts: west_commands: runners: sftool: Add flash_files param
In addition to Zephyr's default build artifacts, other build processes
may generate additional images. Therefore, we have added the
`--flash-file` parameter to flash these supplementary images


Signed-off-by: Haoran Jiang <halfsweet@halfsweet.cn>
2025-11-28 17:25:27 +00:00
Vinayak Kariappa Chettimada
2ab41387a4 Bluetooth: Controller: nRF54Lx: Fix Radio Tx Power set
Fix incorrectly high Radio Tx Power being set as default.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-11-28 17:25:02 +00:00