Commit graph

136,983 commits

Author SHA1 Message Date
Omkar Kulkarni
d8ed0f8e3d tests: Bluetooth: Tester: Audio: Adds BRS
This commit adds API to tester to allow exposing of Broadcast Receive
State.

Signed-off-by: Omkar Kulkarni <omkar.kulkarni@nordicsemi.no>
2025-11-26 11:05:19 +00:00
Omkar Kulkarni
b6e5d03ff4 bluetooth: audio: Update encrypt state value
Fixes a bug where encrypt state value was not updated based on given
parameters.

Signed-off-by: Omkar Kulkarni <omkar.kulkarni@nordicsemi.no>
2025-11-26 11:05:19 +00:00
Benjamin Cabé
9a3a6dacf2 doc: hardware: porting: clarify board porting recommendations
This commit introduces some clarifications to the "General
Recommendations" in the board porting documentation, in particular it
makes it clearer that DT nodes for key peripherals should be configured
AND enabled. It also makes it easier to see the set of recommendations
at a glance by adding a short summary for each item.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Co-authored-by: Erwan Gouriou <erwan.gouriou@st.com>
2025-11-26 11:05:11 +00:00
Chaitanya Tata
e797874fbb manifest: hostap: Pull fix for SAE
Fix build failure in case a different SAE implementation is used (e.g.,
PSA).

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-11-26 11:04:34 +00:00
Lyle Zhu
25d2c50ca3 Bluetooth: Classic: HFP_HF: Correct definition of supported features
In current implementation, there are two issues found,

Issue 1, the feature defined in the SDP HFP HF record are used in
combination as HFP HF supported features reported via `+BRSF`.

Issue 2, the macro `BT_HFP_HF_FEATURE_CODEC_NEG_ENABLE` is not
aligned with macro name of other features. The other macros are named
with prefix `BT_HFP_HF_FEATURE_`.

Use `BT_HFP_HF_FEATURE_VOLUME_ENABLE` to set the volume feature
instead of `BT_HFP_HF_SDP_FEATURE_VOLUME_ENABLE`.

Rename `BT_HFP_HF_CODEC_NEG_ENABLE` with new name
`BT_HFP_HF_FEATURE_CODEC_NEG_ENABLE`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-11-26 11:04:23 +00:00
Joel Schaller
8f6b216ec0 shell: backend: telnet: No Error ENETDOWN
Set Log Level to Info when the Telnet socket reports ENETDOWN,
instead of logging an error each time the network is down.

Signed-off-by: Joel Schaller <joel.schaller16@gmail.com>
2025-11-26 11:04:13 +00:00
Etienne Carriere
ca9d5e8190 drivers: ipm: stm32_hsem: clean indentation in instance init macros
Clean indentation in macros used to define instances in STM32
HSEM hardware semaphore drivers.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
a2a9541cea drivers: serial: stm32: simplify ISR handlers definition
Simplify interrupt handler helper macros by removing
STM32_UART_IRQ_HANDLER_DECL(), using STM32_UART_IRQ_HANDLER() only
renamed STM32_UART_IRQ_HANDLER_DEFINE() and aggregating where the
macro and STM32_UART_IRQ_HANDLER_FUNC() macro are defined.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
8001b3c343 drivers: serial: stm32: clean indentation in instance init macros
Clean indentation in local macros used to define UART instances.
Remove extra line escape ending CONFIG_UART_ASYNC_API() macro value.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
2f4962fa0a drivers: pwm: stm32: clean indentation in instance init macros
Clean indentation in IRQ_CONNECT_AND_ENABLE_BY_NAME(), IRQ_CONFIG_FUNC()
and IRQ_CONNECT_AND_ENABLE_DEFAULT() macros of STM32 PWM driver.
Remove a useless trailing semi column character in the interrupt function
defined with IRQ_CONFIG_FUNC() macro.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
b69361f88b drivers: i3c: stm32: clean indentation in instance init macros
Clean indentation in STM32_I3C_DMA_CHANNEL_INIT() and
STM32_I3C_DMA_CHANNEL() macros of STM32 I3C driver.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
f98f568275 drivers: i2c: stm32: clean indentation in instance init macros
Clean indentation in I2C_DMA_DATA_INIT() and I2C_STM32_INIT() macros.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
9dfd35115b drivers: sdmmc: stm32: clean indentation in instance init macros
Clean indentation in SDMMC_DMA_CHANNEL() macro and fix an extra line
escape at last line of SDMMC_DMA_CHANNEL_INIT() macro value.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Etienne Carriere
2ea6435bb7 drivers: clock_control: stm32: clean indentation in instance init macros
Clean indentation in STM32_MCO_INIT() and STM32_MUX_CLK_INIT() macros.
Add after coma pclken field value in stm32_clk_mux_cfg_##id to ease
possible later changes.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-26 11:03:50 +00:00
Pieter De Gendt
dbdd5e91e7 doc: releases: migration-guide-4.4: Keep device drivers titles sorted
Add zephyr-keep-sorted tags to force sorted titles in the "Device Drivers
and Devicetree" section.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-11-26 07:10:50 +00:00
Pieter De Gendt
d1bcedea9f doc: releases: migration-guide-4.4: Fix QSPI title
Add missing = for the QSPI title.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-11-26 07:10:50 +00:00
Jiafei Pan
0ec9360cf4 scripts: requirements: update pyocd version
Update pyocd version to be greater than or equal to 0.36.0 to fix
the potential hang issue when execute "west packages pip --install"

