Commit graph

136,983 commits

Author SHA1 Message Date
Peter Mitsis
a9ec7e62d0 tests: app_kernel: create custom syscall
Adds a custom system call to the app_kernel benchmark that is a
wrapper for timing_cyclces_to_ns_avg() as some implementations
attempt to access addresses that can not be accessed from userspace.

Fixes #103974

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2026-03-24 17:11:23 -04:00
Henrik Brix Andersen
b6164ed8f3 scripts: requirements: actions: refresh pinned versions
Run the uv command to update the pinned version in
requirements-actions.txt.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-24 15:44:43 -05:00
Cristian Bulacu
9f7f7d2d4b net: socket_service: include log.h header file
Adding log.h header file so net_socket_service_desc structure can be
correctly defined, as it has a conditionally compiled field.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2026-03-24 15:44:01 -05:00
Svitlana Drozd
783e1e3c4f devicetree: remove trailing comma in DT_FOREACH_REG example
The previous code example for DT_FOREACH_REG added an extra comma after
the macro, resulting in two trailing commas after macro expansion.
This causes a build error: "expected expression before ',' token".

Removed the trailing comma from the example array definitions to ensure
the macro expands correctly and prevent build failures.

Signed-off-by: Svitlana Drozd <svitlana_drozd@epam.com>
2026-03-24 15:43:40 -05:00
Francois Ramu
b97c12ec36 west.yml: update the hal_stm32 module
Update Zephyr module of hal_stm32 to
   4ceafbebc77571f540d2ff9957468a1bfedb41d5

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2026-03-24 15:43:21 -05:00
William Markezana
4534ef11cd boards: bflb: add Bouffalo Lab BL706-IoT-DVK board
Add board definition for the BL706-IoT-DVK, Bouffalo Lab's official
development kit based on the BL706_MOD module (BL706C00Q2I, QFN48).
DTS is split into a reusable bl706_mod.dtsi for module-level hardware
(SoC, external 4MB flash, GPIO, TRNG, BLE) and a board-specific DTS
for the carrier (LEDs, USB-C, UART/SPI/I2C headers, debug backplane).

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-24 15:43:08 -05:00
William Markezana
675c8ceb6a soc: bflb: bl70x: add BL706C00Q2I SoC variant
Add Kconfig and soc.yml entries for the BL706C00Q2I, which is the
base BL706 in QFN48 package without internal flash or PSRAM.

Signed-off-by: William Markezana <william.markezana@gmail.com>
2026-03-24 15:43:08 -05:00
Andrei Menzopol
f831a4ee7a drivers: ieee802154: mcxw: return EALREADY in start/stop functions
Start/stop functions should return -EALREADY is the setup is already set.
If start/stop functions are called multiple times they trigger an assert.

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2026-03-24 15:42:41 -05:00
Andrei Menzopol
70000f3ec9 hal_nxp: update mcxw7x blobs 26.03.00-pvw2
Update the MCXW7x NBU DYN and libs blobs for 26.03.00-pvw2

Signed-off-by: Andrei Menzopol <andrei.menzopol@nxp.com>
2026-03-24 15:42:02 -05:00
Marc Herbert
5f72da32dd ci: run west_cmds tests when Python dependencies change
Add 'scripts/requirements*' to west_cmds.yml.

