Commit graph

126,787 commits

Author SHA1 Message Date
Etienne Carriere
4c77ea93a7 boards: st: stm32l562e_dk: correct ns variant RAM info
TF-M owns the last 64kByte of SoC internal SRAM1 in 'ns' variant of
board stm32l562e_dk. Update the board variant DTS and YAML files
accordingly and remove the default allocation of 2kB of malloc pool
that worked around this missing information.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-08 12:04:25 +02:00
Etienne Carriere
3529306a03 boards: st: stm32l562e_dk: remove ns variant useless configuration
Remove configuration directive CONFIG_ARM_TRUSTZONE_M=y for board
variant stm32l562e_dk//ns that is already selected by the SoC defconfig.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-08 12:04:25 +02:00
Etienne Carriere
76fcbe2df7 boards: st: stm32l562e_dk: correct ns variant YAML flash size tag
Correct the flash size tag in stm32l562e_dk//ns YAML size as
the non-secure zephyr firmware partition size is 168 bytes large.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-08 12:04:25 +02:00
Benjamin Cabé
02551294f9 tests: kernel: device: add missing node in hifive board overlays
A follow-up to commit d6ce2f4f41 that
introduced a new fakedeferdriver node in app.overlay, but due to how
overlays are applied, the board specific overlay files also need to
be updated to avoid build errors, as they override whatever app.overlay
has.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-08 12:04:14 +02:00
Ritesh Kudkelwar
a360cca365 dts: arm: st: u5: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32U5
DTSI files. Nodes are disabled by default; boards can enable encoder
mode via overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
ddb3b7600d dts: arm: st: l5: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32L5
DTSI files. Nodes are disabled by default so boards can enable encoder
mode via overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
9b9033a49f dts: arm: st: l4: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32L4
DTSI files. Boards can enable them in overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
615554cedc dts: arm: st: l1: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32L1
DTSI files. Boards can enable them in overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
9ba0694e26 dts: arm: st: l0: add st,stm32-qdec child node (disabled)
Add st,stm32-qdec child node (disabled) under TIM nodes in STM32L0
DTSI files. Boards can enable it in overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
3a5b7e5ac8 dts: arm: st: h7: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32H7
DTSI files. Nodes are disabled by default; boards may enable them via
overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
7a9281862c dts: arm: st: g4: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32G4
DTSI files. Nodes are disabled by default; boards may enable them via
overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
0f325c807c dts: arm: st: g0: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32G0
DTSI files. Boards can enable them in overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
5df57ff0d5 dts: arm: st: f7: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32F7
DTSI files. Nodes are disabled by default; boards may enable them via
overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
3281e77704 dts: arm: st: f4: clean QDEC node properties
Reorder and tidy QDEC node properties in STM32F4 DTSI files.
No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
bfbb0c6985 dts: arm: st: f3: add st,stm32-qdec child node (disabled)
Add st,stm32-qdec child node (disabled) under TIM nodes in STM32F3
DTSI files. Boards can enable the node via overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
61f983758a dts: arm: st: f2: clean QDEC node properties
Reorder QDEC node properties for consistency in STM32F2 DTSI files.
No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Ritesh Kudkelwar
784a8cb83a dts: arm: st: f1: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in the
STM32F1 DTSI files. Boards can enable encoder/decoder functionality
using overlays. No functional change.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2025-10-08 12:04:04 +02:00
Karol Lasończyk
8fb6ea2c8c tests: mbox: Add support for nRF54LM20A
Extend test coverage with new test.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
2025-10-08 12:03:55 +02:00
Szymon Janc
8c13c0740c tests: bluetooth: tester: Fix extra newline in logs
LOG_INF macro already adds newline at the line end.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2025-10-08 10:09:56 +02:00
Sebastian Głąb
e0a9a16a25 tests: drivers: uart: uart_async_api: Enable test on nrf54h20 PPR XIP
Add overlay and config file required to run the uart_async_api
test on nrf54h20dk/nrf54h20/cpuppr/xip platform.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-10-08 10:09:50 +02:00
Henrik Brix Andersen
afc65525c0 retention: remove unused API struct
Remove the unused/unnecessary retention subsystem API struct.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-10-08 10:09:41 +02:00
Emil Gydesen
1e436f43d1 tests: Bluetooth: PACS: Modify unittests to native_sim
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-08 10:09:33 +02:00
Emil Gydesen
af00bc5a90 tests: Bluetooth: Codec: Modify unittests to native_sim
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-08 10:09:27 +02:00
Dipak Shetty
13848189c3 boards: shields: add Mikroe RTC 18 Click shield
Add MikroElektronika RTC 18 Click shield support.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-10-08 10:09:21 +02:00
Dipak Shetty
15d398de8e tests: rtc: add microcrystal,rv3032 to build_all test suite
Ensure this driver is tested in the build_all test suite.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-10-08 10:09:21 +02:00
Dipak Shetty
5a018375e3 drivers: rtc: microcrystal rv3032 driver introduced
Added new driver for Micro Crystal RV-3032-C7 Real-Time
Clock Module.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-10-08 10:09:21 +02:00
Dipak Shetty
494d443030 dts: bindings: microcrystal,rv3032 binding introduced
Added a new binding for the microcrystal,rv3032 rtc driver.

Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
2025-10-08 10:09:21 +02:00
Adam BERLINGER
b5c7a67e77 drivers: i3c: stm32: Fix issue with DAA command
The TXFNF needs to be disabled for additional I3C targets
during the DAA process. Otherwise the TX interrupt might be triggered
before receiving full PID for target.

