Commit graph

2,588 commits

Author SHA1 Message Date
Muhammad Waleed Badar
c30809bd60 lvgl: update default value of LV_Z_POINTER_INPUT_MSGQ_COUNT
When INPUT_MODE_THREAD is selected, default LV_Z_POINTER_INPUT_MSGQ_COUNT
to INPUT_QUEUE_MAX_MSGS so that the LVGL pointer queue depth matches the
input subsystem queue, preventing dropped touch/pointer events.

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-05-13 05:13:36 +02:00
Davide Di Lello
57e5904bc8 modules: infineon: Update copyright for Infineon
Update structure of the copyright

Signed-off-by: Davide Di Lello <Davide.Dilello@Infineon.com>
2026-05-12 22:19:02 +02:00
Krzysztof Chruściński
c07bbb75e7 modules: hal_nordic: nrfx: Add MDK flags based on the devicetree
Parse DT information regarding NFCT pins and pass it as compiler flags
which are used by the MDK startup code.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-05-12 11:21:15 +02:00
Sayed Naser Moravej
bb3850f374 mbedtls: psa: expose MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS as Kconfig option
Introduce a new Kconfig option, MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS,
to control the corresponding TF-PSA-Crypto configuration macro.
Previously, this option was implicitly enabled whenever
MBEDTLS_PSA_CRYPTO_C was set. This change makes the behavior explicit
and user-configurable through Kconfig.
The default remains 'y' to preserve existing behavior.
This option allows applications to disable the assumption of
non-overlapping input/output buffers when required, at the cost of
additional internal buffer handling.
Part of update-psa-crypto-build-symbols.

Signed-off-by: Sayed Naser Moravej <seyednasermoravej@gmail.com>
2026-05-11 10:57:58 +02:00
Yongxu Wang
0527bec550 modules: hal_nxp: Add meccc drivers to zephyr build tree
Add mecc driver to zephyr build tree.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-05-11 04:02:46 +02:00
William Markezana
b4193f101a drivers: bluetooth: add BL60x on-chip BLE HCI driver
Extend the shared BFLB HCI driver with BL60x (BL602) support: BL60x
include paths, controller init macros, IRQ setup, and platform shim
forward declarations.

Kconfig adds BT_BFLB_BL60X with two controller variant choices
(m1s1, m8s1) and smart defaults based on enabled BT roles.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-05-08 16:00:22 -05:00
Krzysztof Chruściński
55450eaa89 modules: hal_nordic: nrfx: Enable external PPIB function
If SD2PPI configuration for GPPI is used, it indicates that
external function for configuring PPIB need to be used.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-05-08 14:42:10 +01:00
Adam Kondraciuk
98395af2b2 drivers: timer: nrf_grtc_timer: Add Kconfig options for uninit behavior
Add Kconfig options to control whether the GRTC timer is stopped
and/or cleared when the driver is uninitialized (e.g. when
sys_clock_disable() is called).

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2026-05-08 06:45:11 -05:00
Egill Sigurdur
16ac4a5b78 kernel: mem_slab: add K_MEM_SLAB_DEFINE_TYPE for automatic alignment
Introduces K_MEM_SLAB_DEFINE_TYPE() and K_MEM_SLAB_DEFINE_STATIC_TYPE()
helpers to allow the user to declare slabs for types without having to
manually ensure the alignment is correct.

Manual slab alignment was very error-prone and this change fixes several
instances of misalignment that would be trapped by the undefined
behavior sanitizer when running on 64-bit targets.

Signed-off-by: Egill Sigurdur <egill@egill.xyz>
2026-05-07 18:09:41 -05:00
Sudan Landge
d7cf5fee73 modules: cmsis_6: switch to upstream CMSIS_6 and drop fork delta
Upstream CMSIS_6 is now consumable as a Zephyr module, but does
not provide CMake build files to preserve portability for
non-Zephyr users.

CMSIS Core is header-only, so integration only requires headers.
Drop add_subdirectory() and add the include path via
zephyr_include_directories().