This PR is to fix the issue #99115.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
2025-11-26 07:10:39 +00:00
Mihira Madhava Bollapragada
adf1c8c693 drivers: intc: change the VIM kconfig to TI_VIM
VIM is a vector interrupt manager that TI devices have and is used a
interrupt controller. the driver's Kconfig selection is created as "VIM"
and is resulting in the confusion with a Text Editor name.

Make the VIM Kconfig option to indicate the vendor TI name in it.

Signed-off-by: Mihira Madhava Bollapragada <madhava@ti.com>
2025-11-26 07:10:13 +00:00
Yongxu Wang
38751613f6 dts: arm: nxp: disable gpio node for imx95 m7
Disable gpio node in imx95 m7 which not owner gpio privilege
in default system manager config, the status should be set as okay
in specific case test instead of nxp_imx95_m7.dtsi

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2025-11-26 07:09:57 +00:00
Fabin V Martin
5818719c96 boards: sam_e54_xpro: add entropy support
Add zephyr,entropy to chosen node and
entropy in supported list

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-11-26 07:09:41 +00:00
Fabin V Martin
876eb94234 drivers: entropy: microchip: add entropy g1 driver
Add entropy g1 driver for Microchip TRNG

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-11-26 07:09:41 +00:00
Fabin V Martin
8f23bd31e7 dts: arm: microchip: add entropy node and bindings
Add entropy node and binding parameters for microchip
TRNG entropy g1 driver

Signed-off-by: Fabin V Martin <Fabinv.Martin@microchip.com>
2025-11-26 07:09:41 +00:00
David Leach
9045474411 maintainer: hal_openisa: Add zejiang0jason as collaborator
Adding Zejiang0jason as collaborator to the openisa HAL. He was the
developer of the original SDK.

