Commit graph

136,983 commits

Author SHA1 Message Date
Mohamed Moawad
7fb39e806c twister: Add board-level flash_before support for pytest/shell harnesses
Add support for boards to specify flash_before in their board YAML files,
which is then used by pytest and shell harnesses. This is needed for
Synopsys ARC development boards (hsdk, hsdk/arc_hsdk/2cores, hsdk4xd
and iotdk) where the USB serial port disconnects during flashing.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2026-01-14 13:00:22 -06:00
Mohamed Moawad
c75ee62562 soc: arc_iot: add configurable custom CPU idle for UART retention
The ARC IoT SoC (used on iotdk board) has a hardware limitation where
entering CPU sleep mode causes some peripherals (e.g., UART) to lose
power, preventing the board from waking up via peripheral interrupts.

Add a configurable custom CPU idle option (CONFIG_ARC_IOT_CUSTOM_CPU_IDLE)
that enables interrupts without executing the sleep instruction. This
allows the system to remain responsive while keeping peripherals powered.

The option defaults to disabled (n) to preserve normal CPU sleep behavior
for most use cases. Tests that require continuous UART operation during
idle (pytest/shell harnesses) can enable it via platform-specific
extra_configs.

This approach allows timer-based idle to work correctly by default while
providing a workaround for tests that need UART retention.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2026-01-14 13:00:22 -06:00
Andreas Huber
c611a16ecd net: ipv4: Add missing broadcast check in address conflict detection
As described in RFC5227 ch. 2.1.1 ARP Probes are broadcasted.
ARP requests not being broadcasted should not be detected as
ARP Probes.

Signed-off-by: Andreas Huber <andreas.huber@sautergroup.com>
2026-01-14 09:23:48 -06:00
Chaitanya Tata
23efdfe309 drivers: nrf_wifi: Implement key installation for nRF71
For nRF71 series keys should be installed via PSA-APIs (KMU).

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-14 09:23:16 -06:00
Jukka Rissanen
74931644b5 net: tcp: Add NULL check when receiving SYN
Make sure that if the connection is closed but we still received
a SYN packet, we do not try to access already closed connection.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-14 09:22:38 -06:00
Tomi Fontanilles
d9b7fe379a modules: mbedtls: PKCS5: depend on, do not select MD
To avoid dependency loops.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-01-14 09:22:13 -06:00
Wilfried Chauveau
05dde46c4d build: cmake: print the board's qualifiers in the elf postbuild phase
When building for several cores of the same system it can be hard to
identify which build is currently running.
This addition helps disambiguate the logs.

Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
2026-01-14 09:19:39 -06:00
Tim Knodel
471060a354 logging: formatting: Add support for domain names
The domain name was always set to NULL. This adds a Kconfig
that will enable setting the domain name and sets the domain
name if the config is enabled.

Signed-off-by: Tim Knodel <tbk@google.com>
2026-01-14 09:18:52 -06:00
Samuel Kleiser
0fbbba2dc0 mcumgr: fs_mgmt: forward return values from fs_close
A new error code FS_MGMT_ERR_FILE_CLOSE_FAILED is returned when
closing a file fails. This is done on write or close operations - read
operations remain unchecked.

Signed-off-by: Samuel Kleiser <s.kleiser@vega.com>
2026-01-14 09:18:10 -06:00
Gaetan Perrot
d3868911f8 drivers: flash: spi_nor: fix typo in an error log message
Fix a typo in an error log message in mxicy_configure.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:17:34 -06:00
Andrzej Głąbek
8a190d77fb drivers: mspi_dw: Add support for data only packets
The SSI core requires special handling of packets that are supposed
to contain only data (no instruction and data phases):
- for TX packets, the first data frame needs to be sent as the address
  (the instruction and address cannot be both set to zero length for TX,
  otherwise the transfer will not be performed correctly)
- for RX packets, a dummy write to the data register (DR) is needed to
  start the transfer.
