Commit Graph

119610 Commits

Author SHA1 Message Date
Vinayak Kariappa Chettimada
e1541cc712 Bluetooth: Controller: Fix ULL Tx Ack index corruption under race
Fix ULL Tx Ack FIFO's first index being advanced beyond a
recorded ack_last value in a node_rx when under race.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-07-28 08:45:33 -04:00
Maochen Wang
eeabf28d02 drivers: wifi: nxp: IW610 aligns with RW612's config
Keep IW610 kconfig same as RW612, as it has similar Wi-Fi FW.
Remove NXP_WIFI_CAU_TEMPERATURE as it's not used.
NXP_WIFI_MEM_ACCESS, NXP_WIFI_REG_ACCESS and NXP_WIFI_OWE should not be
enabled by default.

Signed-off-by: Maochen Wang <maochen.wang@nxp.com>
2025-07-28 08:45:21 -04:00
Kavita Sharma
006302dc99 drivers: wifi: nxp: add calibration config for IW61x
Added the below config to overide default calibration data and
select 2Ant Isolation.
NXP_OVERRIDE_CALIBRATION_DATA
WLAN_CALDATA_2ANT_HI_ISO
WLAN_CALDATA_2ANT_LO_ISO

Signed-off-by: Kavita Sharma <kavita.sharma_1@nxp.com>
2025-07-28 08:45:21 -04:00
Arthur Gay
321ccb8889 led_strip: ws2812_spi: place buffer in __nocache for DMA
When using DMA for SPI communication, the WS2812 SPI buffer should be
placed in the __nocache section to ensure it resides in uncached memory,
which is typically required for DMA operations.

Signed-off-by: Arthur Gay <arthur.gay@marshmallow.kids>
2025-07-28 08:45:04 -04:00
Robert Lubos
dcbd1ed5fc tests: net: socket: tcp: Add test for keepalive connection upkeep
Add test verifying that if keep-alive messages are exchanged, the
connection remains alive.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-07-28 08:44:41 -04:00
Robert Lubos
d93c5d6072 net: tcp: Fix handling of keep-alive probes
Keep-alive probes have seq number set to SND.NXT - 1 and may or may not
contain an octet of data. The latter case was not handled properly
therefore add a special case when validating seq number to response to
keep-alive probes.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-07-28 08:44:41 -04:00
Mohamed Moawad
e717d20b0b tests: lib: uuid: add heap arena for MINIMAL_LIBC compatibility
The UUID library utilities require dynamic memory allocation for certain
operations, but MINIMAL_LIBC provides no malloc heap by default. This
causes test failures when UUID functions attempt to allocate memory.

Add CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=256 to provide a minimal heap
arena sufficient for UUID operations which typically
require small heap allocations.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2025-07-28 08:40:20 -04:00
Fengming Ye
6e079f3ed6 net: wifi: fix 11k cannot be set before connection
Support the case that 11k parameter can be set before wifi connection.
This field should not be cleared by connection.
Neighbor report will be cleared before start_roaming.
So wifi_connect don't need to clear 11k params.

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2025-07-28 08:39:39 -04:00
Fengming Ye
a14c78a0da modules: hostap: fix wifi roaming aborted in few cases
Add guard of supplicant state condition.
Not send neighbor request in auth procedures.
Add process for null pointer params.

Signed-off-by: Fengming Ye <frank.ye@nxp.com>
2025-07-28 08:39:39 -04:00
Bartosz Miller
b78be6baba tests: drivers: flash: Add MSPI flash test in single I/O mode
Test external MSPI flash in single I/O mode

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-07-28 08:38:58 -04:00
Peter van der Perk
0f6e5e3f26 drivers: ethernet: eth_nxp_enet_qos: init phy callback in iface init
Initially phy_link_callback_set got called before iface init got set.
Moving to iface_init, fixes an issue that mac would set interface to up
even though it was down because startup phy down callback didn't got
through.

Signed-off-by: Peter van der Perk <peter.vanderperk@nxp.com>
2025-07-28 08:38:47 -04:00
Erwan Gouriou
66e7d2c348 board: stm32n6570_dk: Document dedicated ISP module availability
Document the availability of the ISP module which was made public
recently.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-07-28 08:38:01 -04:00
Vytautas Virvičius
4bd85fe6c4 samples: net: zperf: add cellular modem support
This commit adds a cellular modem overlay to the zperf sample, enabling
the use of zperf with a cellular modem.

