Commit graph

1956 commits

Author SHA1 Message Date
Declan Snyder
5ae654eeef modules: hal_nxp: Removed unused HAS_MCUX_* configs
Remove the configs that are not actually used for anything anymore or
never were, or that are redundant with other configs, and don't have any
code changes outside of Kconfig to remove.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Declan Snyder
5f742ac862 modules: nxp: imx: Remove HAS_IMX_* configs
Remove all these legacy configs which are not necessary.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Declan Snyder
83420a7139 modules: hal_nxp: Remove CONFIG_HAS_MCUX_FLEXCOMM
The presence of the flexcomm should be driven by DT, not this legacy
kconfig.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Martin Stumpf
7472a7994c lvgl: Add support for AL_88 color
While both LVGL and Zephyr support AL_88 color, the glue to connect them
was still missing. Now AL_88 should be fully supported by Zephyr+LVGL.

Signed-off-by: Martin Stumpf <finomnis@gmail.com>
2025-08-14 22:38:38 -04:00
Mark Wang
6d8ad0836c libsbc: sbc: implement SBC codec
Use the Android Bluetooth SBC encoder and decoder.
The Android Bluetooth SBC is put as external library (libsbc).
sbc.c/sbc.h implement the interface that is compliant with
Zephyr style and can be used by Zephyr's other modules (
like A2DP).

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2025-08-13 10:26:58 -04:00
Michał Stasiak
4abc1dd67c modules: hal_nordic: remove deprecated error code
NRFX_ERROR_ALREADY_INITIALIZED has beed deprecated and
repleaced by NRFX_ERROR_ALREADY.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-08-13 11:09:47 +01:00
Artur Hadasz
9a1fe30199 bootloader: mcuboot: Changes needed to support AES256
This commit adds changes which are necessary to support
the AES256 encryption algorithm in mcuboot.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2025-08-12 12:35:31 +02:00
Quy Tran
56ec47c62d drivers: flash: Add flash driver support for RX with flash type 1
- Add support for flash driver on RX with flash type 1
- Add bindings for flash driver on RX

Signed-off-by: Quy Tran <quy.tran.pz@renesas.com>
2025-08-12 09:54:10 +03:00
Pieter De Gendt
b5883d3a37 modules: lvgl: Provide API mutex (un)locking
Add helper functions that can be used to lock/unlock the LVGL's internal
mutex before calling API funcions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-08-11 12:49:36 +03:00
Pieter De Gendt
af529f4c40 modules: lvgl: include: Generate doxygen for LVGL workqueue getter
When building API documentation, generate the lvgl_get_workqueue brief.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-08-11 12:49:36 +03:00
Daniel Flodin
a4b66f9214 cmake: assembler optimization options
Commit f499ea0 made it so that the compiler optimization flags are also
passed to the assembler. However, this breaks for the IAR toolchain
since it uses the GNU assembler which does not have the same
optimization flags as the IAR compiler.

This commit separates the compiler and assembler optimizations to make
it possible to specify appropriate flags in a toolchains corresponding
`compiler_flags.cmake`

Signed-off-by: Daniel Flodin <daniel.flodin@iar.com>
2025-08-11 12:49:21 +03:00
Jérôme Pouiller
70b507f06d modules: hal_silabs: Unify KConfig options names
Currently, the options related to the Rail library are just prefixed by
RAIL_. We prefer to keep all the options related to Simplicity SDK into the
same namespace.

So, just add the required prefix to these options.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-08-08 10:46:03 -05:00
Felix Wang
a717fac593 drivers: Counter: LPIT Support on Zephyr
1.Add dts bindings nxp,lpit-channel.yaml and nxp,lpit.yaml
2.Provide counter driver based on lpit driver from NXP mcux-sdk-ng

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-08-08 10:44:24 -05:00
Robert Robinson
fa7e02d290 drivers: clock_control: nordic: Enable calibration from LFRC peripheral
For some nordic devices the LFRC peripheral is used to calibrate
the LFCLK clock instead of NRFX_CLOCK peripheral. This commit
adds support for the changes already made in nrfx drivers.