Implement the above in the function that starts a packet transfer.
Rename also the `packet_frames` variable there to `data_frames` to avoid
confusion.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-14 09:17:18 -06:00
Andrzej Głąbek
bbf0187913 drivers: mspi_dw: Remove needless packet parameter
FIFO handling functions in the driver are supplied with a `packet`
parameter that is in fact not used anymore. Remove it to simplify
matters.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2026-01-14 09:17:18 -06:00
Gaetan Perrot
742c23a352 tests: drivers: flash: split mixed error conditions in negative tests
Some flash negative tests were validating multiple error conditions
in a single API call, such as combining unaligned offsets with
oversized operations.

This makes it unclear which condition is actually being tested and
can lead to fragile tests if drivers change the order of validation.

Split these cases so that each call checks a single expected error
condition, improving test clarity and robustness.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:16:25 -06:00
Marek Matej
34757ac269 samples,tests: remove obsolete overlays
Remove wifi enabling overlays that became obsolete.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2026-01-14 09:15:48 -06:00
Alain Volmat
1da7503904 drivers: video: stm32-dcmi: correct set_frmival handling
Correct set_frmival in order to avoid having un-optimized
frmival selection due to rounded values.
Computation has been done in usec, leading to incorrect
frmival selection due to value being rounded internally.
As an example, code was selecting 1/60 from sensor then 4 time
frame drop by DCMI instead of selecting directly 1/15 from
sensor.
Use msec instead to hide those rounding issue and avoid
as well 64bit variables.
This also put the first video_frmival_nsec outside of the
loop to avoid having to do the processing everytime.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-14 13:02:01 +00:00
Fabio Baltieri
a10d932c17 workflows: manually update action-zephyr-setup
Current version as a fix for something that is currently causing
problems in CI and dependabot is failing too, update this one manually
for now.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-14 13:00:45 +00:00
Lyle Zhu
dd76aa4402 doc: maintainers: update Bluetooth Classic file patterns
Update MAINTAINERS.yml to reflect the reorganization of Bluetooth
Classic documentation into subdirectories. Replace specific file
references with directory paths to cover all files within the
classic/ subdirectories for both shell and API documentation.

Changes include:
- Replace specific a2dp.rst file reference with classic/ directory
  in Bluetooth Classic section
- Add doc/connectivity/bluetooth/api/classic/ to Bluetooth Classic
- Add doc/connectivity/bluetooth/api/classic/ to Bluetooth Host
- Replace specific a2dp.rst with classic/ directory in Bluetooth Host

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 09:57:38 +01:00
Lyle Zhu
8dca624355 doc: bluetooth: reorganize Classic API documentation into subdirectory
Reorganize Bluetooth Classic API documentation by moving existing files
(SDP, RFCOMM, A2DP, HFP) into a new `classic/` subdirectory and adding
new documentation files for L2CAP BR/EDR, AVRCP, GOEP, and BIP.

Changes include:
- Move existing Classic API docs to subdirectory `classic/`
- Add new L2CAP BR/EDR documentation
- Add AVRCP, GOEP, and BIP API reference documentation
- Update HFP documentation to include both HFP Unit and HFP-AG sections
- Update index.rst to reflect new directory structure
- Add Doxygen group documentation to AVRCP header
- Update AVRCP Cover Art to be a subgroup of AVRCP
- Fix L2CAP BR/EDR Doxygen group name and description

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 09:57:38 +01:00
Abhinav Kulkarni
b1edb19033 drivers: wifi: nxp: Added WLS support
Added configuration to enable wifi location services.

Signed-off-by: Abhinav Kulkarni <abhinav.kulkarni@nxp.com>
2026-01-14 09:57:28 +01:00
Matin Lotfaliei
8dbaca4131 drivers: sensor: bosch: bma4xx: Update RTIO callbacks with result arg
drivers: sensor: bosch: bma4xx: Update RTIO callbacks with result argument

Commit bc8d66d538931e650dd2855fabe768720dcb4b02 introduced
a result argument to some RTIO callback handlers.
Update for the BMA4XX sensor.

Signed-off-by: Matin Lotfaliei <matinlotfali@gmail.com>
2026-01-14 09:57:16 +01:00
Gaetan Perrot
646e93d294 net: coap: coap_client: fix request validation order in coap_client_req
Avoid accessing request fields before validating input arguments in
coap_client_req().

