Commit graph

2,588 commits

Author SHA1 Message Date
Ravi Dondaputi
7b6930b746 modules: hostap: Add support for P2P GO mode ops
Enable build time configs required for supporting P2P GO mode.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
c2649b5887 net: wifi: Add Wi-Fi direct P2P connect API support
Add structures and API support for P2P connect.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Chaitanya Tata
ca9e1eba5d modules: hostap: Remove obsolete conditional
We now support a single MbedTLS shim for hostap, so, this extra check is
not needed, we can always use DH5 groups from Mbedtls.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Ravi Dondaputi
000e41b2e8 modules: hostap: Define heap and stack for P2P support
Increase required heap and stack size for P2P. More stack was required
during WPS negotiation.

Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Kapil Bhatt
84db77c46b net: wifi: Add Wi-Fi direct P2P discovery API support
Add supplicant api and  mgmt ops support for P2P discovery.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-01-13 13:30:23 +01:00
Marco Casaroli
e1c68019cc modules: mbedtls: include option to enable version information
Some libraries like libcoap make use of mbedtls_version_get_number
which is enabled by MBEDTLS_VERSION_C.

We add a config option to be able to selectively enable it.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-01-12 12:27:59 -06:00
Armando Visconti
56b85ea61a drivers/sensor: lsm6dsvxxx: add ism6hg256x support
Add support to ism6hg256x sensor variant of LSM6DSVXXX driver.

More information:
https://www.st.com/resource/en/datasheet/ism6hg256x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
b66fc31c95 drivers/sensor: lsm6dsvxxx: add lsm6dsv80x support
Add support to lsm6dsv80x sensor variant of LSM6DSVXXX driver.

More information:
https://www.st.com/resource/en/datasheet/lsm6dsv80x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Armando Visconti
d6eaae4d53 drivers/sensor/st: add support to LSM6DSVXXX IMU family
This driver is currently only supporting the polling-mode read_and_decode
APIs (both blocking and non-blocking).

The driver implements a chip_api structure which has to be used to
provide device specific callbacks. The only lsm6dsvxxx family device
currently supported is lsm6dsv320x.

More information about LSM6DSV16X:
https://www.st.com/resource/en/datasheet/lsm6dsv320x.pdf

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2026-01-12 12:26:41 -06:00
Gang He
4d2af2647e west.yml: hal_sifli: Update to latest revision
- Add support to compile with no LCPU patch as CI do not fetch blobs.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-11 13:03:33 +01:00
Douglas Holtsinger
6c410584dd modules: hal_st: Fix Kconfig USE_STDC_LSM6DS3TR
Align Kconfig USE_STDC_LSM6DS3TR with hal_st
Fixes zephyrproject-rtos/zephyr#53546
See also hal_st PR #22

Signed-off-by: Douglas Holtsinger <doug.holtsinger@gmail.com>
2026-01-08 09:51:45 +01:00
Cristian Bulacu
f262a33a94 net: l2: openthread: Make use of Zephyr OTBR NAT64 translator flag
This commit aims to declare and call NAT64 functions used by Border
Router application only if corresponding flag is also set.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-07 14:56:06 +00:00
Cristian Bulacu
d07e655638 openthread: platform: Fix compile warnings related to NAT64 or IPV4
Make use of CONFIG_OPENTHREAD_ZEPHYR_BORDER_ROUTER_NAT64_TRANSLATOR flag in
platform code.
Fixed some compile warnings in `mdns_socket.c` when IPV4 is not enabled,
by moving some variables under `CONFIG_NET_IPV4` define

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-07 14:56:06 +00:00
Cristian Bulacu
ade5b4d637 openthread: Kconfig: Add config flag for NAT64 translator
This config flag sets all the requirements and dependencies for NAT64
translator enablement. By default, NAT64 translator is enabled in an
OpenThread Border Router application.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-01-07 14:56:06 +00:00
Valerio Setti
827ce8a74c modules: uoscore-uedhoc: remove Kconfigs for legacy Mbed TLS crypto
Those were needed when uoscore-uedhoc was using "mbedtls_pk_ec()" function
to uncompress EC points. The library has been updated since then and
this legacy function is no more required. As a consequence also legacy
Kconfigs can be removed as well.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-07 14:56:00 +00:00
TOKITA Hiroshi
e8a35bc567 modules: hal_rpi_pico: Make PICO_NO_BINARY_INFO configurable
Use the definition of PICO_NO_BINARY_INFO if it already exists,
set it as 1 if not so.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-06 16:07:16 +00:00
TOKITA Hiroshi
1e6fe9ffda modules: hal_rpi_pico: add includes that referenced by binary info
The binary info feature references `boot_stage2` and `pico_binary_info`.
Add these to include dirs.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2026-01-06 16:07:16 +00:00
Xudong Zheng
9d9a8efab2 entropy: rpi_pico: implement entropy driver for RP2350
Use get_rand_64() from Pico SDK for entropy.

Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
2026-01-06 10:39:38 +01:00
Holt Sun
bce0b1a72c modules: hal_nxp: mcux: enable LPC CRC driver component
Enable lpc crc driver for zephyr crc driver.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2026-01-05 09:20:40 +01:00
Nick Brook
c6ba1a067c modules: nanopb: fix race condition in zephyr_nanopb_sources
When one generated .pb.h file includes another generated .pb.h file,
the build can fail because compilation may start before all headers
are generated.