Signed-off-by: David Leach <david.leach@nxp.com>
2025-11-25 20:25:42 -05:00
Dmitrii Sharshakov
4cc737f9a5 settings: its: do not rely on TFM settings override
Use config from TF-M instead, not necessitating an override.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Dmitrii Sharshakov
36ee86d3dc tests: settings: its: enable functional tests for TF-M ITS
Run on mps2/an521/cpu0/ns.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Dmitrii Sharshakov
db904d1511 settings: its: move structure to a header
This private header can be used by tests for information on UID ranges
that should be cleaned for testing.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Dmitrii Sharshakov
2a46964794 samples: settings: run integration on QEMU with TF-M
Make sure ITS backend is tested in the CI.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Dmitrii Sharshakov
f73eae4757 tests: settings: its: run on mps2/an521/cpu0/ns
Run on QEMU to make sure this is tested in the CI.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Dmitrii Sharshakov
d5905de2db settings: its: enable TF-M PSA headers
Avoid missing headers on some platforms like mps2/an521/cpu0/ns.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-11-25 20:23:56 -05:00
Sreeram Tatapudi
0efab13217 tests: subsys: logging: Add overlay for PSE84
Add required overlay files to enable log_backend_fs test
for kit_pse84_eval board

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-11-25 20:23:14 -05:00
Sreeram Tatapudi
59801cf6a7 tests: drivers: flash: kit_pse84_eval: Add support for flash testing
Enabling test application for PSE84

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-11-25 20:23:14 -05:00
Sreeram Tatapudi
a039b94f48 drivers: flash: Infineon: Add QSPI Flash driver for PSE84
Add QSPI Flash driver for PSE84 (based on the serial-memory asset)

Signed-off-by: Sreeram Tatapudi <sreeram.praveen@infineon.com>
2025-11-25 20:23:14 -05:00
Daniel Leung
a6fe6a8f7d xtensa: fix unused func warning on l2_page_tables_counter_inc
xt-clang complains about l2_page_tables_counter_inc() being
unused but not GCC. So fix that by using it somewhere else.

Fixes #99753

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-11-25 20:22:54 -05:00
Bill Waters
e787380ec8 soc: infineon: edge: pse84: slot size
Increase the slot size for secure applications to
support testing applications that require more than
the default size of 0x20000

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-11-25 20:22:45 -05:00
Pisit Sawangvonganan
7aa052e7f1 drivers: can: sja1000: consolidate SFF/EFF payload loops
Utilize `data_reg` to select the appropriate SFF/EFF data register
base and use a single read/write loop for frame data access.
This replaces the separate SFF/EFF loops, streamlining the code
and reducing its footprint.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-11-25 20:22:33 -05:00
Benjamin Cabé
9d23d32814 drivers: input: gt911: prefix all macros
macros with very generic name like DEVICE_ID are really not ideal so
prefix them all with GT911_.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-25 20:22:20 -05:00
David Leach
4a2fca31c0 maintainers: hal_nxp: update maintainers and collaborators.
Expanding responsibilities for hal_nxp:

- Add ZhaoxiangJin to the maintainers list to allow merge rights on HAL
- Add zejiang0jason and Holt-Sun to the collaborators list for review

Signed-off-by: David Leach <david.leach@nxp.com>
2025-11-25 20:21:42 -05:00
Chris Wilson
5220936bbc soc: st: stm32: add '-align' flag for signing tool v2.21.0+
Starting in v2.21.0, the STM32 signing tool ('STM32_SigningTool_CLI')
stopped automatically adding padding bytes at the beginning of the
payload to align it to the 0x400 offset. To restore this behavior, the
'-align' flag must be passed to the signing tool post-build command.

This commit checks for signing tool version v2.21.0 or higher and
appends the '-align' flag to the post-build signing command. It also
changes local CMake variable names to lower case and corrects some
indentation issues.

Fixes zephyrproject-rtos/zephyr#99456

Signed-off-by: Chris Wilson <chris@binho.io>
2025-11-25 21:13:29 +00:00
Peter Mitsis
599e3bba04 tests: Stack safety for thread analyzer
Adds stack safety to thread analyzer test case.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-11-25 19:25:44 +00:00
Peter Mitsis
70347cec76 debug: Integrate stack safety into thread analzyer
This updates the thread analyzer to optionally leverage the kernel's
thread runtime stack safety infrastructure to act upon threads whose
unused stack space has fallen below their configured thresholds.

By default, the thread analyzer merely reports what it has found.
However, a developer can override this behavior with a custom handler
using thread_analyzer_stack_safety_handler_set().

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-11-25 19:25:44 +00:00
Peter Mitsis
c08905ecc9 kernel: Add thread runtime stack safety
Adds support for thread runtime stack safety. This kernel feature
allows a developer to run enhanced stack usage checks on threads
such that if the amount of unused stack space drops below a thread's
configured threshold, it will invoke a custom handler/callback.