This would have caught regressions like commit b990e62c93
("build(deps): bump pyasn1 from 0.6.2 to 0.6.3 in /scripts") fixed by
commit 3bcf145bac ("scripts: requirements: Generate actions
dependencies")

Signed-off-by: Marc Herbert <Marc.Herbert@gmail.com>
2026-03-24 15:41:28 -05:00
Benjamin Cabé
102893fd74 include: dt-bindings: clock: focaltech: Doxygen clean-up
Documenting all the symbols isn't really useful so document the naming
scheme instead. Also, make sure the Doxygen group does not pollute the
top-level page of the Doxygen docs :)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-24 15:41:10 -05:00
Lauren Murphy
77a5e6cb94 llext: place heap sections for intel_adsp/ace/*
Place heap custom sections for intel_adsp/ace/*.

Fixes #105858

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-03-24 15:40:38 -05:00
Lauren Murphy
e43d5b72c2 llext: doc: clarify heap custom section placement
Adds language explaining why the LLEXT heap section may not
be placed for the user's board or architecture, and how they
can fix that.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-03-24 15:40:38 -05:00
Lauren Murphy
24b5de4d07 llext: place heap sections for imx8mp_evk/mimx8ml8/adsp
Place heap custom sections for imx8mp_evk/mimx8ml8/adsp.

Fixes #105853

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2026-03-24 15:40:38 -05:00
Hake Huang
94c34fdfab samples: boards: nxp: enable power shield on mimxrt595_evk
enable power shield testing on mimxrt595_evk

```
scripts/twister --device-testing --device-serial /dev/ttyACM0
-T samples/boards/nxp/mimxrt595_evk/system_off
-X pm_probe:/dev/ttyACM1,115200
```

an power_shield folder will be created in the build path
whith measured voltage/current/power

Signed-off-by: Hake Huang <hake.huang@nxp.com>
2026-03-24 15:40:08 -05:00
Ederson de Souza
558e48532e tests/kernel/timer_behaviour: Get build dir via device_object fixture
It seems "request" fixture lost access to "build_dir" property. Use from
"device_object" fixture instead.

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2026-03-24 15:39:45 -05:00
Michal Princ
aa4a44fe91 samples: drivers: Enabled hwspinlock sample for NXP frdm_imxrt1186 board
enabled hwspinlock sample for NXP mimxrt1180_evk board
reduce integration_platforms list
add test harness

Signed-off-by: Michal Princ <michal.princ@nxp.com>
2026-03-24 15:39:06 -05:00
Michal Princ
0171e116ec boards: nxp: enable sema42 device node for rt1186 boards.
enabled sema42 device node for frdm_imxrt1186 board.

Signed-off-by: Michal Princ <michal.princ@nxp.com>
2026-03-24 15:39:06 -05:00
Marek Matej
ba54150a2c boards: espressif: netif tag to all Espressif boards
Add appropriate netif tag to all Espressif boards.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-03-24 15:38:38 -05:00
Marek Matej
94161f7233 soc: espressif: fix iterable sections include order
Fix the cases where iterable sections in RAM are used.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-03-24 15:38:38 -05:00
Yves Wang
7d29a090be drivers: watchdog: wwdt: use clock control API for clock management
Update the MCUX WWDT driver to partially use the Zephyr clock control API
instead of direct HAL clock APIs for clock on and get rate.

Keep using HAL clock APIs for set clock divider because the set rate API
accepts clock frequency and it may cause two external calls to get WWDT
frequency.

Support multiple instances.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-24 15:38:06 -05:00
Yves Wang
5f7e6becc9 dts: nxp: Add clock properties to WWDT nodes
Add clock controller references to WWDT device tree nodes across
multiple NXP SoC families. This enables proper clock management
for WWDT peripherals now that the MCUX SYSCON driver supports
WWDT clock control.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-24 15:38:06 -05:00
Yves Wang
afbca7aade drivers: clock_control: mcux_syscon: partial support WWDT clock control
Add clock control support for MCUX WWDT instances (wwdt0 and wwdt1)
in the MCUX SYSCON clock control driver. This enables proper clock
gating and frequency retrieval for WWDT peripherals across multiple
NXP SoC families.

The patch add support for turn on WWDT clock and get it's rate.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-24 15:38:06 -05:00
Yves Wang
8451ce6704 drivers: watchdog: imx_wdog: support multiple instances
Update the MCUX i.MX WDOG driver to support multiple device instances
instead of being hardcoded to instance 0.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-24 15:38:06 -05:00
Yves Wang
57f867c671 drivers: watchdog: wdog32: support multiple instances
Update the MCUX WDOG32 driver to support multiple device instances
instead of being hardcoded to instance 0.

Signed-off-by: Yves Wang <zhengjia.wang@nxp.com>
2026-03-24 15:38:06 -05:00
Tom Hughes
a33487851a include: logging: Re-enable warning
All of the native_sim tests seem to pass when this is removed, so it
doesn't seem to be needed anymore.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
2026-03-24 15:37:33 -05:00
Benjamin Lemouzy
adc0a69570 boards: seeed: add reterminal_e1002 board
Add reTerminal E1002 board.

Implemented features:
- buttons
- buzzer
- i2c
- LED
- RTC
- serial
- temperature sensor
- watchdog
- bluetooth (not tested)
- USB (not tested)
- WiFi (not tested)

Not yet implemented:
- battery management
- display
- microphone
- SD card

Signed-off-by: Benjamin Lemouzy <blemouzy.ml@gmail.com>
2026-03-24 15:37:00 -05:00
Krystian Balicki
92514c2c18 drivers: video: add arducam camera driver
The Arducam mega is a low power, rolling shutter camera, supports
connecting one or more cameras to any microcontroller. It provides
high-quality image capture and processing capabilities, making it
highly suitable for various application fields, including machine
vision, image recognition, and robotics, among others. In current
implementation connecting multiple instances of the same camera
system is problematic.

Co-authored-by: Lee Jackson <lee.jackson@arducam.com>
Signed-off-by: Krystian Balicki <kristos_b@wp.pl>
2026-03-24 15:36:22 -05:00
Krystian Balicki
f75faf1b13 drivers: video: arducam vendor name
Added arducam company name to vendor name list.

Signed-off-by: Krystian Balicki <kristos_b@wp.pl>
2026-03-24 15:36:22 -05:00
Krystian Balicki
143371374b drivers: video: exposure compensation control
Added automatic exposure compensation control under base camera class.

Signed-off-by: Krystian Balicki <kristos_b@wp.pl>
2026-03-24 15:36:22 -05:00
Lucien Zhao
c92e985aa9 MAINTAINERS: add lucien-nxp as pinctrl collaborator
add lucien-nxp as pinctrl collaborator

Signed-off-by: Lucien Zhao <lucien.zhao@nxp.com>
2026-03-24 10:52:58 -05:00
Vincent Tardy
9439366997 soc: stm32: fix issue about k_work_q used by soc and flash driver
In driver file flash_stm32wba_fm.c, rename ble_ctrl_work_q
to ble_ctle_work_q and make ble_ctle_work_q non-static
in SoC code

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
2026-03-24 10:52:29 -05:00
Guillaume Gautier
ebcd6e8469 tests: drivers: watchdog: basic_api: add nucleo_c5a3zg to the testcase.yml
Add the Nucleo-C5A3ZG to the testcase.yml file so that the IWDG and WWDG
are can be tested daily.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Guillaume Gautier
108955de44 boards: st: nucleo_c5a3zg: enable iwdg watchdog
Enables IWDG watchdog for Nucleo-C5A3ZG.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Guillaume Gautier
78a6d905ed dts: arm: st: c5: add iwdg and wwdg watchdog nodes
Add IWDG and WWDG watchdog nodes to STM32C5 device tree.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Guillaume Gautier
fa317fbfab drivers: watchdog: stm32: add wwdg support for stm32c5
Add WWDG support for STM32C5. Replace the IS_WWDG_COUNTER macro (that
doesn't exist in the STM32C5 LL) by the IN_RANGE macro.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Guillaume Gautier
e5cdc0030b drivers: watchdog: stm32_iwdg: add support for stm32c5
Add the *_FreezePeriph function for STM32C5. While at it, fix the driver
for C0/F0/G0/L0 by calling the *_FreezePeriph function once the DBGMCU
clock is enabled (a #endif was missing). It is done the same
way for WWDG driver.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Guillaume Gautier
b963ba69ab drivers: watchdog: stm32: remove old macros
Some macros used in the IWDG driver are no longer present in HAL2. Replace
them by doing the same operation directly.
Also make some clean up/cosmetic changes.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-03-24 10:51:54 -05:00
Mohit Talwar
43047d7c93 soc: nordic: guard RTC base address checks with ifdef
NRF_RTC and its numbered variants (NRF_RTC0, NRF_RTC1, NRF_RTC2,
NRF_RTC130, NRF_RTC131) are not defined on RTC-less SoCs such as
the nRF54L and nRF54H series. Wrapping the CHECK_DT_REG calls in
#ifdef guards prevents a build error when a devicetree node (e.g.
an external I2C RTC) happens to use one of these node labels.

Fixes #101686

Signed-off-by: Mohit Talwar <talwarmohit2005@gmail.com>
2026-03-24 10:51:29 -05:00
Benjamin Cabé
26ee6532b4 include: drivers: crc: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
CRC driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-24 10:50:59 -05:00
Benjamin Cabé
dc2a48b81e drivers: entropy: update error return code for unsupported operation
Changed the error return code in the entropy driver from -ENOTSUP to
-ENOSYS as it is what Zephyr driver subsystems are expected to be doing.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-24 10:50:31 -05:00
Benjamin Cabé
9d93c64e1c include: drivers: entropy: document driver operations using Doxygen
Use doxygen driver_ops commands to properly document the required/optional
entropy driver operations

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-03-24 10:50:31 -05:00
Fin Maaß
4e2bbc1a36 doc: migration_guide: ethernet: add info about changing the mac
add info about calling net_if_set_link_addr() when
ETHERNET_CONFIG_TYPE_MAC_ADDRESS in ethernet
drivers.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-24 10:49:59 -05:00
Fin Maaß
ff422cd6c8 drivers: ethernet: wifi: remove now redundant net_if_set_link_addr()
As net_if_set_link_addr() is now already done by the
overlaying net_mgmt, we no longer need to do it
in the drivers

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-24 10:49:59 -05:00
Fin Maaß
7b7a87c8c4 net: ethernet: do net_if_set_link_addr() in net_mgmt
do net_if_set_link_addr() for
NET_REQUEST_ETHERNET_SET_MAC_ADDRESS
in ethernet_set_config(), that way drivers don't have
to do it themself.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-24 10:49:59 -05:00
Sven Ginka
927597aa6d drivers: i2c: update sy1xx driver for improved read/write support
Refactor read and write functions to handle large transfers with chunking.
Adjust the buffer size to the default 128 bytes. Simplify start/stop
condition logic.

Signed-off-by: Sven Ginka <s.ginka@sensry.de>
2026-03-24 10:49:07 -05:00
Markus Becker
1ac99e8ae0 net: ocpp: fix statically allocated string variables are free'd
Writable string entries in ocpp_cfg_info are free'd if non NULL in
ocpp_set_cfg_val(). Thus they should not be statically allocated.
Initialise with NULL instead.

CFG_SUPPORTED_FEATURE_PROFILE is not writable and should be fine.

Signed-off-by: Markus Becker <markushx@gmail.com>
2026-03-24 10:48:00 -05:00
Markus Becker
b49498507a net: ocpp: Properly copy ocpp_cp_info from cpi to cp
BootNotification did not transport Serial Number and other information,
because the NULL check is wrong.

Signed-off-by: Markus Becker <markushx@gmail.com>
2026-03-24 10:48:00 -05:00
Markus Becker
55cda2a2e7 samples: ocpp: Provide optional OCPP parameters in init
Provide optional OCPP parameters (e.g. serial number & firmware version)
in init so that they are sent to the OCPP server.

Signed-off-by: Markus Becker <markushx@gmail.com>
2026-03-24 10:48:00 -05:00
Laurentiu Mihalcea
1477ea946d doc: releases: add v4.4 release notes for firmware subsystem
Add some v4.4 release notes for the firmware subsystem.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
2026-03-24 09:08:03 -04:00