The nanopb_generated_headers target collects all proto generation
targets as dependencies, but the calling target was not depending on
it. This can cause a race condition where the compiler fails with
"No such file or directory" for included headers.

Make the calling target depend on nanopb_generated_headers to ensure
all protobuf headers are generated before source compilation begins.

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-01 21:28:33 +01:00
TOKITA Hiroshi
f0632f5155 modules: hal_rpi_pico: Add hardware_sha256 to include directories
Add `hardware_sha256/include` to `zephyr_include_directories`.
Use the header only.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2025-12-31 11:00:21 +00:00
Hui Bai
826872d179 modules: hostap: Add new configs in Kconfig for hostap cleanup interval
Both wpa_supplicant and hostapd register cleanup interval to eloop and
the intervals are all 10 seconds by default and this can cause device to
be woken up twice from sleep every 10 seconds. In order to reduce power
consumption, add below new items in Kconfig so that users can update the
cleanup intervals based on their requirements.
CONFIG_WIFI_NM_WPA_SUPPLICANT_CLEANUP_INTERVAL
CONFIG_WIFI_NM_HOSTAPD_CLEANUP_INTERVAL

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2025-12-31 10:58:59 +00:00
Biwen Li
ce50e46a90 drivers: intc: irqsteer: Drop calling into NXP HAL
Supporting irqsteer using NXP HAL becomes increasingly harder with new
SoCs.

For example now there are two incompatible HAL drivers for IRQ steer
(mcux-sdk-ng/drivers/irqsteer and mcux-sdk-ng/drivers/irqsteer_1).

In order to avoid overcomplicating code and better scaling code for
newer SoCs just drop using the NXP HAL and implement an IRQ Steer native
Zephyr driver

Use irqsteer node of imx943 as example.

New features:
- Support multiple irqsteer instances.
- Indroduce new properties(nxp,irq-offset, nxp,num-irqs).

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-12-24 12:51:21 -05:00
Zhaoxiang Jin
ea8e8b7d53 drivers: adc: refactor mcux_sar_adc to nxp_sar_adc
Zephyr's current ADC API only supports 32 logical channels,
which is inadequate for SAR ADCs on certain SoCs. For instance,
the ADC on the MCXE31B has 64 hardware channels. The previous
implementation used a one-to-one mapping between logical and
hardware channels. In the new SAR ADC driver version, we bind
hardware channels to logical channels via the zephyr,input-positive
property, enabling us to access any channel.

Currently, only imx93 uses this ADC. To maintain the bisectability
of Zephyr commits, in this commit we will also modify the imx93-related
files, inlcuding:
1. Update the clock_control_mcux_ccm_rev2.c to use the new Kconfig
option 'CONFIG_ADC_NXP_SAR_ADC'.
2. Add properties to the imx93_evk_mimx9352_m33.overlay of the adc_api
testcase.

Now the sar adc is native driver, so, remove
CONFIG_MCUX_COMPONENT_driver.sar_adc from the glue cmake.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-12-24 12:48:46 -05:00
Fengming Ye
a957c6311d wifi: nxp: support nxp wifi with custom host platform
Add CONFIG_NXP_WIFI_CUSTOM_HOST to build with custom
host platform.

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2025-12-23 05:08:39 +01:00
Yangbo Lu
c3a3c2bd99 drivers: sdhc: imx_usdhc: support scatter gather DMA transfer
Supported scatter gather DMA transfer.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-12-23 05:04:25 +01:00
Lyle Zhu
5ead2dde41 modules: hal_nxp: mcux: Send VS commands to configure controller
Send VS commands to configure the PCM pins before establishing SCO
connection.

Send VS commands to start the voice transferring when SCO connection
has been established.

