Commit graph zephyr/modules
Author SHA1 Message Date
Yongxu Wang
c79d8f3347 modules: hal_nxp: set sentinel device driver state as on
Some SoCs such as iMX8ULP and iMX93 use sentinel controller
for secure system management, this change ensures the device
driver is available by default.

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-08-22 06:52:33 +02:00
Rafal Dyla
8876a3bbd2 modules: hal_nordic: nrfs: Disabling subscription
- Code optimization for platforms which don't use subscription feature
in the temperature service.
- Test adaptation to code changes

Signed-off-by: Rafal Dyla <rafal.dyla@nordicsemi.no>
2025-08-21 11:08:09 +02:00
Cristian Bulacu
89cb309603 net: openthread: Add new kconfig OT options.
Added:
	`OPENTHREAD_CONFIG_BORDER_AGENT_MESHCOP_SERVICE_ENABLE`
	`OPENTHREAD_CONFIG_BORDER_ROUTING_DHCP6_PD_CLIENT_ENABLE`
	`OPENTHREAD_CONFIG_CHANNEL_MONITOR_AUTO_START_ENABLE`
	`OPENTHREAD_CONFIG_SRP_SERVER_FAST_START_MODE_ENABLE`
	`OPENTHREAD_CONFIG_TREL_MANAGE_DNSSD_ENABLE`

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-08-20 15:36:47 +01:00
Cristian Bulacu
250745e198 modules: openthread: Fix compile warnings introduced by OT stack upmerge
Changes done to accomodate -Wundef introduced flag when compiling OT
2918437bb8

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-08-20 15:36:47 +01:00
Jamie McCrae
db8f991c77 kconfig: Use $(...) instead of ${...} for getting variables
Updates this to comply with the Zephyr Kconfig recommendations

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-08-20 12:05:41 +02:00
Lucien Zhao
7fbebea81d boards: mimxrt700_evk: add hwinfo reset_cause support on cm33_cpu0
1. enable hwinfo support
- get_reset_cause
- get_supported_reset_cause
- clear_reset_cause
2. verified tests/drivers/hwinfo

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2025-08-19 18:00:53 +02:00
Sri Surya
358c113a96 soc: ambiq: apollo2: Add support for Apollo2 SoC
Added SoC series for the Ambiq Apollo2 SoC.

Signed-off-by: Sri Surya <srisurya@linumiz.com>
2025-08-19 18:00:41 +02:00
Minh Tang
3f13f25752 drivers: adc: Initial support for ADC driver on RX130
Add driver code and devicetree for 12-bit ADC on
RX130 MCU

Signed-off-by: Minh Tang <minh.tang.ue@bp.renesas.com>
2025-08-19 14:15:41 +02:00
Keith Packard
8d95c2c2ba modules/cmsis-dsp: Don't use Zephyr stdint.h
Zephyr replaces the toolchain version of stdint.h to define uint32_t and
int32_t as int rather than long. This breaks the ARM MVE intrinics which
require uint32_t to be defined as unsigned long.

Define 'ZEPHYR_USE_TOOLCHAIN_STDINT_H_' as that causes zephyr_stdint.h to
be skipped, ensuring that the normal stdint.h types are used instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
2025-08-18 22:01:08 +02:00
Zhaoxiang Jin
f130db64df modules: hal_nxp: Add core_id for RT685 HIFI4 core
1. Add core_id for RT685 HIFI4 core, this variable is
used in MCUX SDK cmake.
2. Set cmake variables 'CONFIG_MCUX_COMPONENT_driver.smartdma_mcxn'
and 'CONFIG_MCUX_COMPONENT_driver.smartdma_rt500' to "ON" as these
variables control the loading of source files in the latest driver
CMakeList.txt.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-08-18 22:00:19 +02:00
Zhaoxiang Jin
ab4531589a modules: nxp: Add more MCUX SDK NG cmake variables
These variables are used to make MCUX SDK NG cmake
can find the right cmake files.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-08-18 22:00:19 +02:00
Damian Krolik
ea7c4ff536 modules: openthread: configure router selection jitter
Add CONFIG_OPENTHREAD_ROUTER_SELECTION_JITTER_OVERRIDE
Kconfig option that enables setting the router selection
jitter to CONFIG_OPENTHREAD_ROUTER_SELECTION_JITTER at
startup.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
2025-08-18 16:00:26 +02:00
Biwen Li
0e830e84ec boards: nxp: imx943_evk: m33: add i2c support
Add i2c support for m33(in NETCMIX) of imx943_evk

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-08-16 10:19:31 +02:00
Hieu Nguyen
8e40b8a057 drivers: pwm: Add PWM support for Renesas RZ/A3UL
Add PWM driver support for Renesas RZ/A3UL

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00
Declan Snyder
b70e761d42 modules: hal_nxp: Remove HAS_MCUX_FLEXSPI/SEMC
Remove these legacy kconfig, not necessary.

The DT already has the bindings and nodes required to represent if there
is a FlexSPI and/or SEMC.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Declan Snyder
5e3a432fed adc: Remove CONFIG_ADC_MCUX_ETC
This Kconfig does not belong in the ADC folder, because there is not
actually a zephyr ADC driver for this. Also, remove HAS_MCUX_ADC_ETC as
well because it is a useless config.

The cmake line to pull in this driver from the SDK in the zephyr repo is
totally unnecessary. If a user wants to use this SDK driver they can add
it to their build like any other SDK driver or any other
external code module. Zephyr should not be a cesspool of random build
glue for random pieces of code.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Declan Snyder
6b7a6d6a34 soc: k2x: Remove HAS_MCUX_SMC
Only the k2x series socs seem to be pulling in this driver for some
reason, the kconfig is not needed.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Declan Snyder
e8c6275949 soc: imxrt: Remove HAS_MCUX_ DCDC, GPC, PMU
Remove these kconfigs and substitute with equivalent series configs.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
Declan Snyder
7ff0038921 modules: Remove HAS_MCUX_TPM
The only code change to remove this was a redundant usage in the rt1180
soc.c which was not needed because it was redundant, if you catch my
drift.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-15 10:10:32 +03:00
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