Commit graph

136,983 commits

Author SHA1 Message Date
Jukka Rissanen
564323989c net: mdns_responder: Mark address in use when adding it
If we try to add an already existing IP address to the
address monitor list, then mark the address to be in use.
The address might have been marked as not-in-use before.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-27 08:39:21 -05:00
Jukka Rissanen
aa14f612ee net: if: Send IPv4 address DEL event if overriding address
If we override a static address by a DHCPv4 address, then send
address DEL event so that listeners notice it. This happens
for example with mDNS responder that needs to keep track of
what IPv4 addresses it needs to advertise.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-27 08:39:21 -05:00
Jukka Rissanen
a296367a27 net: if: Refactor IPv4 ACD cancel function
Allow calling net_ipv4_acd_cancel() without #ifdef protection.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-27 08:39:21 -05:00
Jukka Rissanen
073c75e4e1 net: dns: Context initialization flag was incorrectly used
The "init_called" flag needs to be per context and cannot be global
as it is meant to tell whether the context is initialized first time
or not.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2026-01-27 08:39:21 -05:00
Aric Radzin
f6746008ff boards: st: nucleo_c071rb: add jlink runner
add jlink as a runner to the nucleo_c071rb board.

Signed-off-by: Aric Radzin <aric.radzin@gmail.com>
2026-01-27 08:39:11 -05:00
Benjamin Cabé
9cfb6f50bc scripts: ci: refresh requirements-actions.txt pinned versions and SHAs
Refresh pinned dependencies to pick up security updates for:

- pyasn1
- filelock
- virtualenv
- pynacl
- urllib3

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-27 08:38:24 -05:00
Valerio Setti
7f34fc39f2 modules: hostap: enable PSA Crypto API only when crypto is enabled
Enable CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_MBEDTLS_PSA only when
CONFIG_WIFI_NM_WPA_SUPPLICANT_CRYPTO_ALT is enabled since the former
depends on the latter.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-27 11:37:11 +00:00
Benjamin Cabé
529bc3034a drivers: usbc: adopt SHELL_HELP in ppc shell module
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules and to save on code size.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-27 11:07:22 +00:00
Benjamin Cabé
5600f734db drivers: usbc: adopt SHELL_HELP in tcp_c shell module
Use SHELL_HELP macro for help strings to ensure consistency across
various shell modules and to save on code size.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-27 11:07:22 +00:00
Andrew Featherstone
a5442be239 maintainers: Add dts/riscv/raspberrypi to Raspberry Pi Pico maintainers
The RP23xxx microcontrollers include two RiSC-V Hazard3 cores. Update
the MAINTAINERS.yml file to include the relevant DTS directory.

Signed-off-by: Andrew Featherstone <andrew.featherstone@gmail.com>
2026-01-27 10:57:02 +00:00
Yangbo Lu
dccf33764e tests: net: socket: af_packet: fix interface using multicast MAC address
It seemed the case was using multicast address as MAC address
for Ethernet interface. This patch is to fix it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-27 10:56:51 +00:00
Yangbo Lu
974cd5d16f include: zephyr: ethernet: add net_eth_is_addr_unicast() API
Added net_eth_is_addr_unicast() API.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-27 10:56:51 +00:00
Yangbo Lu
889ac93bb6 include: zephyr: ethernet: fix multicast address checking
Fixed multicast address checking.

- net_eth_is_addr_multicast() should be for multicast address checking
  but not for only IP multicast address. Then net_eth_is_addr_group()
  is no longer needed.

- LLDP and gPTP multicast address checking should not depend on Kconfig
  option.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2026-01-27 10:56:51 +00:00
Alain Volmat
914f2b0b5b video: correct video_print_ctrl behavior for integer_menu
Correct the behavior when printing interger menu values.
Current loop is not correct since it is waiting for a 0 value
to stop while for integer menu any value is possible.
Modify in order to loop until reaching the maximum number of
entries listed at the ctrl init time.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-27 10:56:27 +00:00
Alain Volmat
e71597cf56 video: video_ctrls: fix integer menu truncated type print
"integer menu" ctrl type is longer than the 8 bytes long
typebuf hence rename the type into "int menu" and increase
the typebuf buffer in addition to increase alignment during
print of the ctrl values.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-27 10:56:27 +00:00
Stephan Linz
6a13929269 boards: nxp: lpcxpresso55s28: fix GPIO polarity for user LEDs
All three user LEDs are active low. This fix aligns the definitions
for the three user LEDs on the LPCXpresso55S28 with the identical
LPCXpresso55S69 board.

Signed-off-by: Stephan Linz <linz@li-pro.net>
2026-01-27 10:55:11 +00:00
Guðni Már Gilbert
6b9177f750 scripts: snippets: update typing for Python 3.10+
Automatically done using :
pyupgrade --py310-plus scripts/snippets.py

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-27 10:54:26 +00:00
Guðni Már Gilbert
902a8c5700 scripts: snippets: optimize parsing performance
1. Load and validate the schema only once
2. Use CSafeLoader if it's available
3. Read YAML files in binary mode

