Commit graph

126,787 commits

Author SHA1 Message Date
Camille BAUD
1afca0369c arch: riscv: Add support for Xuantie CPUs
Adds some support for xuantie CPU, namely cache control

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-10-08 15:12:49 -04:00
Vinayak Kariappa Chettimada
45d4d4ffb7 samples: Bluetooth: Fix BAP unicast client and server buffer counts
Fix BAP unicast and server sample ISO Tx buffer count to
match the minimum required to consistently transmit SDUs
in every ISO interval.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-08 15:12:32 -04:00
Vinayak Kariappa Chettimada
7fd5dea9cc Bluetooth: Controller: Cosmetic changes to Link Layer interface
Cosmetic changes to the Link Layer interface header file.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-08 15:12:22 -04:00
Hugues Fruchet
47e68bece9 samples: video: tcpserversink: add stm32n6570_dk support
Add configuration files for the stm32n6570_dk board.

This enables streaming over ethernet of the images captured by
MB1854 camera module compressed in 1920x1080 H264 video bitstream.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-08 15:11:56 -04:00
Hugues Fruchet
9497b60fe1 samples: video: tcpserversink: video compression support
Add video compression support to lowerize network bandwidth.

To visualise camera content on host PC, use GStreamer command line:
$> gst-launch-1.0 tcpclientsrc host=<board ip address> port=5000 ! \
          decodebin ! autovideosink sync=false

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-08 15:11:56 -04:00
Hugues Fruchet
aeb41fa636 samples: video: tcpserversink: N-buffering configuration
Allow to configure the number of allocated capture frames.
This allows to make tradeof between framerate versus memory usage.
2 buffers allows to capture while sending data (optimal framerate).
1 buffer allows to reduce memory usage but capture framerate is lower.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-08 15:11:56 -04:00
Hugues Fruchet
92eaf08053 samples: video: tcpserversink: sync with capture sample
Sync with video capture sample.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-08 15:11:56 -04:00
Hugues Fruchet
f40e031d8a samples: video: tcpserversink: change printk to LOG_
Change printk debug traces to LOG_*.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-08 15:11:56 -04:00
Alain Volmat
2654845b93 snippets: stm32: addition of video-stm32-venc
Addition of a snippet in order to enable and configure the
STM32 VENC encoder

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2025-10-08 15:11:56 -04:00
Hugues Fruchet
926aac9fe7 doc: build: dts: api: document the zephyr,videoenc chosen node
Add the zephyr,videoenc chosen node documentation for hardware
video encoder support such as H264 or MJPEG video encoder.

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
2025-10-08 15:11:56 -04:00
Anisetti Avinash Krishna
8e799c4f73 boards: intel: btl: Added revisions to support Hybrid and 12P
Added revisions to support Hybrid and 12P versions of
Bartlett Lake Platform.

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
2025-10-08 15:10:58 -04:00
Flavio Ceolin
750092dea6 modules: mbedtls: Add security warning
Add a warning informing about security issues when
TLS/DTLS is used without providing MBEDTLS access to
time/date functions (enabling CONFIG_MBEDTLS_HAVE_TIME_DATE).

Signed-off-by: Flavio Ceolin <flavio@hubble.com>
2025-10-08 15:10:46 -04:00
Seppo Takalo
4040a1e2b2 drivers: modem: Extract common dts bindings
Extract common DTS bindings to zephyr,cellular-modem-device.yaml
as these are referred in the modem_cellular.c in the
MODEM_CELLULAR_DEFINE_INSTANCE() macro.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2025-10-08 15:09:46 -04:00
Vinayak Kariappa Chettimada
8eae0bfbd0 Bluetooth: Controller: Fix single switch timer use in ISO Sync
Fix implementation of Broadcast ISO Synchronized Receiver
using single switch timer to consider minimum compare value
requirement.

This fix reduces latencies to setup radio receptions and
fixes an assertion in lll_sync_iso when radio_tmr_start_us()
is checked for latencies.