Signed-off-by: Vytautas Virvičius <vytautas@virvicius.dev>
2025-07-28 08:36:57 -04:00
Marcin Szymczyk
3775b6a751 MAINTAINERS: update hal_nordic maintainers and contributors
Add missing maintainers and contributirs to `hal_nordic` area.

Signed-off-by: Marcin Szymczyk <marcin.szymczyk@nordicsemi.no>
2025-07-28 08:35:57 -04:00
Alberto Escolar Piedras
6d8ad26868 soc/Kconfig: Move SOC_COMPATIBLE_NRF* options to soc/nordic/Kconfig
Since the change to HWmv2 we do not need to have this options in the
top level anymore. Let's move them into the top level Nordic SOC
Kconfig file.
(Note they moving into into each individual soc Kconfig would
add a dependency on SOC_FAMILY_NORDIC_NRF which is not set for
bsim targets)

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-28 08:35:13 -04:00
Alberto Escolar Piedras
13c8a51227 soc/nordic/nrf53/Kconfig.soc: Fix typo
Just a copy paste typo

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-28 08:35:13 -04:00
Alberto Escolar Piedras
43a9724e3c modules: hal_nordic: Remove redundant compile definition lines
These CONFIG_SOC_NRF5* are set when the corresponding
CONFIG_SOC_COMPATIBLE_NRF* option is set. There is no need to have both
conditions.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-28 08:35:13 -04:00
Alberto Escolar Piedras
d9b130823a soc: nordic: nrf54l: Set SOC_COMPATIBLE for 54L15 CPUFLPR target
So we can use just SOC_COMPATIBLE_NRF54L15 in place of
SOC_NRF54L15

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-07-28 08:35:13 -04:00
Chaitanya Tata
40b7b87ad7 drivers: nrf_wifi: Fix defaults to avoid false recovery
In case of a busy environment and if STA is far, then we see many
retries for the frames that cause the RPU to be awake though host has
de-asserted wakeup_now signal, this leads to WDT interrupt and host
thinks that it has given sleep opportunity to RPU and initiates a
recovery.

To handle this, increase the sleep opportunity window to 5s to cover all
the retries, this solves the false recovery problem. While at it, also
increase the range, no reason to limit to lower window. And update the
help text with the warning about power consumption.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-07-28 08:34:49 -04:00
Pieter De Gendt
cb4ad44f94 doc: releases: release-notes-4.3: Add chipsemi,chsc5x driver
Add an entry for the new CHSC5X touch controller driver.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-07-28 08:34:35 -04:00
Matthias Alleman
b90e3a2d8b tests: drivers: build_all: add chsc5x build test
Add test for chsc5x input driver.

Signed-off-by: Matthias Alleman <matthias.alleman@basalte.be>
2025-07-28 08:34:35 -04:00
Matthias Alleman
947189f70a drivers: input: add chsc5x driver
Add support for the chsc5x touch controller.

Signed-off-by: Matthias Alleman <matthias.alleman@basalte.be>
2025-07-28 08:34:35 -04:00
Michał Bainczyk
ba3662ac5d samples: boards: nrf: clock_control: Add memory-regions prop to uart sample
Add missing "memory-regions" property which is required for UART
on NRF54H20 to clock_control sample overlay file.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-07-28 04:27:25 -04:00
Michał Bainczyk
2e06c4ed20 drivers: nrf: add build asserts for memory-regions property
Add build asserts for "memory-regions" property in nrf drivers which is
required on targets with DMM for saadc, pdm, pwm, twim, twim_rtio, twis,
tdm, uarte, spim and spis. On targets where the property is not required
the assertion macro expands to nothing.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-07-28 04:27:25 -04:00
Chris Friedt
ccf7f72e6c drivers: hwinfo: split kconfig into separate files
Split Kconfig into separate files sorted by name.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-07-28 04:23:21 -04:00
Fabio Baltieri
d710ba4d04 test: check_init_priorities: add a test for initlevels
Add a test for check_init_priorities --initlevels in addition to the
normal error output, this validates that the function names are printed
correctly.