Keep __PROGRAM_START handling in the Zephyr module integration layer.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2026-05-07 18:08:35 -05:00
Mohammad Odeh
24744e2052 modules: fatfs: handle optional STM32 SDMMC disk-name
Handle optional `disk-name` for `st,stm32-sdmmc` entries in
FF_VOLUME_STRS to avoid build failures when the property is not present.

Signed-off-by: Mohammad Odeh <zephyr@exalt.ps>
2026-05-07 18:03:20 -05:00
Aksel Skauge Mellbye
b0344892f7 manifest: Update hal_silabs
Update hal_silabs to new HAL versions:

* SiSDK 2025.12.3
* WiSeConnect 4.0.2

This HAL update requires a minor change to the `memc` driver
for SiWx91x because an API has been renamed.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-05-07 13:19:13 +01:00
William Markezana
6952bc7229 modules: hal_bouffalolab: bl70x: remove uarthci blob variant
The uarthci blob contains its own UART transport layer and does not
export bt_onchiphci_* symbols, making it incompatible with the Zephyr
HCI driver.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-05-07 09:16:15 +02:00
William Markezana
66b4ecb85d drivers: bluetooth: add BL61x on-chip BLE HCI driver
Extend the shared BFLB HCI driver with BL61x (BL616/BL618) support:
BL61x include paths and RF init routing through bflb_rf_init().

Kconfig adds BT_BFLB_BL61X with four controller variant choices, a
configurable PHY/RF retention memory size, and a 64 KB exchange memory
option for the BR/EDR variant.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-05-07 09:16:15 +02:00
Tomi Fontanilles
1456111879 modules: mbedtls: remove CONFIG_MBEDTLS_LIBRARY
It has been deprecated and broken for some time.
CONFIG_MBEDTLS_CUSTOM is its replacement.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-07 09:11:36 +02:00
Tomi Fontanilles
7d65b380e2 modules: mbedtls: link to mbedTLS only when CONFIG_MBEDTLS_BUILTIN
393350fd65 made it so that the `mbedTLS`
library is only created when `CONFIG_MBEDTLS_BUILTIN`.

Before this commit, users of Mbed TLS did the following:
`zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)`

If the `mbedTLS` CMake library doesn't exist but is still linked to
(as is the case when `CONFIG_MBEDTLS && !CONFIG_MBEDTLS_BUILTIN`),
the linker command is populated with `-lmbedTLS` which makes the build
fail because there is no `libmbedTLS.a` in the build.

Make it so that users of Mbed TLS only link to the `mbedTLS` CMake
library when the builtin version is used.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-07 09:11:36 +02:00
Cristian Bulacu
7159520f27 openthread: platform: dns_resolver: Allow queries with private RR types
This PR implements support for DNS Private Resource Records (RR)
as defined in RFC 6895, enabling an OpenThread Border Router application
to query and handle DNS records in the private use range
(type codes 65280-65534) on behalf of a Thread node.

Also, fixed an issue where `net_buf_unref` could have been called
with a null pointer argument.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-05-06 12:02:22 +01:00
Christoph Busold
dad5096f85 drivers: entropy: Add support for architectural entropy drivers
Add new inline function entropy_get_default_device which returns
the "zephyr,entropy" device or the architectural entropy device,
if the former is not set, and use that in all places to query the
entropy device.

This allows using architectural drivers which do not have a DT
node.

Signed-off-by: Christoph Busold <cbusold@qti.qualcomm.com>
2026-05-06 07:05:12 +02:00
Rithic Chellaram Hariharan
b5feba5fb1 modules: mbedtls: shell: show total and free heap in shell command
Add total heap size and free bytes to the 'mbedtls heap' shell command
output. Also move the entire shell registration inside the
MBEDTLS_MEMORY_DEBUG guard so the 'mbedtls' command is only registered
when the memory debug APIs are available.

Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
2026-05-05 14:06:07 -05:00
Karthikeyan Krishnasamy
a416d1f89b drivers: dma: add ti mspm0 dma driver support
Add DMA driver support for Texas Instruments MSPM0 Family Series.

Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com>
2026-05-05 15:59:28 +01:00
Tomi Fontanilles
8c410a4344 modules: mbedtls: mark MD5 and SHA-1 hashes as weak
Add a help text to their Kconfig options to warn about that.

