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>
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>
The DMADRV HAL is deprecated, switch to DMA manager HAL for
channel allocation bookkeeping.
Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
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>
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>
Add baseline support for the nRF7120e SoC.
Add nRF7120 support for nrfutil recover, missing previously.
Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
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>
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>
Add Kconfig option which enables NRFX_GPPI_CONFIG_EXT_ALLOCATOR flag
in nrfx.
Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>