Signed-off-by: Robert Robinson <robert.robinson@nordicsemi.no>
2025-08-07 20:56:19 -04:00
Bastien Beauchamp
c970b2f650 modules: hal_silabs: enable VDAC module in series 2 hal
This enables Silabs Series 2 HAL source files for the Silabs
VDAC module to be compiled when the SOC_SILABS_ACMP
configuration is selected.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-07 20:55:50 -04:00
Johann Fischer
1747bd7f14 samples: openthread: uset new USB device stack in coprocessor sample
Use CDC ACM serial backend from the new USB device stack.
It was surprising to find out that the porting layer does not only use
the UART API. The legacy USB device stack API used in the porting layer
has been deprecated and is causing CI failures.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-08-07 15:46:37 +02:00
S Mohamed Fiaz
bbd9631db6 drivers: gpio: silabs: gpio driver for EFR series 2 devices
Added the gpio driver for EFR series 2 devices.

The SILABS_SISDK_GPIO symbol is added to enable
support for the new GPIO driver.
The SOC_GECKO_GPIO symbol is retained for now to
maintain compatibility with existing drivers and
will be removed in a subsequent commit.

Signed-off-by: S Mohamed Fiaz <fiaz.mohamed@silabs.com>
2025-08-07 08:58:14 -04:00
Krzysztof Chruściński
69714478aa modules: hal_nordic: nrfx: Add GPIOTE config flag
Add NRFX_GPIOTE_VAR_FEATURE_SUPPORT feature flag to nrfx configuration.
It enables support for special GPIOTE0 instance in nrfx_gpiote driver.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-07 13:15:45 +02:00
Krzysztof Chruściński
bbb6d74cca modules: hal_nordic: Bump nrf-regtool to 9.2.0
Bump required version of nrf-regtool to 9.2.0.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-08-07 13:15:45 +02:00
Fabian Blatz
076994f492 modules: lvgl: Fix stdlib usage
LVGL already provides an implementation wrapping a C standard library into
its own lv_* functions. Add them to the CMakeLists and set the appropriate
defines for them.

Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-08-06 17:12:00 +03:00
Jamie McCrae
c15a53fb8e modules: mcuboot: Default to swap using offset
Updates a missed Kconfig with this change

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-08-06 17:11:33 +03:00
Dominik Ermel
46051de5a7 modules: fatfs: Update FAT module version check
Update FFCONF_DEF check to match the new value in the module.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2025-08-06 17:10:28 +03:00
Jisheng Zhang
13bdae0ad0 arch: arm: Add initial support for Cortex-M52 Core
Add initial support for the Cortex-M52 Core which is an implementation
of the Armv8.1-M mainline architecture.

The support is based on the Cortex-M55 support that already exists in
Zephyr.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2025-08-06 12:15:23 +03:00
James Smith
ba86c10145 modules: hal_silabs: Set multiprotocol define based on Kconfig
Set `SL_RAIL_LIB_MULTIPROTOCOL_SUPPORT` to `1` when Rail
Multiprotocol Kconfig is enabled.

This is required to run the Bluetooth multiprotocol initialization
code during `sl_btctrl_init`.

Signed-off-by: James Smith <james@loopj.com>
2025-08-06 12:12:35 +03:00
James Smith
92be5346a8 modules: silabs: Fix broken binary blobs path with Gecko SDK
Bugfix to correct broken binary blobs path when using the Gecko SDK.

Signed-off-by: James Smith <james@loopj.com>
2025-08-06 12:12:35 +03:00
James Smith
364274b32c modules: silabs: Link against RAIL Multiprotocol blobs when enabled
Enables RAIL Multiprotocol support by linking against the multiprotocol
RAIL library blob when `CONFIG_SILABS_GECKO_RAIL_MULTIPROTOCOL` or
`CONFIG_SILABS_SISDK_RAIL_MULTIPROTOCOL` are enabled.

Signed-off-by: James Smith <james@loopj.com>
2025-08-06 12:12:35 +03:00
James Smith
d6c12f9193 soc: silabs: Add Kconfig options to enable RAIL Multiprotocol support
Adds Kconfig options to enable RAIL Multiprotocol support