In addition, make CONFIG_PSA_WANT_ALG_MD5 select NOT_SECURE but not
CONFIG_PSA_WANT_ALG_SHA_1 because for instance HMAC-SHA1 is still
considered secure, which means SHA-1 usage might not necessarily
be insecure.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-04 21:56:23 +02:00
Tomi Fontanilles
558de01272 modules: mbedtls: config-psa.h: fix spacing
Use only one space between the name and the value.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-04 21:56:23 +02:00
Tomi Fontanilles
6dfe22f9c5 modules: mbedtls: fix PSA config files auto generation
Fix the path to TF-PSA-Crypto now that we moved it outside of the Mbed
TLS repo.

Also replace the "Do not edit it manually" note from the Kconfig file
in order to start making manual additions to it.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-04 21:56:23 +02:00
Tomi Fontanilles
21e55f26e2 modules: mbedtls: do not always enable entropy on MBEDTLS_PSA_CRYPTO_C
Make `CONFIG_MBEDTLS_PSA_CRYPTO_C` look for and enable an entropy driver
only when the Mbed TLS PSA Crypto core is used. Others don't necessarily
require entropy unconditionally, it can be an optional feature.

Additionally, make the RNG source default to
`CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG` also when some other PSA
Crypto core is used. This allows avoiding code bloat by default
to avoid falling back to `CONFIG_MBEDTLS_PSA_CRYPTO_LEGACY_RNG`
which would enable more features. It may seem a bit silly to have
`CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG` enabled even if we don't have
actual entropy but some places assume that if it's not defined then
the legacy path is used.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-04 15:01:19 +02:00
David Boullie
26decd7436 drivers: ieee802154: Add CSMA CA Backoff attempts to config handler
Add IEEE 802.15.4 radio driver configuration option to set the CSMA CA
backoff attempts from IEEE 802.15.4-2003+ MAC PIB attributes.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2026-05-04 14:56:07 +02:00
Valerio Setti
125a852ec5 modules: tf-m: move TFM_REGRESSION_[NS|S] Kconfigs to sample folder
These were only used in 'samples/tfm_integration/tfm_regression_test' and
when that application is built they are both assumed to be enabled, so
it's not really meaningful to have these Kconfigs generally available.

Extra parameters that need to be passed to the TF-M's CMake build are now
added from
'samples/tfm_integration/tfm_regression_test/CMakeLists.txt'.

In this way regression testing is self contained in that folder and it
doesn't pollute the main TF-M build.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-05-04 14:55:33 +02:00
Valerio Setti
43347abc92 modules: tf-m: add regression test related parameters to TF-M build
In order to properly build non-regression tests for the TF-M secure side
we need to pass 2 additional parameters:
- tf-m-tests build folder
- secure test configuration file

Previously these values were added from
'samples/tfm_integration/tfm_regression_tests' sample.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-05-04 14:55:33 +02:00
Tomi Fontanilles
d1d3e70466 modules: tf-m: introduce CONFIG_TFM_PS_ROLLBACK_PROTECTION
To have a way to tell whether PS rollback protection is enabled and
also possibly to turn it off.

The Kconfig option is put in a new Kconfig file dedicated to the
Protected Storage, just as we have for the Crypto modules.

`if BUILD_WITH_TFM` is moved to the main Kconfig file so that we don't
have it in every subfile.

`Kconfig.tfm.crypto_modules` is renamed to `Kconfig.tfm.crypto` for
consistency with the partition name.