This reduces the execution time of snippets.py from ~380ms
down to ~160ms when I build samples/basic/blinky for
nrf52dk/nrf52832

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
2026-01-27 10:54:26 +00:00
Gaetan Perrot
2c0c5142a6 drivers: clock_control: tisci: drop redundant curr_state check
curr_state is known to be false when reaching the STARTING state
check, making the explicit '!curr_state' condition redundant.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-27 10:54:03 +00:00
Axel Le Bourhis
100f4c26a6 hal_nxp: integrate mcuxsdk ble controller ng
Move ble-controller integration to mcux-sdk-ng to make future release
integration easier. Based on 25.09.00 release, same as the existing
version.

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2026-01-27 10:53:45 +00:00
David J. Leach, Jr.
571831a89f doc: getting_started: Correct path in Windows getting started
Path reference to the west-packages-pip-install.cmd is incorrect
due to the previous instructions having the prompt at one level up.

Fixes #102535

Signed-off-by: David J. Leach, Jr. <tasmar@gmail.com>
2026-01-27 10:53:31 +00:00
Torsten Rasmussen
a0983a2f91 cmake: align board qualifiers in CMake with Kconfig
The value os board qualifiers in CMake and Kconfig differs.
CMake has a leading '/', as example:
CMake:   BOARD_QUALIFIERS=/nrf52840
Kconfig: BOARD_QUALIFIERS=nrf52840

This was also discussed in
https://github.com/zephyrproject-rtos/zephyr/pull/69740

This commit aligns the value of the CMake variable BOARD_QUALIFIERS to
the value of BOARD_QUALIFIERS (CONFIG_BOARD_QUALIFIERS) in Kconfig.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2026-01-27 10:52:37 +00:00
Lyle Zhu
4cfd1ce402 bluetooth: Classic: l2cap: accept peer MPS larger than TX MTU
Fix L2CAP configuration negotiation failure when peer device sends
MPS value larger than its own TX MTU in the configuration request.

This issue occurs when connecting to certain devices (e.g., iPhone)
using enhanced retransmission mode with MAP or PBAP profiles. The
peer may send an MPS that exceeds the TX MTU specified in the same
L2CAP_CONFIGURATION_REQ packet.

Instead of rejecting the configuration, adjust the MPS to match the
peer's TX MTU and include the corrected value in the
L2CAP_CONFIGURATION_RSP packet. This allows the connection to proceed
while ensuring MPS stays within valid bounds.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-27 10:52:25 +00:00
Michal Morsisko
1d5d73252e boards: st: added tsc peripheral to F0 series
update stm32f0 and stm32f072b_disco for TSC
peripheral

Signed-off-by: Michal Morsisko <morsisko@gmail.com>
2026-01-27 10:52:13 +00:00
Gang He
f204f2ff87 samples: bluetooth: bap_broadcast_sink: add audio codec support
Support audio codec hardware for audio playback.

Signed-off-by: Gang He <ganghe@sifli.com>
2026-01-27 10:51:35 +00:00
Appana Durga Kedareswara rao
1cac037a42 boards: amd: versalnet_apu: Add SMP board variant support
Add a new board variant versalnet_apu/amd_versalnet_apu/smp to support
Symmetric Multi-Processing (SMP) configuration for AMD Versal NET APU.

This commit introduces:
- SMP board variant with 4-core configuration (CONFIG_MP_MAX_NUM_CPUS=4)
- PSCI support for CPU power management operations
- ARM64 40-bit virtual and physical address space support
- Non-secure world execution (EL1 NS) configuration
- Compatible with Xilinx ARM Trusted Firmware boot flow

The SMP variant enables out-of-box multicore support for applications
that require parallel processing capabilities on the Versal NET APU
platform.

Usage:
  west build -b versalnet_apu/amd_versalnet_apu/smp <application>

Boot Flow: Boot PDI -> TF-A -> Zephyr (SMP)

Files added:
- boards/amd/versalnet_apu/versalnet_apu_amd_versalnet_apu_smp.yaml
- boards/amd/versalnet_apu/versalnet_apu_amd_versalnet_apu_smp.dts
- boards/amd/versalnet_apu/versalnet_apu_amd_versalnet_apu_smp_defconfig

Files modified:
- boards/amd/versalnet_apu/board.yml (added smp variant)

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
2026-01-27 10:50:50 +00:00
Ryan McClelland
5f83de27c5 doc: migration-guide-4.4: counters that implement get_value_64
Add a migration note for counter drivers that use `get_value_64` that
they need to select CONFIG_COUNTER_64BITS_TICKS.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
7fc848153c drivers: counter: add kconfig for enabling 64b tick api
Add a kconfig to be used as a flag for indicating if it supports 64b
ticks and another flag which will enable the 64b api. The kconfig
indicating that it supports 64b is a dependency of the kconfig that
will enable the api.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
c07454ff7c drivers: counter: add inline helpers for(n/u)sec to ticks in 64b
Add inline helpers to convert nanoseconds or microseconds to 64b ticks
and vice versa.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
779383e769 drivers: counter: add 64bit apis
Add apis for 64 bits.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
ac8f2200ae drivers: counter: run clang-format on counter.h
Run clang-format on counter.h

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
fd72085d9b drivers: counter: add kconfig for enabling 64b frequencies
Some counters, such as those that use fractional adders, tick at
resolutions greater than 4294967295Hz. This changes the freq in the common
info to a uint64_t. This adds a KConfig that can be selected by a driver.

