Commit graph

126,787 commits

Author SHA1 Message Date
Guillaume Gautier
c712d1e817 dts: arm: st: n6: add timers nodes
Add all 18 timer instances for STM32N6.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2025-08-21 17:05:57 +02:00
Ayman Elfayoumi
48689343dc Bluetooth: Simplify le_adv_update() function
Closes #94549
Removed vestigial d and d_len variables from le_adv_update()
and replaced them with a single bt_ad wrapper. This simplifies
the function while maintaining identical functionality.

Signed-off-by: Ayman Elfayoumi <aelfayoumi2@gmail.com>
2025-08-21 17:05:51 +02:00
Benjamin Cabé
5c7b7511ad include: drivers: sensor: enhance Doxygen documentation for XBR818
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c9a5b3dd07 include: drivers: sensor: enhance Doxygen documentation for VEAA X-3
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
9e421453b6 include: drivers: sensor: enhance Doxygen documentation for TMP11X
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
a083467e67 include: drivers: sensor: enhance Doxygen documentation for TMAG5273
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c6d4f08f73 include: drivers: sensor: enhance Doxygen documentation for TLE9104
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
dd4021e8cd include: drivers: sensor: enhance Doxygen documentation for TCS3400
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
5839060a6c include: drivers: sensor: enhance Doxygen documentation for SGP40
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
8dd89aa175 include: drivers: sensor: enhance Doxygen documentation for SCD4X
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
cde1bfeeeb include: drivers: sensor: enhance Doxygen documentation for QDEC MCUX
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
8fcb347c96 include: drivers: sensor: enhance Doxygen documentation for PAJ7620
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c2a136e13d include: drivers: sensor: enhance Doxygen documentation for MLX90394
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
3b4fd4a56c include: drivers: sensor: enhance Doxygen documentation for MH-Z19B
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
21089fdd7b include: drivers: sensor: enhance Doxygen documentation for LM95234
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
22a5816c00 include: drivers: sensor: enhance Doxygen documentation for Grow R502A
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
838e398c71 include: drivers: sensor: enhance Doxygen documentation for FCX-MLDX5
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
a9da4ce4b3 include: drivers: sensor: enhance Doxygen documentation for F75303
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
6e599fd5e5 include: drivers: sensor: enhance Doxygen documentation for ExplorIR-M
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
e64bcda107 include: drivers: sensor: enhance Doxygen documentation for BMP581
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
ad929338c2 include: drivers: sensor: enhance Doxygen documentation for BMM350
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
0d06b41ea5 include: drivers: sensor: enhance Doxygen documentation for BD8LB600FS
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
28ff20fc38 include: drivers: sensor: enhance Doxygen documentation for AFBR-S50
Complete the Doxygen documentation for this sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
518f5d295d include: drivers: sensor: enhance Doxygen documentation for ADLTC2990
Complete the Doxygen documentation for the ADLTC2990 sensor driver,
put in sensor_interface_ext group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Benjamin Cabé
c1251fa09e include: drivers: sensor: add new Doxygen group for device-specific API
Add a new Doxygen group that can be used to group device-specific API
extensions.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 17:05:39 +02:00
Marek Matej
48c87b9238 boards: espressif: update images
Update Espressif boards images to use transparent background.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-08-21 17:05:35 +02:00
Marek Matej
df0c723dda boards: espressif: update documentation
Re-work the Espressif supported boards documentation:

* Include repeated parts into included block
* Flatten the headers hierarchy
* Update the board variants usage.
* Fix references

Signed-off-by: Marek Matej <marek.matej@espressif.com>
2025-08-21 17:05:35 +02:00
Benjamin Cabé
6f2d4073f5 drivers: include: pwm: add doxygen for MAX31790
Add a doxygen group for PWM api extensions and mount the now cleaned up
documentation for the MAX31790 driver into it.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 16:01:33 +02:00
Benjamin Cabé
5fe902f178 include: drivers: video: doxygen fixes
Clean up some redundant or paraphrasing Doxygen comments.
Add documentation for the MIPI CSI-2 data types.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 16:00:14 +02:00
Guennadi Liakhovetski
414ede3057 xtensa: jump to GDB upon exception
If the GDB stub is enabled the exception handler will jump to the GDB
stub to allow remote GDB debugging.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2025-08-21 15:58:44 +02:00
Kevin Wang
618b6b46a5 tests: drivers: dma: Update board config and overlay for adp_xc7k_ae350
1. Add config and overlay file in test scatter_gather for adp_xc7k_ae350
   and adp_xc7k_ae350_clic to support the test case.