Signed-off-by: Adam BERLINGER <adam.berlinger@st.com>
2025-10-08 10:09:12 +02:00
Karsten Koenig
a50dc9fb8a boards: nordic: nrf54h20dk: ETM in JLinkScript
The JLinkScript originally configured more than needed which reduces
readability, so stripped it down to the minimum.
At the same time improved behavior under reset and added ETM to the
radiocore JLinkScript.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
0b5bb3c8c4 snippets: nordic-log-stm-tpiu-dict: Added
Added a new convience snippet to redirect logs to STM and then sink them
to TPIU where they can be captured by a trace probe.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
24353a8938 drivers: misc: nordic_vpr_launcher: Init order
Make sure the nordic_vpr_launcher gets started after the coresight
driver if that is present.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
02fb6fa1c8 snippets: nordic-log-stm: Updated for coresight
Replaced the old tddconf with the full coresight driver that configures
the coresight peripherals locally on the running core.
Also fixed minor bug in the corresponding sample where messages were not
shown for the radio core.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
6066a42748 drivers: debub: coresight: Added coresight_nrf
Added driver and bindings for the coresight nrf submodule.
add integrated it for the nrf54h20.
The coresight subsystem is a combination of ARM Coresight peripherals
that get configured together to achieve a simplified configuration based
on a desired operating mode.