A CMake macro is introduced to more easily pass boolean Kconfig options
to TF-M and is applied to relevant places.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-05-04 14:55:33 +02:00
Fin Maaß
1bb2215a45 net: wifi: also add struct net_if to struct wifi_mgmt_ops
as the ethernet api already includes
struct net_if as a argument for its
functions also add it to struct wifi_mgmt_ops.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-05-04 14:55:03 +02:00
Sreeram Tatapudi
505a25d16e modules: tfm: Use vendored hal_infineon assets for Infineon TF-M
Pass local hal_infineon asset paths to the TF-M build instead
of relying on CMake FetchContent to download them from GitHub.

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/107215

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-05-04 08:59:17 +02:00
Quang Le
6d2b6de690 drivers: spi: Initial support for RZ/V2H, V2N
Add SPI driver support for Renesas RZ/V2H, V2N.

Signed-off-by: Quang Le <quang.le.eb@bp.renesas.com>
2026-05-03 20:30:58 -05:00
Maochen Wang
feccdbcc2c hal_nxp: mcux: add Kconfig option for compressed Wi-Fi/NB firmware
Introduce CONFIG_NXP_COMPRESSED_WIFI_NB_FW to allow selecting
compressed Wi-Fi or Narrowband firmware images.
Using compressed firmware reduces flash usage at the cost of
additional decompression time during initialization.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2026-05-03 21:40:59 +02:00
Michal Smola
82c3536b40 modules: hal_nxp: add M55 core support
M55 core is not supported in device.cmake.
Add M55 support.

Signed-off-by: Michal Smola <michal.smola@nxp.com>
2026-05-01 16:21:45 -05:00
Rithic Chellaram Hariharan
aee363011e samples: tests: net: migrate to asymmetric TLS content length Kconfig
Replace CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN with the new
CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN and CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN
options across all in-tree .conf files, hostap Kconfig defaults, and
socket subsystem help text.

This completes the deprecation of MBEDTLS_SSL_MAX_CONTENT_LEN in favor
of independent incoming/outgoing buffer size control.

Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
2026-04-30 07:51:57 +02:00
Rithic Chellaram Hariharan
fa37c7fe71 modules: mbedtls: add PSA crypto header to zephyr_init.c
Include psa/crypto.h in zephyr_init.c when CONFIG_MBEDTLS_PSA_CRYPTO_CLIENT
is enabled to ensure PSA types are available during initialization.

Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
2026-04-30 07:51:57 +02:00
Rithic Chellaram Hariharan
e70664bfda modules: mbedtls: fix shell build when MBEDTLS_MEMORY_DEBUG is disabled
Move the SHELL_STATIC_SUBCMD_SET_CREATE and SHELL_CMD_REGISTER calls
inside the MBEDTLS_MEMORY_DEBUG guard to avoid registering an empty
shell command set when memory debugging is disabled.

Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
2026-04-30 07:51:57 +02:00
Rithic Chellaram Hariharan
970058e61a modules: mbedtls: add encrypt-then-MAC and buffer Kconfig
Add MBEDTLS_SSL_ENCRYPT_THEN_MAC as a dedicated Kconfig option inside
if MBEDTLS_SSL_PROTO_TLS1_2, with default y. Wire it into
config-mbedtls.h replacing the unconditional TLS1_2 && PSA_CRYPTO_C
guard.

Add MBEDTLS_SSL_IN_CONTENT_LEN and MBEDTLS_SSL_OUT_CONTENT_LEN Kconfig
options to allow independent control of incoming and outgoing TLS buffer
sizes. Both default to 1500, with fallback to MBEDTLS_SSL_MAX_CONTENT_LEN
if set. This enables constrained devices to use asymmetric buffer sizes
to save heap.

Deprecate MBEDTLS_SSL_MAX_CONTENT_LEN in Kconfig.deprecated in favor of
the independent IN/OUT buffer size controls.

Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
2026-04-30 07:51:57 +02:00
Rithic Chellaram Hariharan
1b8fb5cf2b modules: mbedtls: add Kconfig for TLS 1.3 compatibility mode and early data
Add MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE and MBEDTLS_SSL_EARLY_DATA
as Kconfig options so they can be individually controlled rather than
being unconditionally enabled. Place EARLY_DATA after SESSION_TICKETS
with a depends on, and COMPATIBILITY_MODE after EARLY_DATA with
default y. Wire both into config-mbedtls.h: un-nest
MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE from the TLS1_3 proto guard,
and consolidate MBEDTLS_SSL_EARLY_DATA to a single standalone block.