Send VS commands to stop the voice transferring when SCO connection
has been broken.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-12-19 10:23:35 +02:00
Bill Waters
acbad46c1b modules: hal_infineon: CMakeLists.txt
- Only compile the mtb-hal-cat1 module's source when
CONFIG_USE_INFINEON_LEGACY_HAL is set.
- The serial-flash sub-module relies on the legacy hal.
It was getting added to all builds, including ones that
don't use the legacy hal.

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-12-18 23:38:09 +01:00
Alberto Escolar Piedras
9a0e8a4148 modules: nrf_wifi: Fix net API use
In d45cd6716b the mayority of the
Zephyr codebased was changed to use the Zephyr native net_ prefixed
types, but some were forgotten.
Without this fix/change the code still builds as we are by now setting
CONFIG_NET_NAMESPACE_COMPAT_MODE. But when this is not set, things
fail to build.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-18 18:53:10 +00:00
Petr Buchta
53dfed0455 boards: nxp: frdm_mcxe247: Enable flash controller
This commit enables use of FTFC flash controller.
Together with DT changes it adds support for FTFC into soc_flash_mcux.c
driver.

Signed-off-by: Petr Buchta <petr.buchta@nxp.com>
2025-12-18 09:19:24 +01:00
Sylvio Alves
f8d2e00a0e includes: remove duplicated entries in zephyr-tree
Remove duplicated #include directives within the same
preprocessor scope across the Zephyr tree.

Duplicates inside different #ifdef branches are preserved
as they may be intentional.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-12-17 13:57:38 -05:00
Jordan Yates
b362eca3b0 modules: nrf_wifi: bus: SPI keep ACTIVE
Add an option to keep the SPI bus in `ACTIVE` while the WiFi module is
powered up. Previous testing has shown transitioning the bus on every
SPI transaction to reduce UDP uplink throughput from 8 Mbps to 6 Mbps.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-12-17 10:58:49 +02:00
Guido Roncarolo
6cf47cae57 modules: tf-m: add MCNX947 in cmake and kconfig
Added MCNX947 support in trusted-firmware-m
module Cmake and Kconfig. Cmake is cleaned,
removed unused variables.

Signed-off-by: Guido Roncarolo <guido.roncarolo@nxp.com>
2025-12-17 10:56:59 +02:00
Cristian Bulacu
c898f775d2 openthread: platform: mdns_socket: Avoid assert in high-traffic networks
This commit implements a rule that will silently discard incoming mDNS
messages if number of OT free message buffers after message conversion
will be under a user-predefined threshold.
mDNS is making use of OT message buffers, if an mDNS TX message can't be
allocated, it will trigger an assert.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-16 10:18:25 -06:00
Cristian Bulacu
f865e9d832 openthread: Kconfig: Add OTBR config for mDNS processing
This commit adds a new configuration flag which is used to compute a
threshold that determines if an incoming mDNS packet will be processed.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-16 10:18:25 -06:00
Jonathan Nilsen
ef587e12f6 modules: hal_nordic: move IronSide SE supporting code to hal_nordic
Move most of the code that is used to interface with IronSide SE on the
nRF54H20/nRF9280 from the soc/nordic directory to the hal_nordic
repository. The interface code is now provided by the new IronSide
support package. Build system code and glue code that makes use of
Zephyr APIs is now located in the modules/hal_nordic directory.

Update the directory path for IronSide SE interface code in
MAINTAINERS.yml to match the move from soc/nordic/ironside to
modules/hal_nordic/ironside.

Also included are some refactoring changes and cleanup to match the new
supporting code.

C code and Kconfigs have been renamed to *ironside_se* / *IRONSIDE_SE*
to match the supporting code changes. Users of these APIs in zephyr
have been updated to match.

Individual configurations for different "IronSide services" have been
removed as the API serialization for all of these is now provided in
a single C file / header file (ironside/se/api.h).

The ironside_boot_report_get() API has been removed. The boot report
structure can be accessed through the IRONSIDE_SE_BOOT_REPORT macro.

Most configs relating to UICR / PERIPHCONF have been moved under the
"IronSide SE" menu to make it clear that these are part of the
IronSide SE interface.

The macros that in uicr.h that were used to add entries to the
PERIPHCONF section have been removed. The supporting code now provides
PERIPHCONF_XYZ() macros that can be used to initialize structures that
go into this section, and the zephyr part now only contains a macro
UICR_PERIPHCONF_ENTRY() that is used to place an arbitrary structure
into the section. The gen_periphconf_entries.py script used to generate
PERIPHCONF entries based on devicetree has been updated to use the new
macro system.

IronSide SE integration code/configs is now guarded by HAS_IRONSIDE_SE.