This also replaces the previous handling in the nrf54h20 soc.c which was
powering the subsystem up but not configuring it.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
85363f9e53 drivers: pinctrl_nrf: Add coresight tpiu pins
Pinctrl needs to set the needed drive and direction of the pins. Also
this later allows automatically setting the clock bit for the traceclk
pin.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
925451e15c doc: migration-guide: Moved nrf_etr
Migration guide for the move of drivers/misc/nrf_etr to
drivers/debug/debug_nrf_etr.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Karsten Koenig
d833556ee5 drivers: debug: Moved nrf_etr from misc
Moved the nrf_etr driver from the drive/misc folder into the recently
established driver/debug folder where it is a better fit. Moved the
associated files such as bindings and headers accordingly as well.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-10-08 10:09:02 +02:00
Daniel Leung
7a1e82a335 boards: qemu/xtensa: ignore FPU and SMP testing tags
Ignore FPU and SMP tests for QEMU Xtensa boards as they do not
support these features, and have been filtered out already.
Add both tags to the ignore list so twister will not even try
to run cmake on them just to filter them out later.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-10-08 10:08:33 +02:00
Luca Burelli
adba71226a boards: arduino: use common usb_cdc_acm serial on all STM32H747 boards
Align all Arduino STM32H7-based boards to the same shared configuration:
- M7 core uses USB CDC ACM as the UART console backend
- M4 core uses a board-specific USART as the UART console backend
- Switch to the usb_device_next stack

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-10-08 10:08:26 +02:00
Abderrahmane JARMOUNI
bc2c089666 samples: drivers: adc: enhance test scenarios filtering
Make ADC samples' test scenarios depend on the existence of
required DT elements.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-10-08 08:47:27 +02:00
Abderrahmane JARMOUNI
bf34921e33 tests: drivers: adc: enhance test scenarios filtering
Make ADC tests' test scenarios depend on the existence of
required DT elements.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-10-08 08:47:27 +02:00
Abderrahmane JARMOUNI
fed89a038d scripts: pylib: twister: expr_parser: add dt_node_has_prop expression
Add 'dt_node_has_prop' expression to use the existence of a node property
as a filter in Twister test configuration yaml files.
First argument must be a node alias (in aliases node) or a node path,
not a nodelabel.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-10-08 08:47:27 +02:00
Cristian Bulacu
d93b59b3f0 openthread: platform: radio_spinel: Spinel variables on global memory
This commits aims to move spinel related variables from heap to global
arrays.
In this way, HEAP_MEM_POOL_ADD_SIZE_ does not need to be defined, or
updated if any change in data structure might occur.

Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
2025-10-08 08:46:14 +02:00
Jamie McCrae
01542407f9 scripts: utils: migrate_mcumgr_kconfigs: Remove old Kconfigs
Removes Kconfig changes which happened in Zephyr 3.3 or older

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-10-08 08:46:03 +02:00
Bill Waters
e9a6799736 drivers: i2c: minor update to Infineon driver
- update to the new name of the function used from
  the serial driver

Signed-off-by: Bill Waters <bill.waters@infineon.com>
2025-10-08 08:45:48 +02:00
Emil Gydesen
35a4613bf7 tests: Bluetooth: Controller: Fix bad string formats
A handful of Bluetooth controller tests were using %d for
non-int values. Some of the values were either uint64_t or
long unsigned ints.

In most cases, the types could be modified to uint8_t and
the formats changed to use %u.
In some macros, the types were just cast, as the values
would never be larger than uint8_t. The values in this case
were defined as e.g. BIT(0), BIT(1) and BIT(2) (which use the
UL type in the macro).

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-08 08:45:37 +02:00
Emil Gydesen
4b9bc7d11b Bluetooth: Controller: Fix return types for ll_length
ll_length_req_send and ll_length_default_set were defined to return
a uint32_t, but only returned a uint8_t HCI error code and
was the return value was always stored as such.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-08 08:45:37 +02:00
Tommi Kangas
f8f87c0752 boards: nrf9280pdk: Fix LED pins for rev. 0.2.0 with IronSide
LED pins need to be set in the cpuapp/iron rev. 0.2.0 overlay.

Signed-off-by: Tommi Kangas <tommi.kangas@nordicsemi.no>
2025-10-08 08:45:15 +02:00
Torbjørn Biering Tvermosegaard
863a7668b3 drivers: adc: ad599x: Fix async logic error and driver breakdown
The general ADC documentation states, that it is possible to use the
adc_read_async function with third parameter (k_poll_signal *async) set to
NULL, in which case the callback is called when all channels have been
converted. This change fixes this issue as it now also checks if a callback
has been set.

Signed-off-by: Torbjørn Biering Tvermosegaard <tbt@foss.dk>
2025-10-08 08:45:08 +02:00
Emil Gydesen
d9a691c2bf tests: Bluetooth: BAP: Modify BASE unittests to native_sim
Modify the unit tests to use the native_sim board instead of the
unit_testing board.
The native_sim board allows us to use the kernel in a more
regular way, while still being able to treat the tests as
unittest.

This commit also removes unused includes in the CMakelists.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-10-08 08:44:52 +02:00
Ayush Singh
7781f95f44 samples: subsys: mgmt: mcumgr: smp-svr: Enable for BeagleConnect Freedom
- Add config to enable the sample for BeagleConnect Freedom over 802154
  subg.
- Also add instructions to the docs.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-10-08 08:44:28 +02:00