Commit graph

2,588 commits

Author SHA1 Message Date
Tomasz Chyrowicz
7c1a74f867 modules: Add VID and CID Kconfigs
Add a possibility to specify VID and CID for each MCUboot image and pass
it to the imgtool.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2025-09-04 11:28:14 +02:00
Declan Snyder
10e379c7fb soc: mcx: Add mcx cmc hwinfo binding
Add a stupid binding for doc purposes. Terrible coupling when we have to
configure DT in order to generate documentation properly. At least we
get rid of one of the stupid HAS_MCUX_ kconfigs in the process.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-04 08:11:43 +02:00
Felix Wang
193e9170bb drivers: Counter: FTM Support on Zephyr
1.Update dts bindings to move clock-source properties from
nxp,ftm-pwm.yaml to nxp,ftm.yaml.
2.Provide counter driver based on FTM driver from NXP mcux-sdk-ng

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-09-04 08:10:20 +02:00
Benjamin Cabé
0132ea07fb doc: fix spelling errors tree-wide
fix some spelling errors in code comments and Kconfig helps

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Jordan Yates
26438a5563 manifest: add lora-basics-modem module
Import the lora-basics-modem module as an alternate backend for LoRa
and LoRaWAN, since loramac-node has been deprecated.

Support is currently limited and experimental.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-09-02 18:41:44 +02:00
Jordan Yates
01c97e205d lora: shift drivers to dedicated loramac-node folder
Move the current implementation of the LoRa API using `loramac-node` to
a dedicated folder in preparation for the LoRa basics modem
implementation.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-09-02 18:41:44 +02:00
Keith Packard
3ed633b69b modules/hal_rpi_pico: Switch boot_stage2 to picolibc
Now that rpi_pico can use picolibc, let's switch to it.

Signed-off-by: Keith Packard <keithp@keithp.com>
2025-08-29 19:19:08 -04:00
Łukasz Duda
6c75315c86 openthread: Use OPENTHREAD instead of L2_OPENTHREAD in dependencies
Update Kconfig dependencies in mbedTLS and logging backend to use
OPENTHREAD instead of NET_L2_OPENTHREAD.

Signed-off-by: Łukasz Duda <lukasz.duda@nordicsemi.no>
2025-08-28 19:57:41 +02:00
Aiden Hu
2dd8570eec modules: hal_nxp: mcux: update macros for usb host EHCI
Change the default value for QH/QTD/ITD/SITD
of usb host ehci.

Signed-off-by: Aiden Hu <weiwei.hu@nxp.com>
2025-08-27 16:35:52 +02:00
Qiang Zhang
79e4b31d8f hal_nxp: Add KPP driver support.
Add KPP driver support.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2025-08-27 09:47:10 +02:00
Gang Li
009114a607 modules: hostap: flush all unused BSS entries before 11V roaming
For 11V roaming, it attempts to use previously received scan results,
if they are recent enough to be used for connection.
If wifi driver does not keep the previous scan results, it will failed
to find the bss entry.
Fix: flush all unused BSS entries, for 11V roaming, don't try to use
recent scan results.

Signed-off-by: Gang Li <gang.li_1@nxp.com>
2025-08-26 08:35:08 +02:00
Marek Porwisz
c846939548 net: openthread: Fix exiting diag when transmission is ongoing
Crash was observed if "diag stop" was invoked during the transmission.
The issue was caused by an update to otPlatRadioSleep that made it
compilant with the documentation and not allowing direct Transmit to
Sleep transition.
The transmission result was forwarded to OpenThread making it crash due
to an invalid state.

Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>
2025-08-22 14:50:24 +02:00
Yongxu Wang
341ee11749 modules: hal_nxp: add trdc_1 driver component
Added CONFIG_TRDC_MCUX_TRDC_1 to involve mcux trdc_1 driver

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-08-22 06:52:33 +02:00
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