The current case covers sys_init, device with no init functions and
device with init function so it should be all cases.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-07-28 04:22:43 -04:00
Fabio Baltieri
b1fccaad6e scripts: check_init_priorities: fix device function name display
Device init pointers have been moved off struct init_entry and into
struct device in 766bfe7b2e, but check_init_priorities.py have not been
modified to check the new pointer so it's been showing NULL for all
devices since.

Fix it by searching down the right pointer for device init entries.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-07-28 04:22:43 -04:00
Hanan Arshad
6e3a1fda49 manifest: hal_rpi_pico: Pull partial flash write changes from hal_rpi_pico
This commit links the hal_rpi_pico PR required for the flash driver.
west.yml is updated

Signed-off-by: Hanan Arshad <hananarshad619@gmail.com>
2025-07-27 20:11:20 -04:00
Hanan Arshad
428eced7d0 drivers: flash: flash_rpi_pico: fix indentation and remove unused variables
Cleaned up the flash_rpi_pico driver to improve code readability and
compliance with Zephyr coding standards. Fixed inconsistent indentation
across the file and removed variables that were declared but not used.

A few improvements are credited to Manu3l0us.

Signed-off-by: Hanan Arshad <hananarshad619@gmail.com>
2025-07-27 20:11:20 -04:00
Hanan Arshad
5d36e85b99 drivers: flash: rpi_pico: add support for rp2350 flash controller
The Raspberry Pi Pico 2 uses a QMI flash controller, which differs from the
SSI controller used in the original Pico. Zephyr already has support for
the SSI controller, but lacked support for QMI.

This change adds the QMI flash controller implementation in the
flash_rpi_pico.c driver file. Additionally, the RP2350 SoC devicetree file
(rp2350.dtsi) has been updated to enable and describe the flash controller
for Pico 2.

Signed-off-by: Hanan Arshad <hananarshad619@gmail.com>
2025-07-27 20:11:20 -04:00
Victor Brzeski
c0e1268d9f usb: device_next: hid: Fix endpoint address getters
This commit resolves a bug where the USB Endpoint
provided by the HID driver was incorrect when in
High Speed mode.

Signed-off-by: Victor Brzeski <vbrzeski@gmail.com>
2025-07-27 17:57:05 -04:00
Nicola Vetrini
0de4f8de4a sca: eclair: Make ECLAIR project root configurable.
The project root was set unconditionally as the variable ZEPHYR_BASE,
but users developing a Zephyr application may wish to override the project
root used by ECLAIR as the base directory of their projects, so that
all paths processed by the tool are relative to that directory.

- A new cmake variable ECLAIR_PROJECT_ROOT is introduced;
- additional messages to output this information before the build starts.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
2025-07-27 17:03:02 -04:00
Yuval Peress
ed8f537d89 adc: Fix C++ initialization for channel cfg
When compiling with -Werror=missing-field-initializers and the
differential is disabled, we get a compilation error for the ADC
drivers. We should still initialize the value to false.