The request path length is now checked only after validating the
request pointer, preventing a potential NULL pointer dereference.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:57:03 +01:00
Firas Sammoura
6834cd5dae mem_mgmt: add mem_attr_get_region_index_by_name()
Add a new API to look up a memory region's index using its DeviceTree
node name. This allows callers to identify specific regions within the
internal regions array.

Includes unit tests for successful lookups and error handling for
non-existent names.

Signed-off-by: Firas Sammoura <fsammoura@google.com>
2026-01-14 09:56:53 +01:00
Tom Burdick
1c13761898 boards: kit_pse84_ai: Add ram property
Some tests depend on the ram board property to determine whether or not
to run, like LLEXT tests. Set the ram property for this board.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-14 09:56:33 +01:00
Tom Burdick
4ff523d0fc boards: kit_pse84_eval: Add ram property
Some tests depend on the ram board property to determine whether or not
to run, like LLEXT tests. Set the ram property for this board.

Signed-off-by: Tom Burdick <thomas.burdick@infineon.com>
2026-01-14 09:56:33 +01:00
Muhammad Waleed Badar
ec758c9d1c drivers: wifi: esp32: use macro for mac address len
Replace magic number used for mac address lenght with
WIFI_MAC_ADDR_LEN macro

Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
2026-01-14 09:56:20 +01:00
Jay Vasanth
842d31c691 MAINTAINERS.YML: Add maintainer for Microchip MEC
Adding additional maintainer - Scott Worley for Microchip
MEC Platforms

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2026-01-14 09:56:07 +01:00
Gaetan Perrot
3755392579 sensing: sensor_mgmt: fix potential NULL dereferences
Ensure pointers are validated before dereferencing them in
set_arbitrate_interval() and set_interval().

This avoids accessing sensor or connection fields prior to
validation and makes the code safe even when assertions are
disabled.

No functional change intended.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:55:53 +01:00
Carlo Caione
5e35f14b1e drivers: lora: rename lora_basics_modem directory to lora-basics-modem
Rename the lora_basics_modem backend directory to lora-basics-modem
for consistency with the module naming convention.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Carlo Caione
a309b3c127 drivers: lora: rename loramac_node directory to loramac-node
Rename drivers/lora/loramac_node to drivers/lora/loramac-node to align
with the module naming convention (modules/loramac-node).

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-14 09:55:43 +01:00
Siratul Islam
084adcd423 boards: arm: fix weact_stm32wb55_core led and button pins
LED: PB2 -> PE4
BUTTON: PE4 -> PH3
Signed-off-by: Siratul Islam <email@sirat.me>
2026-01-14 09:55:32 +01:00
Albort Xue
08df06727c drivers: clock_control: Consolidate NXP Kconfig files
Multiple individual Kconfig files for NXP clock control drivers are
consolidated into a single Kconfig.nxp file. This improves
maintainability by grouping all NXP-related clock control
configurations in one location.

Signed-off-by: Albort Xue <yao.xue@nxp.com>
2026-01-14 09:55:20 +01:00
Peter Hoddie
4c23ce6341 boards: adafruit: correct gpio1 pins for feather_esp32s3_tft
This DTS uses absolute GPIO numbers for pins on
gpio1 rather than relative pin numbers. This causes
an abort on boot when led1, neopixel_pwr, or mipi_dbi
is enabled.

Signed-off-by: Peter Hoddie <peter@moddable.com>
2026-01-14 09:54:58 +01:00
Jonas Berg
c9d5d2f62f boards: shield: Add Adafruit MAX17048 fuel gauge shield
Compile testing of the overlay file is done via the fuel-gauge
sample.

Product photo from https://learn.adafruit.com/assets/123027
with the license CC BY-SA 3.0

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-14 09:54:36 +01:00
Gaetan Perrot
e0ee5cd6e9 drivers: i3c: i3c_npcx: fix redundant NULL check
npcx_i3c_do_ccc() dereferences the device pointer before checking it
against NULL, making the defensive check ineffective.