Note that the UICR build system integration that relies on Sysbuild
remains under the soc/nordic directory for now, but will be moved to
the modules/hal_nordic directory once it is clear how the integration
will look there.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-12-16 10:13:56 -06:00
Fabrice DJIATSA
b152f71aaa modules: kconfig: mcuboot: make SWAP_USING_OFFSET the default for STM32
Update MCUboot configuration so that STM32 no longer defaults to
SWAP_USING_MOVE. Instead, SWAP_USING_OFFSET becomes the default mode
for STM32 boards.

Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
2025-12-15 17:08:14 +00:00
Chaitanya Tata
5018d2456e modules: hostap: Workaround for BTM failure
Fixes WFA QT BTM test case.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-12-15 17:07:37 +00:00
Holt Sun
a838ad5ece modules: hal_nxp: mcux: enable CRC driver component
Enable mcux crc driver for zephyr crc driver.

Signed-off-by: Holt Sun <holt.sun@nxp.com>
2025-12-15 07:27:48 -05:00
Jiafei Pan
02c808f390 modules: hal_nxp: fix camke for sdk-ng middleware
As middleware.cmake could be included by mcux-sdk's CMakeLists.txt,
so use CMAKE_CURRENT_LIST_DIR to make sure the directory is correct.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Signed-off-by: Jony Zhang <jony.zhang@nxp.com>
2025-12-12 09:58:32 -05:00
Tim Pambor
7a9b4d3a5c boards: st: stm32h573i_dk: Add TF-M non-secure app support
Add support for building Trusted Firmware-M (TF-M) non-secure
applications for the STM32H573I-DK board.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-12-12 09:57:40 -05:00
Camille BAUD
7a1e2d7509 drivers: lora: Add explicit support for variants
Add explicit support for sx1268, sx1278, llcc68

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-12-12 09:57:09 -05:00
S Mohamed Fiaz
e88400036e modules: hal_silabs: wiseconnect: CMakeLists fix
This fix addresses a PM failure caused by an inconsistency
between the device tree and the build system. The device tree
was updated with `reg = <0x00000400 DT_SIZE_K(319)>;`,
but the corresponding value for `SL_SI91X_SI917_RAM_MEM_CONFIG`
in CMakeLists.txt was not updated, leading to the problem.
The build system now automatically sets `SL_SI91X_SI917_RAM_MEM_CONFIG`
based on the sram0 RAM size from the device tree using `dt_prop()`
and `list(GET)`, ensuring the configuration matches the device tree
and preventing future mismatches.

Signed-off-by: S Mohamed Fiaz <Fiaz.Mohamed@silabs.com>
2025-12-12 10:29:49 +01:00
Cristian Bulacu
6dab107c91 openthread: Kconfig: Enable packet filtering
Enable packet filtering functionality for OpenThread Border Router when
NAT64 Translator is enabled

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-11 16:36:17 -05:00
Cristian Bulacu
d1858bed24 openthread: platform: infra_if: Add packet filtering rule for NAT64
This commit aims to implement IPv4 packet filtering for NAT64 translator.
If packets are consumed, those are not processed anymore by network
stack.
NAT64 packets are created by OpenThread stack and sent on backbone
interface using a raw socket.

This commit attempts to fix an issue where a TCP connection is initiated
by an OpenThread node, but discarded by network stack since there is no
active known connection.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-11 16:36:17 -05:00
Alberto Escolar Piedras
dd7526af49 modules: openthread: Fix network namespace API usage
bcec3bd04b introduced some of the
non-native API names back into this module. Let's fix it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-12-11 16:57:22 +01:00
Cristian Bulacu
bcec3bd04b openthread: platform: infra_if: Remove NAT64 packet checksums
OpenThread NAT64 translator creates a packet that has header checksum
computed and appended.
In case of using ethernet as backbone interface, some NICs may want to
have checksum set to 0 for a correct computation.
This commit aims to address this issue by checking if hardware has
offload capabilities and setting NAT64 packet checksums to 0, if needed.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-12-11 05:50:07 -05:00
Maochen Wang
2faece5494 hostap: update mbedtls config for enterprise use
Enable MBEDTLS_SSL_KEYING_MATERIAL_EXPORT by default to support TLS
keying material export for enterprise scenarios.
Replace deprecated TLS 1.3 configs with MBEDTLS_SSL_PROTO_TLS1_3 and
MBEDTLS_SSL_SESSION_TICKETS.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-12-11 05:49:56 -05:00
Maochen Wang
ba04029986 mbedtls: enable config for keying material export
Introduce MBEDTLS_SSL_KEYING_MATERIAL_EXPORT configuration option to
control support for TLS keying material export.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-12-11 05:49:56 -05:00
Yassine El Aissaoui
cafe285810 modules: hal_nxp: Fix spc module selection on MCXW SoC family
Fix wrong condition for spc selection on MCXW family.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-12-11 05:48:14 -05:00