Relates to commit 5dfc58cff9 ("Bluetooth: Controller: Fix
single switch timer minimum compare value").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-10-08 15:09:33 -04:00
Glenn Andrews
60058d7afa boards: disco_l475_iot1 update openocd.cfg
Latest versions of OpenOCD don't seem to work with
`transport select hla_swd`, but the `board/stm32l4discovery.cfg`
file should work on any version of OpenOCD that contains it
(including my older version).

This should keep things forward-compatible.

Probably this will affect other stm32 boards using `hla_swd`
but I have no way of testing them.

Signed-off-by: Glenn Andrews <glenn.andrews.42@gmail.com>
2025-10-08 15:09:16 -04:00
Marc Espuña
ce1235d16a tests: drivers: build_all: cover uc8151d
Add a UC8151D node to the build_all display overlay so the
continuous-integration build exercises the new driver path. The dummy
profile overrides only CDI and VCOM to keep the overlay lightweight
while still covering the relevant code paths.

Signed-off-by: Marc Espuña <mespuna@cactusiot.com>
2025-10-08 15:08:57 -04:00
Marc Espuña
5b595e33eb drivers: display: uc8151d: Add UC8151D display controller support
Add support for the UltraChip UC8151D e-paper display (EPD) controller.
The UC8151D is part of the UC81xx family of display controllers commonly
used in e-ink displays.

This implementation extends the existing UC81xx driver infrastructure by
adding device tree bindings, Kconfig options, and the necessary driver
code to support the UC8151D variant.

Signed-off-by: Marc Espuña <mespuna@cactusiot.com>
2025-10-08 15:08:57 -04:00
Arun Kumar Nagelly
5a70c3d6b7 soc: silabs: siwx91x: enable BLE stack bypass for host-driven operation
Set SL_SI91X_BT_BLE_STACK_BYPASS_ENABLE in ble_ext_feature_bit_map to
support host-driven BT/BLE stack operation on SiWx91x devices.

When enabled:
- Events are delivered directly to the host, bypassing internal stack
  processing
- Ensures critical events like CARD_READY reach the host reliably
- Allows external host stack to control BT/BLE operations
- Provides more memory to the application, as the internal stack is
  bypassed

This change enables direct event packet delivery from the firmware event
handler, ensuring proper operation when the internal BT stack is
bypassed.

Required for BT/BLE tester and host-controlled stack configurations.

Signed-off-by: Arun Kumar Nagelly <arnagell@silabs.com>
2025-10-08 15:07:55 -04:00
Rob Cornall
6467e99a5e boards: arm: max32: enable mpu by default on MAX32xxx boards.
MPU is supported on MAX32 soc family. Enable it by default for all
supported MAX32XXX boards.

Signed-off-by: Rob Cornall <Rob.Cornall@analog.com>
2025-10-08 15:07:38 -04:00
dependabot[bot]
e46510bff7 ci: doc: bump sphinx-sitemap in /doc in the doc-deps group
Bumps the doc-deps group in /doc with 1 update: [sphinx-sitemap](https://github.com/jdillard/sphinx-sitemap).


Updates `sphinx-sitemap` from 2.8.0 to 2.9.0
- [Release notes](https://github.com/jdillard/sphinx-sitemap/releases)
- [Changelog](https://github.com/jdillard/sphinx-sitemap/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jdillard/sphinx-sitemap/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: sphinx-sitemap
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: doc-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 15:07:19 -04:00
dependabot[bot]
472c29a0af ci: github: bump the actions-deps group with 4 updates
Bumps the actions-deps group with 4 updates: [github/codeql-action](https://github.com/github/codeql-action), [fsfe/reuse-action](https://github.com/fsfe/reuse-action), [ossf/scorecard-action](https://github.com/ossf/scorecard-action) and [actions/stale](https://github.com/actions/stale).


Updates `github/codeql-action` from 3.30.5 to 3.30.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3599b3baa1...64d10c1313)

Updates `fsfe/reuse-action` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/fsfe/reuse-action/releases)
- [Commits](bb774aa972...676e2d560c)

Updates `ossf/scorecard-action` from 2.4.2 to 2.4.3
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](05b42c6244...4eaacf0543)

Updates `actions/stale` from 10.0.0 to 10.1.0
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](3a9db7e6a4...5f858e3efb)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: fsfe/reuse-action
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions-deps
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-deps
- dependency-name: actions/stale
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 15:06:50 -04:00
Titouan Christophe
dba0a28f52 samples: subsys: usb: midi: fix compilation warning
This fixes the following compilation warning:

    format '%X' expects argument of type 'unsigned int',
    but argument 2 has type 'long unsigned int'

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
2025-10-08 15:06:33 -04:00
Titouan Christophe
f7ccc6bae3 lib: midi2: fix const-incorrect ump_stream_responder_cfg
Passing a USB-MIDI device in a ump stream responder configuration,
as obtained from the device tree with DEVICE_DT_GET(), was wrongly
casting is from const struct device* to void*, hence removing the const
pointer attribute.

This incorrectness introduces some compilation issue. Let's therefore
make the device pointer constant in ump_stream_responder_cfg, and
add a macro to make the proper typecast consistently. Finally, adapt the
corresponding samples to use that new macro.

Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
2025-10-08 15:06:33 -04:00
Carles Cufi
8d202cb948 doc: coding style: Introduce a naming conventions section
Add a new section with Zephyr-wide naming conventions, as well as a
first rule for C code: area prefixes.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-10-08 17:47:58 +03:00
Marcio Ribeiro
e8c6695f08 drivers: adc: esp32: split adc_esp32.c between 2 files
Splits driver source code between adc_esp32.c and adc_esp32_dma.c to
improve maintenance

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-10-08 17:47:42 +03:00
Marcio Ribeiro
a96e18de97 drivers: adc: esp32: enable adc dma on non gdma socs
Enables adc dma on:
- esp32
- esp32-s2

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2025-10-08 17:47:42 +03:00
Michał Bainczyk
aa5b47634f drivers: timer: nrf_grtc_timer: use a function for cc enable check
Instead of checking register values directly, use a function from
nrfx that does this.

Signed-off-by: Michał Bainczyk <michal.bainczyk@nordicsemi.no>
2025-10-08 17:47:32 +03:00
Yassine El Aissaoui
b24f3f36c6 boards: nxp: mcxw23: Add support for BLE apps
Update board readme.
Add zephyr,uart-pipe to support bt_tester app.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-10-08 17:47:21 +03:00
Yassine El Aissaoui
4d90bca664 soc: nxp: mcxw: Add BLE support to MCXW2XX soc
Add configuration for BLE
Add 32KHz Osc clock needed by BLE
Move nxp_nbu.c include to be shared on mcxw7x and mcxw2x

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-10-08 17:47:21 +03:00
Yassine El Aissaoui
7f621c4b9c soc: nxp: mcxw: Isolate MCXW7xx-specific config from MCXW2xx
Both MCXW2xx and MCXW7xx now share the same SoC family
(CONFIG_SOC_FAMILY_MCXW).

Isolate mcxw7xx-specific module/code from mcxw2xx.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-10-08 17:47:21 +03:00
Yassine El Aissaoui
4bffa6456b dts: arm: nxp: mcxw23x: Add BLE dts information
Add HCI info and BLE interrupt.

Lower peripheral interrupt prio to make sure
LL irq have the highest one.
This is a prerequisite of the system.

Signed-off-by: Yassine El Aissaoui <yassine.elaissaoui@nxp.com>
2025-10-08 17:47:21 +03:00
Sašo Domadenik
2ac238cce0 drivers: sensor: ds18b20: Fix temperature calculation for ds18s20
The millionths value is calculated incorrectly.
The sensor has a precision of 0.5 which is 500000 millionths, but
there is an extra zero in the code. This fix removes the extra zero.

Signed-off-by: Sašo Domadenik <saso.doma@gmail.com>
2025-10-08 17:47:10 +03:00
Declan Snyder
f56f1967e0 drivers: uart_mcux_lpuart: Handle multiple uart case
Handle the case where there are multiple different kinds of UART on one
platform, the other UART driver select SERIAL_SUPPORT_ASYNC but LPUART
did not, causing build error in LPUART driver. Shield LPUART driver from
this case by introducing driver config to indicate that in fact LPUART
is the one enabling ASYNC.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-08 17:47:00 +03:00
Maureen Helm
6ca60371fc boards: adi: max32675evkit: Enable watchdog support
Enables watchdog support for max32675evkit board.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-10-08 17:46:42 +03:00
Maureen Helm
5d155745a4 boards: adi: max32680evkit: Enable RTC counter support
Enable RTC counter support for the max32680evkit board.

Signed-off-by: Maureen Helm <maureen.helm@analog.com>
2025-10-08 17:46:42 +03:00
Tien Nguyen
63194b8c98 MAINTAINERS: Add myself as Renesas RZ Platforms collaborator
Add myself (tiennguyenzg) as collaborator
in the Renesas RZ Platforms area

Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-10-08 17:46:35 +03:00
Benjamin Cabé
3168f0645e drivers: rtc: rv3032: fix clang error label followed by a declaration
Declare variable at the beginning of the function since having it
declared in the default case makes clang unhappy (can't declare a
variable after a label).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-08 17:46:24 +03:00
Jacky Lee
3d5e9cdd10 board: Add 'egis_et171' dev board
This is a development board for Egis et171 SOC.
It has basic peripherals such as GPIO, I2C, SPI,.. etc
and built-in USB.

Signed-off-by: Jacky Lee <jacky.lee@egistec.com>
2025-10-08 12:15:44 +02:00
Jacky Lee
83afba85d1 driver: Reuse andes_cache driver for compatible MCUs
Fixed a wrong function declare of 'nds_l2_cache_init'.
Replace `SOC_FAMILY_ANDES_V5` with `DT_HAS_ANDESTECH_ANDESCORE_V5_ENABLED`
condition to enable it to be used by compatible MCUs

Signed-off-by: Jacky Lee <jacky.lee@egistec.com>
2025-10-08 12:15:44 +02:00
Jacky Lee
9cde077512 soc: Add Egis et171
This is a SOC based on AE350. In addition to the core, some
modifications have been made to the peripheral functions,
including the integration of built-in USB.

Signed-off-by: Jacky Lee <jacky.lee@egistec.com>
2025-10-08 12:15:44 +02:00
Andre Heinemans
8760db3016 drivers: flash: flexspi_mx25um51345g: fix erase chip lut entry
The DDR LUT entry for ERASE_CHIP was configured with an incorrect
kFLEXSPI_Command, resulting in the erase operation not being executed.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2025-10-08 12:04:52 +02:00
Andre Heinemans
6a714d55d9 drivers: flash: flexspi_mx25um51345g: get max speed from dts
The maximum speed should be configured individually for each board
since it depends on the layout and the controller's flexspi capabilities.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2025-10-08 12:04:52 +02:00
Andre Heinemans
e774d82cbe drivers: flash: flexspi_mx25um51345g: fix DDR dummy cycles
In the DDR LUT, the dummy cycles were not defined for READ_STATUS_REG
and had a wrong value for READ.
The default amount of dummy cycles on this chip are 20 (0x14).
This means the LUT should contain the value of 0x28 (0x14*2) for DDR
at these entries.

Signed-off-by: Andre Heinemans <andre.heinemans@nxp.com>
2025-10-08 12:04:52 +02:00
Bartosz Miller
424459d5d7 tests: drivers: flash: Fix fixture assignment for the supply-gpios test
Supply-gpios feature test [nrf54h20] requires gpio_loopback fixture.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2025-10-08 12:04:42 +02:00
Zhaoxiang Jin
2eff0fd208 audio: dmic: Uniform indentation
Some parts of this file use tabs as indentation,
and some use spaces as indentation. This commit
unifies the indentation.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2025-10-08 12:04:32 +02:00
Etienne Carriere
45aea48746 boards: st: nucleo_l552ze_q: correct ns variant RAM info
TF-M owns the last 64kByte of SoC internal SRAM1 in 'ns' variant of
board nucleo_l552ze_q. 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
c5bacb30f5 boards: st: nucleo_l552ze_q: remove ns variant useless configuration
Remove configuration directive CONFIG_ARM_TRUSTZONE_M=y for board
variant nucleo_l552ze_q//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
a69ed69055 boards: st: b_u585i_iot02a: correct ns variant RAM info
TF-M owns the last 64kByte of SoC internal SRAM1 in 'ns' variant of
board b_u585i_iot02a. Update the board variant DTS and YAML files
accordingly and use RAM3 (512kB) as default Zephyr RAM since it is
larger than the remaining 128kB left in SRAM1.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-08 12:04:25 +02:00
Etienne Carriere
31aea408ce boards: st: b_u585_iot02a: remove ns variant useless configuration
Remove configuration directive CONFIG_ARM_TRUSTZONE_M=y for board
variant b_u585_iot02a//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
9f65833d0d boards: st: b_u585_iot02a: correct ns variant YAML flash size tag
Correct the flash size tag in b_u585_iot02a//ns YAML file. Non-secure
Zephyr firmware partition size is 1024 bytes large since merge of
commit f37660293b ("west.yml: Bump tf-m with stm32 patches").

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-10-08 12:04:25 +02:00