Signed-off-by: Rithic Chellaram Hariharan <gr8rithic@gmail.com>
2026-04-30 07:51:57 +02:00
Girinandha Manivelpandiyan
394a227232 drivers: crypto: mspm0: Add support for TI MSPM0 AES module
add driver support for TI MSPM0 AES module

Introduced a hardware accelerated AES driver for the TI MSPM0
enable support for encryption and decryption using ECB and CBC mode
of operation.

Signed-off-by: Girinandha Manivelpandiyan <girinandha@linumiz.com>
2026-04-29 06:37:12 -05:00
Martin Hoff
843df31f9d soc: silabs: siwx91x: remove CONFIG_SOC_SIWX91X_PM_BACKEND_PMGR
CONFIG_SOC_SIWX91X_PM_BACKEND_PMGR adds an unnecessary layer,
as everything can be handled by the CONFIG_PM symbol.
Removing it reduces complexity in the siwx91x SoC files.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2026-04-28 17:53:57 +02:00
Yves Wang
ae0dbc71a2 drivers: rtc: add NXP RTC analog driver
Add driver for the NXP RTC analog module found on MCX L series
SoCs. This RTC supports BCD time/date mode with hundredths-of-second
resolution and 3 independent alarms.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-04-27 19:03:43 +01:00
David Boullie
863cdd1798 modules: openthread: Fix alarm counter compilation
Add missing header and ifdefs to fix compilation of alarm counter for
counter drivers.

Signed-off-by: David Boullie <David.Boullie@silabs.com>
2026-04-27 14:15:13 +02:00
Keith Wheeler
3c36361cab drivers: misc: ethos_u: adding Infineon Ethos NPU support
Added Ethos U55 support for Infineon PSE84 platform.

Signed-off-by: Keith Wheeler <keith.wheeler@infineon.com>
2026-04-26 17:42:04 +02:00
Alexpandi Muniyandi
e6d4293dca drivers: adc: Add a driver support for TI MSPM0 ADC module
Add driver support for TI MSPM0 ADC module.

Add a configurable reference voltage support with vref.
Add this driver in shell.

Signed-off-by: Jackson Farley <j-farley@ti.com>
Signed-off-by: Alexpandi Muniyandi <alexpandi@linumiz.com>
2026-04-24 15:38:00 -04:00
Jason Yu
f0badc845d modules: hal_nxp: cmake: Add optimized memset
Use optimized memcpy, memset for M cores
except CM0 and CM23

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-04-24 15:35:59 -04:00
Sreeram Tatapudi
9833391474 modules: hal_infineon: move PSE84 sources to mtb-template-pse8xxgp
Move PSE84 platform sources from mtb-template-cat1 to
mtb-template-pse8xxgp in a dedicated CMakefile.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2026-04-24 10:29:05 -04:00
Henrik Brix Andersen
4c8760ca81 modules: canopennode: remove support for the optional CANopenNode module
Remove in-tree support for the optional CANopenNode module. This will be
provided as an external module instead, as there are no bindings from
Zephyr towards this module.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-04-24 12:59:39 +02:00
Chris Friedt
6039d00285 manifest: optional: thrift: convert to external module
Convert the thrift module to be completely external.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-04-24 09:18:40 +02:00
minyuan xue
e9f9b717a5 modules: hal_realtek: introduce os_wrapper layer for ameba series.
Add os_wrapper layer used by Ameba Wi-Fi driver.

Signed-off-by: minyuan xue <minyuan_xue@realsil.com.cn>
2026-04-24 09:16:14 +02:00
Yassine El Aissaoui
4272a109bc soc: nxp: Add Radio Max TX power configuration
Adding support of Radio Max TX Power for MCXW family

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2026-04-22 08:08:53 -05:00