This can be used by monitoring software to log warnings, suspend
or abort threads, or even reboot the system.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-11-25 19:25:44 +00:00
Benjamin Cabé
962a4cadec doc: net: ensure PTP docs appears in only one table of contents
PTP docs are already included in the TSN section, so removing from
protocols.rst to avoid duplication and Sphinx warnings.

Fixes zephyrproject-rtos/zephyr#95438.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-25 19:25:12 +00:00
Robert Lubos
0f9131e351 net: tcp: Fix out-of-bound warnings in debugging code
A few debug logs in TCP code relied on a fact that IP address offset is
the same in struct sockaddr_in and sockaddr_in6. However, the logs
casted the address to struct sockaddr_in, which is smaller than
sockaddr_in6, causing theoretical out-of-bounds access warnings in IPv6
case. Fix this by casting to struct sockaddr_in6 instead.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-11-25 19:25:05 +00:00
Marek Matej
b4ee630506 soc: espressif: esp32c6: set early init stack
Early init stack pointer can interfere with bss segments if grown
enought, therefore stack pointer is set to safe area before starting
init.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-11-25 19:24:57 +00:00
Humphrey Chiramba
960586509b drivers: wifi: esp32: Enable WiFi connection by specifying BSSID
Added a method for users to connect to a given access point
by specifying its MAC address.

Signed-off-by: Humphrey Chiramba <humphrey@plentify.co.za>
2025-11-25 19:24:26 +00:00
Mathieu Choplain
c1d16c0555 drivers: usb: udc: stm32: instance-aware clock configuration handling
Instead of using globals, save the clock configuration from DTS in each
instance's configuration block, from which it is consumed by the driver's
clock configuration functions.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-11-25 17:39:37 +00:00
Mathieu Choplain
172aa3658a drivers: usb: udc: stm32: use direct function calls for clock on/off
To enable/disable clocks, the UDC driver used function pointers stored in
the instance private data(!), which *could* be NULL... but in practice,
they were always initialized. Furthermore, the clock configuration is
done through Clock Control API calls so the code can be shared by all
instances.

Replace indirect calls through function pointers with direct calls to the
"priv_clock_(dis|en)able" function, which are renamed to "udc_stm32_..."
for consistency with the rest of the driver. The now-unused function
pointers are also removed from the instance data structure.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-11-25 17:39:37 +00:00
Mathieu Choplain
e5fdd46a39 drivers: usb: udc: stm32: expand USB_RAM_SIZE in place where it's consumed
Instead of using global macro "USB_RAM_SIZE", replace it by its content
(i.e., DT_INST_PROP()) in the only place where it was used.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2025-11-25 17:39:37 +00:00
Martin Hoff
87ab3e337a soc: silabs: siwx91x: introduce zero latency irq
The HAL used by the SiWx91x SoC implements a mechanism to protect
atomic sections. Since this HAL also supports a zero-latency
interrupt (ZLI) mechanism, we need to ensure the same number of
bits are used for ZLI interrupts.
The interrupt priority level (2) depends on a hardcoded value in the
Simplicity SDK (CORE_ATOMIC_BASE_PRIORITY_LEVEL).
Without this fix, arch_irq_lock (which sets the BASEPRI register to
0x4 when zero-latency interrupts are not enabled) is overridden by
CORE_EnterAtomic in the HAL, which sets BASEPRI to 0xC since the HAL
does not use the BASEPRI_MAX function. IRQ might then fires since it's
register with a lowest priority in Zephyr.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-11-25 17:39:13 +00:00
Peter Mitsis
ce6c26a927 kernel: Simplify move_current_to_end_of_prio_q()
It is now more obvious that the move_current_to_end_or_prio_q() logic
is supposed to match that of k_yield() (without the schedule point).

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-11-25 17:37:52 +00:00