Commit graph zephyr/modules
Author SHA1 Message Date
Mark Wang
037ae76de7 hal: nxp: mcux: enable cacheable buffers
Set USB_HOST_CONFIG_BUFFER_PROPERTY_CACHEABLE when CONFIG_NOCACHE_MEMORY
is enabled and CONFIG_UHC_BUF_FORCE_NOCACHE is not set. This allows the
MCUX USB host stack to use cacheable buffers when nocache memory regions
are available for DMA operations.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-08-20 14:13:56 +02:00
Aksel Skauge Mellbye
2b060333bf drivers: comparator: silabs: Use sl_hal_acmp instead of emlib
Update driver to use new HAL library that supports both
Series 2 and Series 3 SoCs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-19 17:14:14 +01:00
Aksel Skauge Mellbye
5c8ea82aa9 drivers: serial: silabs: Use sl_hal_eusart instead of emlib
Update driver to use new HAL library that supports both
Series 2 and Series 3 SoCs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-19 17:12:37 +01:00
Tomi Fontanilles
f5a7e107be samples: tf-m: enable CONFIG_PSA_CRYPTO
In order to have the Crypto partition enabled.

At the same time stop setting options that should not be set explicitly.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-08-19 17:11:26 +01:00
Aksel Skauge Mellbye
885d5e2339 drivers: pinctrl: silabs: Use sl_hal_gpio instead of emlib
Update driver to use new HAL library that supports both
Series 2 and Series 3 SoCs.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-19 11:26:47 +02:00
Aksel Skauge Mellbye
ac768a845e modules: hal_silabs: Adapt to wiseconnect 4.1.0
Update build system to work with WiSeConnect 4.1.0 HAL.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-18 17:23:03 -04:00
Aksel Skauge Mellbye
2fd09a065c drivers: dma: silabs: Use DMA manager HAL
The DMADRV HAL is deprecated, switch to DMA manager HAL for
channel allocation bookkeeping.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-18 17:23:03 -04:00
Aksel Skauge Mellbye
d5e241f33a drivers: bluetooth: hci: silabs: Adapt to HAL changes
Adapt Series 2 HCI driver to changes in SiSDK v2026.6.0. The
functions to send and receive events have been renamed, and
the buffer memory is configured in a different way.

The radio also requires PHY configuration files to be separately
compiled, they are no longer built in to the library.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-18 17:23:03 -04:00
Radhika Changela
22d3148e0e module: lvgl: create a zephyr specific nemagfx hal
Introduce a Zephyr-specific Nema HAL implementation under
modules/lvgl/nemagfx to integrate NemaGFX with the Zephyr driver model.

The HAL provides abstraction for interrupt handling, register
access, and synchronization using Zephyr kernel APIs, replacing
platform-specific dependencies.

This enables LVGL to utilize GPU2D hardware acceleration through
NemaGFX in a Zephyr environment.

Signed-off-by: Radhika Changela <radhika.changela@siliconsignals.io>
2026-08-18 19:12:26 +01:00
Robert Robinson
3e684dde42 modules: tf-m: Add support for nRF7120e ns
Add support for nRF7120e non-secure application core in TF-M.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-08-18 10:26:05 +01:00
Robert Robinson
929edae62f soc: nordic: nrf71: Add support for nRF7120e
Add baseline support for the nRF7120e SoC.
Add nRF7120 support for nrfutil recover, missing previously.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2026-08-18 10:26:05 +01:00
Michał Stasiak
121962a40f modules: hal_nordic: move symbol definition from CMake to header
Since nrfx-based MDK now offers option to provide header
with configuration symbols used within MDK, move all
global definitions from CMake script to header.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-08-18 10:26:05 +01:00
Qingling Wu
c37b5cea03 net: wifi: hostap: nan: add Kconfig for max SSI length
Add CONFIG_WIFI_NAN_MAX_SSI_LEN Kconfig option to configure the
maximum NAN Service Specific Info (SSI) payload length. The value
is stored inline in NAN structures; default is 128 bytes to preserve
existing footprint.

Widen ssi_len fields in NAN parameter structures from uint8_t to
uint16_t to support SSI payloads larger than 255 bytes.

Fix wifi_shell.c hex2bin() check: hex2bin() returns size_t and
signals failure with 0, not a negative value.