Signed-off-by: James Smith <james@loopj.com>
2025-08-06 12:12:35 +03:00
Fabio Baltieri
56a446b4ee modules: cmsis, cmsis_6: only add the intended cmsis module
The current code base is meant to use cmsis for Cortex A and R and
cmsis_6 for Cortex M, but the build system is configured to include the
path for both when Cortex M is selected. This leaves us exposed to PR
using the old headers, that would not get caught in CI but would fail
the build on a project using Cortex M that only has the cmsis_6 module.

Change the cmsis module setting to only include the module files in the
intended case.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-08-05 11:54:18 +01:00
Daniel DeGrasse
879d4ce7f3 modules: mcuboot: add Kconfigs for RAMLOAD_WITH_REVERT mode
Add Kconfigs for RAMLOAD_WITH_REVERT mode in MCUBoot. This mode works in
a manner similar to DIRECT_XIP_WITH_REVERT- namely, mcuboot will only
boot an image that is either confirmed or marked as pending. If both
images are confirmed, mcuboot will still select the one with the higher
version, so downgrading is not possible using this mode.

Signed-off-by: Daniel DeGrasse <ddegrasse@tenstorrent.com>
2025-08-05 11:53:58 +01:00
Sebastian Głąb
ee89450165 boards: nordic: nrf54l09pdk: Remove obsolete board
Board nrf54l09pdk was renamed to nrf54lv10dk.
Remove obsolete board definition.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-08-05 10:24:48 +01:00
Sreeram Tatapudi
b3e165e455 boards: infineon: psc3m5_evk: Adding folder structure for PSC3M5_EVK
* Adding folder structure and first pass config for PCS3M5_EVK
    * Adding dtsi, kconfig, and other files for KIT_PSC3M5_EVK
      evaluation board.

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-08-04 19:57:57 +01:00
Vit Stanicek
f8d55770d4 dt: mimxrt798s/cm33_cpu0: Instantiate MU4
Instantiate the MU4 peripheral in SoC's DT. Enable it in board's DT.
Switch variant of the fsl_mu driver included.

The MU4 peripheral is used for IPC with the mimxrt798s/hifi4 domain.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-08-04 19:57:10 +01:00
Bas van Loon
7cc2610c92 net: openthread: Add option to enable radio coexistence module.
This patch adds the option to enable the coexistence module when needed.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-08-04 19:55:17 +01:00
Bas van Loon
27a32b3b2e net: openthread: Add option to set RCP restoration count.
This patch allows to set the RCP restoration count when necessary.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-08-04 19:55:08 +01:00
Bas van Loon
2cf4ba4d39 net: openthread: Fix build when OPENTHREAD_DIAG is enabled.
Build fails when openthread diag module is enabled and HDLC/RCP is
enabled. The diag.c module should not be built when radio-spinel is
used as it has it's own diag code.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-08-04 19:54:34 +01:00
Bas van Loon
6be63a1d33 net: openthread: Constify HDLC rx callback data pointer.
Received data should not be modified by upper layers so constify the
pointer to make that clear.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-08-04 19:54:34 +01:00
Bas van Loon
2769cb9e10 net: openthread: Use proper macro to calculate timeout.
Use K_USEC() to convert the timeout value in microseconds to a value in
ticks dropping the manual conversion from microseconds to milliseconds.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-08-04 19:54:34 +01:00
Bas van Loon
b6f2923d95 net: openthread: Initialize work queue properly.
According to the work queue API a queue object should be initialized
using the k_work_queue_init() call. This patch adds this missing call.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-08-04 19:54:34 +01:00
Camille BAUD
bdffc08279 bflb: Make BL60x independant from SDK
Reorganize and update soc folder files for SDK-independance
Reorganize and update hal_bouffalolab files for SDK-independance
Reorganize and update soc dts files for SDK-independance
Update serial and pinctrl driver files for SDK-independance
Update ai_wb2_12f, bl604e_iot_dvk, and dt_bl10_dvk
to new bl60x support
and fixup openocd config of ai_wb2_12f

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-01 07:57:36 -04:00
Chaitanya Tata
e17fe78a70 modules: nrf_wifi: Add generic read/write APIs
These can be used read/write any address.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-08-01 07:47:59 -04:00
Jiafei Pan
e99b480189 modules: hal_nxp: move armv8-a cache driver to mcux-sdk-ng
Moved armv8-a cache driver from mcux-sdk to mcux-sdk-ng.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-07-31 17:13:21 -04:00
Adrian Bieri
c14b7e3e89 drivers: xbarb: include xbarb driver when config is set
CONFIG_MCUX_XBARB includes CONFIG_MCUX_COMPONENT_driver.xbarb now