Signed-off-by: Yuval Peress <yuval.peress@gmail.com>
2025-07-27 05:00:01 -04:00
Mahesh Mahadevan
85e1353624 samples: led_pwm: Lower the blinking delay for RT1180 EVK
The blinking period provided by default was too large
for this platform.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-07-25 23:37:00 +02:00
Mahesh Mahadevan
11cb93dadf boards: mimxrt1180_evk: Use both LEDs on the board
When the gpio-leds and pwm-leds nodes are enabled,
the pin gets reconfigured to the driver that is
initialized later as both nodes were using the same
LED.
Use the Red LED that was unused for gpio-leds node.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-07-25 23:37:00 +02:00
Mahesh Mahadevan
2bce5c1fc8 boards: mimxrt1180_evk: Add support for the Red LED
Add support for the Red LED that is on the board.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2025-07-25 23:37:00 +02:00
Luis Ubieda
1725408b59 bmp581: code-style improvements
Remove extra-parentheses when operator precedence is implicit.
Eliminate implicit integer to boolean conversions.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:33:47 +02:00
Luis Ubieda
e7395a90f6 bmp581: stream: Add FIFO Watermark support
Configurable through dts property: fifo-watermark.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:33:47 +02:00
Luis Ubieda
7e3d5679d9 bmp581: Add LOG_ERR if initialization fails
Usually, drivers failing to initialize throw a message in the log,
signaling the cause of failure. Add it to this driver so the user
isn't confused by no message yet the device being marked as disabled.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:33:47 +02:00
Luis Ubieda
d2c4d0c34e bmp581: fix: Add parenthesis to macro arguments
Otherwise it leads to potential incorrect expansions.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-25 23:33:47 +02:00
Tim Pambor
dff24c8c00 twister: Fix race condition in try_making_symlink
Replaces the check-then-create pattern for symlinks with
opportunistic creation. Instead of checking for existence
before creating the symlink, the code now attempts to
create it directly and gracefully handles the case
where it already exists.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2025-07-25 23:30:31 +02:00
Tahsin Mutlugun
4c1c954347 samples: sensor: pressure_polling: Add delay between sensor readings
Introduce a 1000 ms delay between consecutive sensor readings to prevent
logging overflow and reduce console clutter.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-07-25 23:30:20 +02:00
Tahsin Mutlugun
75d383548d samples: sensor: pressure_polling: Log altitude only if supported
Most pressure sensors provide temperature and pressure data, but only a
few support altitude readings. This change adds a check to ensure
altitude is logged only when the sensor supports it.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-07-25 23:30:20 +02:00
Scott Worley
c084c0e776 tests: arch: arm: arm_irq_vector_table: Microchip MEC build fix
Running twister with plaform Microchip mec_assy6941/<variant_name>
builds the arm_irq_vector_table test. Microchip mec_assy6941 boards
all use a 32-bit 32 KHz timer for the kernel. The test build fails
due to any board using a custom kernel timer driver requires the
test to include a chip specific interrupt table. We don't want to
exclude the test. The MEC chips include Cortex-M4 SysTick. We added
board overlays to the test turning off the 32KHz timer and enabling
ARM SysTick. The test now builds.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2025-07-25 23:29:54 +02:00
Raffael Rostagno
166bf18d30 drivers: counter: esp32: Fix alarm stops working
Fix condition in which alarm stops working after a certain amount
of time. Hardware timer is 54-bit, yet it is treated as 32-bit by
the counter driver. To allow alarm event by hardware comparators,
counter high word must be loaded into the register along with
the lower word managed by the driver.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
2025-07-25 23:29:40 +02:00
Benjamin Cabé
08e328724c include: drivers: misc: ft8xx: add doxygen to ft8xx_touch_transform
Add missing documentation for ft8xx_touch_transform fields.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-07-25 23:29:31 +02:00
Iuliana Prodan
e8e0f4dc9d MAINTAINERS: add arnopo as Open AMP collaborator
Add arnopo (Arnaud Pouliquen) as Open AMP collaborator.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2025-07-25 23:29:23 +02:00
Anas Nashif
d54d69b59b tracing: introduce ram tracing snippet
This allows tracing any application and stores the data in RAM. Using
gdb, the ram_tracing variable contents can then be saved and viewed
using babeltrace.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-25 23:29:14 +02:00
Anas Nashif
a096b34835 tracing: ctf: trace k_sleep()
Trace sleep events in CTF:

[19:00:00.181375400] (+0.000044700) k_sleep_enter: ...
..
[19:00:00.290203800] (+0.000031500) k_sleep_exit: ...

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-07-25 23:29:14 +02:00
sudarsan N
7312715975 drivers: sensor: fcx_mldx5: Fix potential buffer overflow in UART frame
Fix Coverity issue CID 363738 (CWE-120): A potential buffer overflow could
occur in fcx_mldx5_uart_send() due to unchecked memcpy() when copying
command data into a fixed-size frame buffer.

This patch ensures that the length of the data being copied validated
against the remaining buffer size to prevent overruns. Also replaces a
redundant strlen() call with the precomputed cmd_data_len.

Fixes: #92634

Signed-off-by: sudarsan N <sudarsansamy2002@gmail.com>
2025-07-25 23:29:04 +02:00