Signed-off-by: Qingling Wu <qingling.wu@nxp.com>
2026-08-18 10:25:06 +01:00
Krzysztof Chruściński
8fd2c5cd29 modules: hal_nordic: nrfx: Add option to enable GPPI external allocator
Add Kconfig option which enables NRFX_GPPI_CONFIG_EXT_ALLOCATOR flag
in nrfx.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2026-08-17 14:14:08 +02:00
Aksel Skauge Mellbye
19a6fac3ac modules: mbedtls: Add TF-PSA-Crypto driver config file
The default TF-PSA-Crypto config header is shared between all
users. When hardware acceleration is enabled, additional
driver-specific options may be needed. In order to avoid needing
to consume the user config header for this purpose, introduce
a new Kconfig symbol for a driver config header that is included
at the end of the default config header.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-17 10:26:56 +02:00
Aksel Skauge Mellbye
e603d04fa7 modules: mbedtls: Allow custom TF-PSA-Crypto dispatch directory
Add Kconfig option to configure a custom TF-PSA-Crypto dispatch
directory, enabling vendor-specific hardware acceleration by
supplying a custom dispatch implementation.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2026-08-17 10:26:56 +02:00
Hui Bai
3c77f3db51 net: wifi: add get_iface_caps() operation to report interface roles
A Wi-Fi driver can expose more than one net_if, each restricted to a
single role: a station interface and a SoftAP interface backed by the
same hardware. Nothing in the Wi-Fi management API let a driver say
which roles a given interface supports, so users had to infer it from
Kconfig.

Add an optional get_iface_caps() operation to struct wifi_mgmt_ops. It
returns a bitmask of BIT(enum wifi_nm_iface_type) for the interface
passed in, or 0 to let the caller apply its own default. Add
WIFI_TYPE_MAX so callers have a bound to iterate the roles.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2026-08-17 10:25:59 +02:00
Laura Carlesso
bc276c6052 drivers: add infineon MXCRYPTO entropy driver
Added trng (entropy) driver nested in the Infineon MXCRYPTO
mfd driver.

Assisted-by: Claude:claude-opus-4.7
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-08-15 08:10:46 -04:00
Laura Carlesso
e339ce2ddf crypto: Add the Infineon MXCRYPTO crypto driver
Crypto driver nested in the Infineon MXCRYPTO mfd driver.
The driver supports select AES and Hash operations.

Assisted-by: Claude:claude-opus-4.7
Signed-off-by: Laura Carlesso <laura.carlesso@infineon.com>
2026-08-15 08:10:46 -04:00
Jordan Yates
00104f8426 sensor: wsen: add missing dependencies
Add missing dependencies on the HAL module for sensors that use the HAL
headers. This fixes compile time errors for `build_all` tests downstream
that don't have the HAL checked out.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-08-14 16:12:50 -04:00
Anas Nashif
bfa1218a9e Revert "modules: tf-m: make Crypto partition auto-enabled by PSA_CRYPTO"
This reverts commit a55da9c4c9.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-08-14 05:22:53 +02:00
Anas Nashif
cd47ca8eea Revert "samples: tf-m: enable CONFIG_PSA_CRYPTO"
This reverts commit f6893783f1.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-08-14 05:22:53 +02:00
Tomi Fontanilles
f6893783f1 samples: tf-m: enable CONFIG_PSA_CRYPTO
In order to have the Crypto partition enabled.

At the same time stop setting options that should not be set explicitly.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-08-13 16:22:25 -07:00
Tomi Fontanilles
a55da9c4c9 modules: tf-m: make Crypto partition auto-enabled by PSA_CRYPTO
In order to have a uniform way to enable and use PSA Crypto both with
and without TF-M, make `CONFIG_TFM_PARTITION_CRYPTO` promptless and
enable it automatically when `CONFIG_PSA_CRYPTO=y`.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-08-13 16:22:25 -07:00
Nikodem Kastelik
6d16532a78 soc: nordic: nrf53: add support for anomaly 166
Add workaround and Kconfig for nRF53 Series Anomaly 166,
that affects VREGMAIN in LDO mode.
Workaround remains disabled by default.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2026-08-13 16:36:42 -04:00
Anas Nashif
663e4556ba modules: name the parameters in function declarations
MISRA C:2012 Rule 8.2 requires every parameter in a function type to be
named, including the parameters of function pointer parameters.
The in-tree glue for LVGL, OpenThread and the Realtek and Bouffalo Lab
HALs declared thread, timer and task entry callbacks with bare types.

Name them after the arguments the documentation or the
definitions already use. No functional change.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-08-13 13:11:28 -04:00
Jason Yu
ddc0ea8c28 dsp: powerquad: add NXP PowerQuad hardware DSP backend
Add a DSP backend that offloads element-wise math operations to the
NXP PowerQuad hardware coprocessor found on LPC55S6x and similar SoCs.
Unsupported operations fall back to CMSIS-DSP software implementations.

Accelerated operations: add, sub, mult, scale, negate, and dot_prod
for f32, q31, and q15 types. The implementation uses PowerQuad's
matrix engine with three-tier chunking: full 16x16 blocks, partial
rows of 16, and a CMSIS-DSP tail for remainders under 16 elements.