2. Modify the config file in test chan_blen_transfer and loop_transfer
   because the tests do not support the NOCACHE memory configuration,
   the DCACHE configuration needs to be disabled.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2025-08-21 15:58:35 +02:00
Kevin Wang
06bec271d9 drivers: dma: atcdmac300: Upgrade atcdmac driver to support series device
1. Upgrade the ATCDMAC driver to make it compatible with multiple
   ATCDMAC series drivers.
2. Rename the driver from ATCDMAC300 to ATCDMACX00.

Signed-off-by: Kevin Wang <kevinwang821020@google.com>
2025-08-21 15:58:35 +02:00
Sebastian Głąb
4330c06a20 boards: nordic: nrf54lm20dk: Extend ext memory node with reset GPIO
Extend external memory node with 'reset-gpios' property.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
2025-08-21 15:46:57 +02:00
Pavel Vasilyev
bcdd74d815 bluetooth: host: gatt: destroy key after hash calc completes
To generate the GATT Database Hash characteristic, the function
`db_hash_setup` is called. It allocates an entry for the AES key that will
be used in the CMAC calculation. Next, `db_hash_update` is called to feed
all GATT database entries into the hash. Finally, `db_hash_finish`
produces the resulting hash.

However, the AES key entry allocated in `db_hash_setup` was not being
destroyed after the hash generation completed. This caused a memory
leak, eventually leading to the error `PSA_ERROR_INSUFFICIENT_MEMORY`
(`-134`).

This commit fixes the issue by destroying the allocated AES key after
the GATT Database Hash calculation is complete, by calling
`psa_destroy_key` in `db_hash_finish`.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
2025-08-21 15:46:48 +02:00
Emil Gydesen
f31fd73d23 samples: Bluetooth: BAP: Broadcast sink fix bad USB check
Use CONFIG_USE_USB_AUDIO_OUTPUT instead of CONFIG_USB_DEVICE_AUDIO
when assigning USB streams, as CONFIG_USB_DEVICE_AUDIO is unused
by the sample.

Additionally the BSIM test for the sample also incorrectly used it,
so the Cmakelist.txt file was updated to correctly include sources.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-21 15:46:39 +02:00
Ayush Singh
740ce9f2bf boards: beagle: pocketbeagle_2: Add MSPM0 support
PocketBeagle 2 contains an MSPM0L1105 soc which emulates ADC and EEPROM.
It is connected to the AM62xx soc over I2C and SPI.

The initial support just allows building the minimal zephyr sample. Due
to the constraints and the purpose of the SOC, most peripherals should
not be enabled in the main dts.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-08-21 15:46:28 +02:00
Ayush Singh
ef9baf67e7 drivers: clock_control: mspm0: Check SOC for HFCLK
- The function DL_SYSCTL_setHFCLKSourceHFCLKIN is not defined for
  MSPM0L11XX and MSPM0L13XX.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-08-21 15:46:28 +02:00
Ayush Singh
ce57c2f39d soc: ti: mspm0: mspm0l: Selectively enable MPU
- Not all MSPM0L series socs seem to have MPU. After a glance at the TI
  website for features, only MSPM0L222x class socs seem to have MPU.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-08-21 15:46:28 +02:00
Thomas Altenbach
7436b9dd85 drivers: flash: flash_stm32_qspi: Add support for cs-high-time
This commit adds support for the new cs-high-time devicetree property.
The QUADSPI_DCR_CSHT is now configured according to the value indicated
in the devicetree, for both single and dual flash modes.

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-08-21 15:46:12 +02:00
Thomas Altenbach
7c39ca348a boards: Add cs-high-time for all STM32 boards using QSPI flash
This commit set the value of the cs-high-time property for all
STM32-based boards defined in Zephyr and having a QSPI flash memory.
The value is chosen according to the flash memory requirements (often
named 'tSHSL' in the datasheets) and the maximum QSPI frequency.

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-08-21 15:46:12 +02:00
Thomas Altenbach
d14750118b dts: bindings: flash_controller: Add CS high time to stm32-qspi-nor
The STM32 QUADSPI peripheral allows to configure, in clock cycles, the
duration the chip select signal must stay high between each command sent
to the flash memory controller (QUADSPI_DCR_CSHT).