Remove the redundant check.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-14 09:54:24 +01:00
Manojkumar Konisetty
cc7c11f6d2 samples: sensor: mpu6050: boards: Add overlay file
- Add an overlay to enable mpu6050 sensor sample.
- Contains configurations for I2C bus and Clock

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
ad1b041608 samples: sensor: bme280: boards: Add overlay file
- Add an overlay to enable bme280 sensor sample.
- Contains configurations for I2C bus and Clock

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
efce139fcd drivers: I2C: Add Infineon PSOC4 I2C slave support
De-initialize the SCB when switching between I2C master
and slave modes

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
1cf68612d4 boards: cy8cproto_041tp: enable I2C
- Add pin control definitions with proper open-drain drive mode
  for SCL/SDA in cy8cproto_041tp-pinctrl.dtsi.
- Add I2C node and clock configuration to cy8cproto_041tp.dts.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
78a4516cd9 dts: infineon: add I2C pins for PSoC4100TP
Include package-level I/O mapping for I2C pins
in psoc4100tp.64-tqfp.dtsi

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Manojkumar Konisetty
6725a9a39b drivers: i2c: update Infineon PDL I2C driver
Implement I2C configure() handling in the driver
to apply speed settings and default hardware options.

Signed-off-by: Manojkumar Konisetty <manoj@aerlync.com>
Signed-off-by: Sayooj K Karun <sayooj@aerlync.com>
2026-01-14 09:54:14 +01:00
Matin Lotfaliei
417a37b20d boards: vicharak: shrike_lite: Add full name to the board.yml
boards: vicharak: shrike_lite: Add full name to the board.yml

Add the missing `full_name` field for the shrike_lite board added in
3f3b528997a815d84a13fbc4a0b686129fc38b91

Signed-off-by: Matin Lotfaliei <matinlotfali@gmail.com>
2026-01-14 00:52:16 +01:00
Gaetan Perrot
3dfdfad2de tests: drivers: eeprom: api: assert EEPROM size
Verify that the EEPROM is large enough to hold the test write buffer
before executing the test.

This makes the test assumptions explicit and avoids unused variable
in API test.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-13 14:13:12 -06:00
Fabio Baltieri
9035b77251 github: hello_world_multiplatform: trim the sdk list further
Trim the sdk list down to arm and riscv64, should be good enough for
testing the buildsystem and saves some disk space.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2026-01-13 14:12:41 -06:00
Charles Hardin
cc29ac7871 drivers: ethernet: lan9250: remove/simplifiy the runtime structure
Remove the unused variable tid_int and lock. Also, match the other drivers
by dropping the back reference to the device structure and just pass
in the dev for the thread and dereference the context from there.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>
2026-01-13 14:12:00 -06:00
Valerio Setti
24db35949e tests: benchmark: mbedtls: remove legacy crypto Kconfig
This is a leftover from the past that is no more required and that should
be removed in order to prepare for the next Mbed TLS release.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-13 14:11:32 -06:00
Camille BAUD
03eab92f89 drivers: i2c: Fix BFLB I2C again again
Maybe the last time? associated issue outlines details

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-13 14:11:03 -06:00
Jonas Berg
995a77ae3e boards: Add Grove headers for Cytron Maker Uno RP2040
Added the six Grove headers (and the Stemma QT header) to a separate
devicetree include file.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2026-01-13 14:10:13 -06:00
Dhruv Menon
da7d8d5c4b boards: vicharak: shrike_lite: Add initial board config
Add initial board configuration and device tree files for the
Vicharak Shrike Lite board.

Signed-off-by: Dhruv Menon <dhruvmenon1104@gmail.com>
2026-01-13 14:09:52 -06:00
Thomas Stranger
0aadb3f0c8 doc: develop: getting_started: fedora dnf5 group installation
The group display names don't work with dnf5.
As displaynames can depend on the locale and are not unique
dnf5 only supports the group identifiers.

Distributions with dnf4 like RHEL<=10, Fedora<41, and CentOS stream
shouldn't have any issues with the group id, but have not been tested.

Alternatives considered: use the @-sytax for groups introduced in dnf5,
but using the group command makes it more clear that package groups are
installed.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2026-01-13 14:09:01 -06:00
Mark Wang
952ee6a681 MAINTAINERS: bluetooth: add sbc.h and sbc.c to libsbc maintainer entry
Add include/zephyr/bluetooth/sbc.h and subsys/bluetooth/lib/sbc.c to
the libsbc module maintainer entry to ensure proper coverage of SBC
codec related files.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-13 14:08:32 -06:00