The backend is enabled via Kconfig (DSP_BACKEND_POWERQUAD) and is
auto-selected when the nxp,lpc-powerquad devicetree node is present.

Assisted-by: Claude Code:claude-opus-4-6
Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2026-08-13 13:09:32 -04:00
Anas Nashif
bd8c153823 wifi: name the parameters in function declarations
MISRA C:2012 Rule 8.2 requires every parameter in a function type to be
named, including the parameters of function pointer parameters.
The Wi-Fi NAN shell dispatcher, the esp_hosted and Bouffalo Lab drivers
and the hostap and nrf_wifi glue declared callbacks with bare types.

Name them after the arguments the documentation or the
definitions already use. No functional change.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-08-13 06:36:11 -04:00
Etienne Carriere
161f758ba3 modules: mbedtls: Clarify MBEDTLS_ENABLE_HEAP config
Explicit in MBEDTLS_ENABLE_HEAP config symbol description that it
relates to providing Mbed TLS library a dedicated heap instead of
the system default heap.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2026-08-12 19:28:04 -04:00
Fabian Blatz
9f1491b171 modules: lvgl: Fix cache invalidation method
This fixes the cache invalidation method used by the PXP draw engine to
take a larger size argument and also flush the cache.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2026-08-12 19:26:04 -04:00
Robert Lubos
f8b05ede94 net: ipv6: Stop using the IID when generation fails
Callers of net_ipv6_addr_generate_iid() only logged a warning and
carried on, so a failed generation left the configured SLAAC address as
:: or, in the ipip case, as uninitialized stack memory. Skip the address
configuration entirely when the IID cannot be generated.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-08-12 13:19:27 -04:00
Jamie McCrae
2dfe36c17a modules: mcuboot: kconfig: Fix RAM load with revert exclusion
Adds RAM load with revert to the existing RAM load revert
mechanism so that it does not force using the DT code partition

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-08-12 13:18:27 -04:00
Jiafei Pan
8300fa68dc modules: hal_nxp: update for imx942 cortex-a
Exception.c has been removed from hal_nxp, so remove these code
which is used to remove it from Zephyr camke.

fixes: 114284

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-08-12 13:11:00 -04:00
Andrej Butok
839b525e14 hwinfo: nxp: unify driver naming
- Unify the naming of all NXP hwinfo drivers to use a consistent
  HWINFO_NXP_* Kconfig prefix and hwinfo_nxp_*.c source file naming,
  replacing the previous inconsistent mix of symbols.
- Consolidate the per-driver Kconfig fragments into a single
  Kconfig.nxp file.
- No functional change.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-08-12 13:09:50 -04:00
Mark Wang
74bdd07f2c modules: hal_nxp: usb: enable USB device vbus detection
Define USB_DEVICE_CONFIG_DETACH_ENABLE so the MCUX USB device hal
drivers build with VBUS detection support. This enables the udc MCUX
drivers to advertise the can_detect_vbus capability.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-08-12 13:06:40 -04:00
Robert Lubos
acb3e514d7 modules: openthread: Require an explicit Joiner PSKd
CONFIG_OPENTHREAD_JOINER_PSKD defaulted to the publicly documented
"J01NME" credential, so a device built with joiner autostart would
authenticate with any commissioner in range that presents it. Drop the
default and reject an unset PSKd at build time instead.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-08-12 13:05:57 -04:00
Camille BAUD
aad88ecdcb modules: hal_bouffalolab: Update BL61x blobs
The files are organized differently

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-08-12 10:03:22 -04:00
Camille BAUD
33579adbfe drivers: bluetooth: wifi: Add BLE and WIFI support for BL616CL
Add support for BLE and WIFI on BL616CL.
Harmonize WiFi6 Blob/HW pair.

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-08-12 10:03:22 -04:00
Tim Pambor
7c12338079 modules: tf-m: Honor TOOLCHAIN_VARIANT_COMPILER
Compile TF-M with gcc or llvm toolchain based on the value
of TOOLCHAIN_VARIANT_COMPILER. This allows TF-M to be built
with the same compiler as the zephyr application.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-08-11 17:00:53 -04:00
Jiafei Pan
dba10ee682 modules: hal_nxp: include periph subdirectory for a-core
As some Cortex-A Core device need to align with latest v2 chipmodel
header files, add periph subdirectory to be included.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2026-08-11 13:41:54 -04:00
Dhanoo Surasarang
deabf27769 tests: subsys: fs: fat_fs_api: Add nrf7120dk MEMC RAM disk support
Add board overlay, conf, and testcase entry for nrf7120dk to run
FAT filesystem API tests against external PSRAM via the MEMC RAM
disk driver.