Currently, this value is set by the flash driver to 1 clock cycle in
single flash mode and 3 clock cycles in dual flash mode. However, the
minimal duration depends on the flash memory (typically 30-50 ns) and
the number of clock cycles on the QSPI's clock frequency. So, adding
this new property allows to select the value of CSHT to match the
requirement of the flash memory used. Also note that in single flash
mode, the current configuration is out-of-spec for most flash memories.

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-08-21 15:46:12 +02:00
Thomas Altenbach
b147d78c2f drivers: flash: stm32_qspi: Use sample shift also in single flash mode
The QSPI 1/2 sample shift (SSHIFT) was only enabled in dual flash mode.
This feature is useful to guarantee that data is ready at the sampling
moment, even if the signals are a bit delayed due to PCB constraints.
Therefore, it should be enabled when possible (only supported in STR
mode).

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-08-21 15:46:12 +02:00
Benjamin Cabé
ee2a1bb17a include: logging: consolidate log backends API docs
Make sure that the log backends API docs are showing up in online docs

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-21 13:13:56 +02:00
Vinayak Kariappa Chettimada
5f852998d0 tests: bsim: Bluetooth: Workaround Zephyr Controller scheduling overlap
Workaround test failures due to Zephyr Controller scheduling
overlap causing Periodic Advertising Sync timeouts, ACL
connection failed to be established or Controller assertion
when having latency at the CIS setup instant.

Workaround by using `-start_offset` to ensure that the ACL
established does not overlap the sink being established.

Relates to commit 490da9ec96 ("tests: bsim: Bluetooth:
Workaround overlapping ACL in BAP broadcast sink").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-21 13:07:20 +02:00
Vinayak Kariappa Chettimada
278dcabe97 samples: Bluetooth: hci_ipc: Support two Broadcast ISO instances
Update to support two Broadcast ISO instances and update HCI
buffer counts.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-21 13:07:20 +02:00
Vinayak Kariappa Chettimada
1d7437a644 tests: bsim: Bluetooth: Test 250 ACL connections
Updated to test 250 ACL connections in the multiple
identity across nrf52_bsim, nrf5340bsim and nrf54l15bsim
targets.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-21 13:07:20 +02:00
Vinayak Kariappa Chettimada
7f0ba00095 Bluetooth: Move BT_BUF_EVT_DISCARDABLE_ to Host Kconfig
Move BT_BUF_EVT_DISCARDABLE_ to Host Kconfig, as this is
not used by the Controller.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-21 13:07:20 +02:00
Vinayak Kariappa Chettimada
41505da49a Bluetooth: Missing Kconfig depends for BT_BUF_EVT_DISCARDABLE_
Missing depends on !BT_HCI_RAW for HCI Discardable Events
count and size.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-21 13:07:20 +02:00
Vinayak Kariappa Chettimada
3a8738179a Bluetooth: Controller: Fix assertion on BIG terminate sync
Fix assertion on BIG terminate sync and due to not receiving
terminate control procedure when there are no free buffers.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-21 13:07:20 +02:00
Cheng Chang
a5f25ba7b7 tests: bluetooth: classic: Add test suite l2cap client.
IUT works as a l2cap client with basic mode. The peer device,
l2cap server with basic mode, is a PC with running bumble on it.
This test only performs the function of L2CAP basic mode.
Support multiple l2cap enerties in new shell l2cap_br,
which may support more test function.

In the test suite , there are two groups in test cases.
Group 1 Including case1-case24 focuses on connection and
disconnection around l2cap. The impact of active and passive
acl connectivity, disconnectivity and authentication as well as
disconnection from ACL without l2cap disconnect is tested.

Group2 Including case25-case31 revolves around the basic
 parameters of L2CAPserver configuration, data transfer.
Case 25: Test l2cap connection with max MTU(0xffff).But the max mtu
which the stack supports is (CONFIG_BT_BUF_ACL_RX_SIZE - 4U = 196).
Case 26:  Test l2cap multi_channel connection and data tranfer.
Case 27: Test l2cap connection with invaild PSM.
Case 28: Test l2cap re_connect after disconnected.
Case 29: Test l2cap connection with min MTU(0x30).set server mtu = 48,
client mtu=48. l2cap connect successfully,
both server and client mtu should be 48.
Case 30: Test l2cap connection with min MTU(0x30). set server mtu = 48,
client mtu=0x27. l2cap connect fail.
Case 31: Test l2cap connection with min MTU(0x30).set server mtu = 30,
client mtu=48.l2cap connect successfully,
both server and client mtu should be 48.

test_l2cap_client.py is a file containing real test cases.
test_l2cap_common.py is a common file. It encapsulates some
test function functions that are commonly used for test cases.

Signed-off-by: Cheng Chang <cheng.chang@nxp.com>
2025-08-21 13:07:08 +02:00