Signed-off-by: Adrian Bieri <adrian.bieri@loepfe.com>
2025-07-31 17:12:22 -04:00
Vit Stanicek
e679ef486a hal_nxp: Factorise inclusion of fsl_inputmux
Create Kconfig variable NXP_INPUTMUX, which selects the fsl_inputmux
driver. Imply the MCUX component symbol from it. Imply that variable
from the NXP PINT, SmartDMA and LPC DMA drivers and from the mimxrt685s
SoC.

This needed to be done for the mimxrt700_evk/mimxrt798s/hifi4 domain, as
the INPUTMUX peripheral handles IRQ assginments and its driver
(fsl_inputmux) is used directly by the domain's soc.c. Instantiating the
currently dependent drivers (for PINT and SmartDMA) isn's possible nor
reasonable on the said target.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-07-31 17:11:54 -04:00
Michal Kozikowski
6c72cd3e65 cmake: mcuboot: SHA512/pure image signing
Update signing script to use proper arguments for imgtool when SHA512
or pure signature is needed.

Signed-off-by: Michal Kozikowski <michal.kozikowski@nordicsemi.no>
2025-07-31 07:34:40 -04:00
Hui Bai
1198d78898 hostap: Update 11k roaming mechanism
With this changes, device will check if AP support Neighbor Report or
not before trigger roaming. No need to issue 11k command to enable 11k,
if AP supports Neighbor Report, device will trigger 11k roaming with
priority.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2025-07-31 10:53:19 +01:00
Chun-Chieh Li
426c3d1935 drivers: misc: ethos_u: support nuvoton numaker m55m1x
This adds frontend of arm ethos-u core driver for nuvoton numaker m55m1x.
Special notes include:
1. Leaving application overriding dcache flush/invalidate weak functions
   for cacheable NPU buffer
2. Configuring macs_per_cc to 256 in arm ethos-u core driver to match
   m55m1x ethos-u RTL config

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-07-30 17:37:27 -04:00
Magpie Embedded
dec8a04508 modules: hal: infineon: Add Kconfig option for pullups in Wifi Host Driver
This option allows board configurations to specify how to set the SDIO
pull ups when the SPI bus goes to sleep, using the Infineon WHD.
This is a board specific value.

Signed-off-by: Magpie Embedded <magpieembedded@gmail.com>
2025-07-30 17:36:05 -04:00
Pieter De Gendt
57baf7cf72 modules: nrf_wifi: Allow using a regulator for IOVDD
Optionally have a regulator as IOVDD power supply.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-07-30 07:27:43 -04:00
Chaitanya Tata
5ff2028203 modules: nrf_wifi: Fix bustest QSPI crash
Commit 5e25283821a("drivers: wifi: Create dedicated mem pool for Wi-Fi
driver") introduced OSAL dependecy in the Zephyr QSPI driver for HL
read, but in bustest we don't enable nrf_wifi OS module, so, it crashes
here. And we should not be using OSAL APIs in Zephyr code anyway.

And in this case we don't even need to use the heap, so, move the rx
buffer to stack.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-29 11:23:51 -04:00
Pieter De Gendt
96eee3bc5e modules: lvgl: Add a name to the work queue thread
Make it easier to debug/diagnose issues by explicitly naming the LVGL
thread.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-07-29 11:27:38 +01:00