Update test_fat.h to handle CONFIG_DISK_DRIVER_MEMC_RAM so the
test compiles when the memc-backed disk driver is selected.

Register zephyr_memc_ram_disk in FF_VOLUME_STRS in
modules/fatfs/zephyr_fatfs_config.h so FatFS correctly counts and
names memc-ram-disk volumes at build time.

Signed-off-by: Dhanoo Surasarang <dhanoo.surasarang@nordicsemi.no>
2026-08-11 07:42:52 -04:00
Carlo Kirchmeier
7c410c66eb net: coap: Add SSN persistence support
When the same OSCORE master secret and master salt
are reused across multiple device reboots, and no
new shared secret is established by other means,
the Sender Sequence Number (SSN) must be preserved
to prevent sequence number reuse.

Add support for periodically storing the SSN in
non-volatile memory (NVM), allowing the sender to
restore the last persisted value after a reboot and
continue operation in compliance with OSCORE security
requirements.

Signed-off-by: Carlo Kirchmeier <carlo.kirchmeier.ext@siemens.com>
2026-08-10 16:22:40 -04:00
Lucien Zhao
8fbce39d0b modules: hal_nxp: mcux: enable sysmpu driver for MCXE24X
Enable the MCUX fsl_sysmpu HAL driver component for the MCXE24X SoC
series, alongside the other Kinetis-family SoCs that use the NXP System
MPU. This makes the fsl_sysmpu driver available so the SoC can build its
NXP MPU region table.

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-08-10 16:21:25 -04:00
Michał Stasiak
7562269a33 modules: hal_nordic: nrfx: bump nrfx API version to 4.5.0
Updated API version after nrf 4.5.0 integration.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2026-08-10 16:21:06 -04:00
Tim Pambor
33b559deca modules: tf-m: introduce TFM_PARTITION_FIRMWARE_UPDATE_SUPPORTED
Add a new Kconfig option to indicate that the board supports the
firmware update partition. Boards must select this config if they
support firmware update via TF-M.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-08-10 09:13:12 -07:00
Erdem Simsek
5aa6ae6baa modules: trusted-firmware-m: dispatch the RAM-control IOCTL service
tfm_platform_hal_ioctl() is the single secure entry point for Nordic
TF-M platform IOCTLs, and this Zephyr-provided definition is the one
compiled into the secure image. Route TFM_PLATFORM_IOCTL_RAM_CTRL_SERVICE
to its handler, tfm_platform_hal_ram_ctrl_service(),
when TFM_NRF_RAM_CTRL_SERVICE is enabled, so non-secure
RAM power/retention requests reach the secure handler instead of
returning NOT_SUPPORTED.

Signed-off-by: Erdem Simsek <erdem.simsek@nordicsemi.no>
2026-08-10 07:08:25 -07:00
Jamie McCrae
b108bbbc44 soc: cmake: Remove usage of duplicate SOC_* variables
Instead uses the Kconfig values directly, which are the source of
truth

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-08-08 16:33:24 -04:00
Liu Changjie
1b5e16ff7a modules: hal_gigadevice: support 8 MHz HXTAL for GD32F4xx
Allow CONFIG_GD32_HXTAL_8MHZ to be selected on SOC_SERIES_GD32F4XX.
Emit the GD32 HAL __SYSTEM_CLOCK_168M_PLL_8M_HXTAL definition needed
to derive the 168 MHz system clock.

Signed-off-by: Liu Changjie <liucj1228@outlook.com>
2026-08-08 16:31:31 -04:00
Xavier Razavet
00925edd60 modules: openthread: guard Enh-ACK Link Metrics CLI output
Add CONFIG_OPENTHREAD_CLI_LINK_METRICS_ENH_ACK_VERBOSE (default n) to
map the upstream OpenThread option
OPENTHREAD_CONFIG_CLI_LINK_METRICS_ENH_ACK_VERBOSE_ENABLE. When
disabled, no Enhanced-ACK IE callback is registered, avoiding
unsolicited CLI output from the time-critical MAC transmit-done path
that can break SED fast-poll timing. Link Metrics data is still
processed internally and remains queryable via "linkmetrics show".

Also defer OpenThread CLI console output to the system workqueue using
a byte-level ring buffer, to avoid an ABBA deadlock between the OT
mutex and the shell mutex.

Signed-off-by: Xavier Razavet <xavier.razavet@nxp.com>
2026-08-08 15:22:01 -04:00
Hongquan Li
599453d326 fs: fatfs: add virtio-blk volume strings
Include virtio,blk disk names in the FatFS volume list.

Signed-off-by: Hongquan Li <hongquan.li@processmission.com>
2026-08-07 16:28:47 -04:00