This also has the counter ticks to sec (and vice versa) helper functions
call the get frequency for 64 bits if the kconfig is selected.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
849ba3a33f drivers: counter: add ns to ticks helper
There is already a helper for converting ticks to ns. Add one
that does the opposite.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
65c2fc6c2f drivers: counter: stm32: implement counter set value api
Implement the counter_set_value api for the STM32.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
34befefd93 drivers: counter: introduce counter set value api
Introduce a counter set value api to set the ticks for 32b and 64b.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Ryan McClelland
01a00d5593 drivers: counter: stm32: add counter reset
Add a reset counter api to set the time back to 0.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
2026-01-27 10:49:43 +00:00
Emil Gydesen
108f632652 tests: Bluetooth: Tester: CAP broadcast BSIM test
Adds BSIM testing of the CAP broadcast features of the BT Tester.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-27 10:48:19 +00:00
Emil Gydesen
47c0dabc8b tests: Bluetooth: Tester: CAP unicast BSIM test
Adds BSIM testing of the CAP unicast features of the BT Tester.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-27 10:48:19 +00:00
Gaetan Perrot
af7485c527 drivers: wifi: eswifi: core: make __parse_ipv4_address void
__parse_ipv4_address() never reports errors and always returns 0.
The error check at the call site is therefore dead code.

Make the function void and drop the unused error handling.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-27 08:09:48 +01:00
Benjamin Cabé
fe52cf0cae dts: regulator: move DTS snippets from description to examples
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-27 08:09:26 +01:00
Benjamin Cabé
d2e50b8861 dts: bindings: ethernet: move DTS snippets from description to examples
Use the new `examples` property to provide example usage in a more
structured way.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-27 08:09:14 +01:00
Zhijie Zhong
1c432582bb Bluetooth: Core: add Mode Change event in event mask
Since we have already supported sniff mode,
the corresponding link mode change event should be received.

Signed-off-by: Zhijie Zhong <zhongzhijie1@xiaomi.com>
2026-01-27 08:08:56 +01:00
Vinit Mehta
126857120c boards: shields: nxp_m2_wifi_bt: wakeup support for 1XK & 2LL shield
Add wakeup IO config for 1XK & 2LL shields for wakeup functionality
Remove wakeup IO config for 2EL shield as its handled from host overlay

Signed-off-by: Vinit Mehta <vinit.mehta@nxp.com>
2026-01-27 08:08:27 +01:00
Sylvio Alves
ce3e16b8b7 doc: add openocd runner migration notes for v4.4
Document the deprecation of --use-hex, --use-elf, and --use-bin
flags in favor of the standard --file and --file-type interface.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-27 08:08:19 +01:00
Sylvio Alves
8fd7d24cee boards: migrate openocd runner to --file-type flag
Update all board.cmake files to use the new --file-type flag
instead of the deprecated --use-elf and --use-bin flags.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-27 08:08:19 +01:00
Sylvio Alves
e5a2574eca runners: openocd: migrate to standard --file/--file-type interface
Align the OpenOCD runner with the JLink runner by adopting the
framework's standard file selection mechanism:

- Add file=True to RunnerCaps to enable --file and --file-type args
- Deprecate --use-hex, --use-elf, --use-bin flags (still work with
  warning)
- Use FileType enum instead of string comparisons
- Support --file for custom file paths (like JLink)
- Store hex_name and bin_name alongside elf_name for consistency

Also remove the framework constraint that --file-type requires --file,
allowing boards to specify a preferred file format via board.cmake
without providing a custom file path.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2026-01-27 08:08:19 +01:00
Pieter De Gendt
ee05e9e76e dts: arm: nxp: rt10xx: Add OCOTP node
Add the OCOTP node to rt10xx SoCs.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-27 08:07:53 +01:00
Pieter De Gendt
941f1e6af5 drivers: otp: Add NXP MCUX OCOTP
Introduce an OTP driver for NXP's MCUX OCOTP.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-27 08:07:53 +01:00
Gaetan Perrot
cd1f21fa07 drivers: clock_control: renesas_rza2m_cpg: remove redundant init
The return value variable was initialized but always overwritten
before being evaluated.

Remove the redundant initialization to simplify the code.

No functional change.

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2026-01-27 08:07:25 +01:00
Hou Zhiqiang
1e6806bec1 soc: imx943: m33: Initialize DTCM to generate ECC bits
The TCM ECC is enabled by default after reset, so must initialize
the entire DTCM with word-aligned writes to generate vaild ECC bits
before any byte or halfword access, otherwise ECC faults will occur.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
2026-01-27 08:07:08 +01:00