Commit graph

126,787 commits

Author SHA1 Message Date
Phuc Pham
0760f6fcff samples: drivers: adc: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC sample support for Renesas RZ/A3UL-SMARC,
RZ/T2M-RSK, RZ/N2L-RSK, RZ/V2L-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
3661d1903f tests: drivers: adc: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC test support for Renesas RZ/A3UL-SMARC,
RZ/T2M-RSK, RZ/N2L-RSK, RZ/V2L-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
7b9329e43d boards: renesas: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC support for board Renesas RZ/A3UL-SMARC,
RZ/T2M-RSK, RZ/N2L-RSK, RZ/V2L-SMARC

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
1fa1565aed dts: renesas: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC nodes to Renesas RZ/A3UL, T2M, N2L, V2L

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
41e78de206 dts: renesas: Fix ADC register size for Renesas RZ/G3S
Change the adc node's compatible of RZ/G3S to renesas,rz-adc-c
Fix ADC node register size for Renesas RZ/G3S

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
371f2925dc drivers: adc: Add ADC support for Renesas RZ/A3UL, T2M, N2L, V2L
Add ADC driver support for Renesas RZ/A3UL, T2M, N2L, V2L

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Phuc Pham
8931a9260f manifest: Update commit id for hal_renesas
Update commit id for hal_renesas

Signed-off-by: Phuc Pham <phuc.pham.xr@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-18 11:56:47 +02:00
Kai Cheng
99243afec0 Bluetooth: PNP: add pnp product id interface and tool
add pnp product id interface and tool for HID profile

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2025-08-18 10:55:19 +02:00
Kai Cheng
82fd0b898a Bluetooth: PNP: add pnp vendor id interface and tool
add pnp vendor id interface for hid feature.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2025-08-18 10:55:19 +02:00
Kai Cheng
ff2503c002 Bluetooth: SDP: wrap sdp attr item into u16 common func
Wrap sdp attr item into u16 common function, and it would help
to add pnp etc info

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2025-08-18 10:55:19 +02:00
MA Junyi
c552847a2f boards: embedsky: add support for TQ‑H503A
This patch introduces a new board definition for embedsky’s
TQ‑H503A development board, based on the STM32H503CBT6 SoC.

Tested: successfully built, ran and debug
`hello_world` and `blinky` samples.

Signed-off-by: MA Junyi <mjysci@live.com>
2025-08-18 10:54:55 +02:00
Artur Hadasz
b43ce97c6b bootloader: mcuboot: Fix encryption not being selected in bootloader
In some cases this resulted in the device not booting.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2025-08-18 10:54:37 +02:00
Hake Huang
364da85a8c tests: display: display_check: add customized variable for configs
To ensure the case can be compatible with different cameras,
we need customized setting for camera,
so add environment variable to control the configs

Signed-off-by: Hake Huang <hake.huang@oss.nxo.com>
2025-08-18 10:54:22 +02:00
Dmitrii Sharshakov
4229700496 hwinfo: rpi_pico: add more reset reasons for RP2350
RP2350 features a glitch detector which can be treated as a security
mitigation, and more ways debug adapters can reset CPUs, add those
as well.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-08-18 10:53:49 +02:00
Camille BAUD
ffb28eed1d doc: greyscale -> grayscale migration guide
notice change of property name

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-16 21:38:13 +02:00
Camille BAUD
70469b6a27 drivers: display: improve LUT table for ssd1363
Model on ssd1327

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-16 21:38:13 +02:00
Camille BAUD
36f2436206 drivers: display: greyscale -> grayscale for ssd1363
british english -> american english

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-16 21:38:13 +02:00
Camille BAUD
21f80b33d2 drivers: display: ssd1327: lut table as const
LUT table to rom instead of ram

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-08-16 21:38:13 +02:00
Piotr Kosycarz
f458e8b904 samples: drivers: led: lp5569: add required fixture
Indicating that additional HW is needed to run this sample.

Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
2025-08-16 21:38:03 +02:00
Declan Snyder
6639d78355 drivers: flexio: Fix build errors when doze not defined
some platforms dont have these doze related symbols defined, and causes
a build error, fix with #ifdef bandaid.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-08-16 10:20:41 +02:00
Sean Kyer
3ef52ad3eb samples: net: ocpp: Fix cast warning
Fix warnings generated for casting between pointers
and integers of different sizes in ocpp sample.

Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
2025-08-16 10:20:26 +02:00
Sean Kyer
a28925af31 net: ocpp: Fix cast warning
Fix warnings generated from casting pointers
of different sizes and string literals in ocpp

Signed-off-by: Sean Kyer <Sean.Kyer@analog.com>
2025-08-16 10:20:26 +02:00
Emil Gydesen
f3a0e276a0 tests: Bluetooth: CAP: Test return early for unicast_group_foreach_stream
Add test that ensures that bt_cap_unicast_group_foreach_stream terminates
correctly if the callback returns true.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-16 10:20:18 +02:00
Emil Gydesen
04dc211f64 Bluetooth: CAP: Fix bad return from bap_unicast_group_foreach_stream_cb
The function should stop iterating if the callback provided to
bt_cap_unicast_group_foreach_stream returns true.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-16 10:20:18 +02:00
Emil Gydesen
f085069b70 doc: releases: Add entry for bt_bap_broadcast_source_foreach_stream
Add entry for the new function bt_bap_broadcast_source_foreach_stream.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-16 10:20:10 +02:00
Emil Gydesen
dd3aa38f2f tests: Bluetooth: BAP: Unittest bt_bap_broadcast_source_foreach_stream
Adds unittests for bt_bap_broadcast_source_foreach_stream.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-16 10:20:10 +02:00
Emil Gydesen
ddfc33a4e5 Bluetooth: BAP: Implement bt_bap_broadcast_source_foreach_stream
Implement the function bt_bap_broadcast_source_foreach_stream that
allows users to iterate on all BAP streams in a BAP broadcast source.
This can be used to easily get reference to other broadcast streams in
the same group as any other stream via the stream->group pointer
or a broadcast source pointer directly.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-16 10:20:10 +02:00
Mathieu CHOPLAIN
ae95774268 doc: release: release notes-4.3: document new ARM C-M save/restore APIs
Add node about new architecture APIs to save and restore ARM Cortex-M
system state.

Signed-off-by: Mathieu CHOPLAIN <mathieu.choplain@st.com>
2025-08-16 10:19:54 +02:00
Michele Sardo
9e84e4a638 arch: arm: cortex_m: Add API for SCB save and restore
Add new API to save and restore SCB context. This is typically useful when
entering and exiting suspend-to-RAM low-power modes.

The scb_context_t and the backup/restore functions are designed to only
handle SCB registers that are:
- Mutable: Their values can be changed by software.
- Configurable: They control system behavior or features.
- Stateful: Their values represent a specific configuration that an
            application might want to preserve and restore.

Registers excluded from backup/restore are:
1. CPU/feature identification registers
	Motivation: These registers are fixed in hardware and read-only.
2. ICSR (Interrupt Control and State Register)
	Motivation: Most bits of ICSR bits are read-only or write-only
	and represent volatile system state. STTNS is the only read-write
	field and could be considered part of the system state, but it is
	only present on certain ARMv8-M CPUs, and Zephyr does not use it.
3. CFSR (Configurable Fault Status Register)
   HFSR (HardFault Status Register)
   DFSR (Debug Fault Status Register)
   AFSR (Auxiliary Fault Status Register)
   MMFAR (MemManage Fault Address Register)
   BFAR (BusFault Address Register)
	Motivation: These registers are read/write-one-to-clear and
	contain only fault-related information (which is volatile).

Co-authored-by: Mathieu Choplain <mathieu.choplain@st.com>

Signed-off-by: Michele Sardo <msmttchr@gmail.com>
Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-08-16 10:19:54 +02:00
Biwen Li
0e830e84ec boards: nxp: imx943_evk: m33: add i2c support
Add i2c support for m33(in NETCMIX) of imx943_evk

Signed-off-by: Biwen Li <biwen.li@nxp.com>
2025-08-16 10:19:31 +02:00
jacob kung
7d6b48a403 drivers: spi: spi_et171: add memory aligned rx buffers for DMA transceive
Split the RX buffer into multiple sub-buffers aligned to DCACHE boundaries
to ensure proper operation during DMA transceive.

Signed-off-by: jacob kung <jacob.kung@egistec.com>
2025-08-16 10:18:58 +02:00
jacob kung
a0adc1f7f5 drivers: spi: add et171 spi driver
The Egis ET171 SPI controller was based on Andes ATCSPI200,
but has since been modified. In particular, the WrTranCnt and RdTranCnt
fields from the SPI Transfer Control Register have been moved to dedicated
Wr_Tran_Cnt and Rd_Tran_Cnt registers.

Signed-off-by: jacob kung <jacob.kung@egistec.com>
2025-08-16 10:18:58 +02:00
Johan Hedberg
30527e5403 Bluetooth: Host: Rename acl_data to bt_conn_rx
We already have bt_conn_tx for outgoing buffer user data, so name the
struct for incoming (rx) buffers similarly. Also, update ISO to use this
struct instead of a custom iso_data struct, since the content and purpose
is identical.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-08-16 10:18:50 +02:00
Fabio Baltieri
1cb0b6a7ff manifest: update hal_ti to work with cmsis_6
Pick up a commit to drop a hal cmsis 5 copy and fix it to work with
cmsis 6.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-08-15 10:04:07 -04:00
Håvard Reierstad
fbd7acec25 Bluetooth: Host: Remove deprecated device name API
Removes the BT_LE_ADV_OPT_USE_NAME and BT_LE_ADV_OPT_FORCE_NAME_IN_AD
advertiser options and related flags, macros and functions. The
application now needs to include the device name explicitly.

The API was deprecated in
https://github.com/zephyrproject-rtos/zephyr/pull/71700

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2025-08-15 15:34:58 +02:00
Alberto Escolar Piedras
8522f513b1 boards native: Support using lld as linker for native simulator runner
Let's assume that if a user sets the linker to be lld (likely with
CONFIG_LLVM_USE_LLD=y) that they also want the native simulator runner
to be linked with it.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-08-15 15:34:50 +02:00
Martin Stumpf
c50a48ac31 display: sdl: add CONFIG_SDL_DISPLAY_COLOR_TINT
Allows the SDL display to be tinted in a specific color,
to allow the simulation of monochrome colored displays
like `R8` (`L8` + tint `0xff0000`)

Signed-off-by: Martin Stumpf <finomnis@gmail.com>
2025-08-15 15:34:27 +02:00
Yangbo Lu
2be724d0ce soc: nxp: imxrt118x: keep AHB clock running when CM7 is sleeping
Keep AHB clock running when CM7 is sleeping and TCM is accessible.
Otherwise, NETC transmission will fail.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-08-15 15:34:17 +02:00
Jeppe Odgaard
0970aa2dc1 drivers: sensor: ti: tmp11x: clang-format files and change DEFINE_TMP11X
Run clang-format on tmp11x.c and tmp11x.h and change `DEFINE_TMP11X` to
prevent too long lines when clang-format is run.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-08-15 15:34:12 +02:00
Jeppe Odgaard
0d01361e5b drivers: sensor: ti: tmp11x: reuse variable
Reuse `value` variable in `tmp11x_attr_set` to reduce the number of local
variables.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-08-15 15:34:12 +02:00
Jeppe Odgaard
ec02138402 drivers: sensor: ti: tmp11x: add optional attribute storage
Enable optional storage of sensor attribute values in EEPROM. On reset, the
device goes through a POR sequence that loads the values programmed in the
EEPROM into the respective register map locations.

The driver stores sample frequency, offset, oversampling, lower threshold,
upper threshold, alert pin polarity, alert mode and conversion mode if the
value is continuous or shutdown.

The functionality has been tested with sensor shell and power cycling
sensor:

Test (undocumented) temperature offset is stored:
```shell
uart:~$ sensor attr_set ti_tmp11x@48 ambient_temp offset 0
ti_tmp11x@48 channel=ambient_temp, attr=offset set to value=0
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (25.523436)
uart:~$ sensor attr_set ti_tmp11x@48 ambient_temp offset 50
ti_tmp11x@48 channel=ambient_temp, attr=offset set to value=50
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.617186)
uart:~$
[15:12:20.088] Disconnected
[15:12:36.106] Connected
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.554686)
uart:~$ sensor attr_get ti_tmp11x@48 ambient_temp offset
ti_tmp11x@48(channel=ambient_temp, attr=offset) value=50.000000
```

Test one-shot mode is not stored:
```shell
uart:~$ sensor attr_set ti_tmp11x@48 ambient_temp 18 1
ti_tmp11x@48 channel=ambient_temp, attr=accel_x set to value=1
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.562499)
uart:~$ sensor get ti_tmp11x@48 ambient_temp
Read failed
[00:00:21.332,000] <wrn> sensor_compat: Failed to fetch samples
uart:~$
[15:16:24.529] Disconnected
[15:16:33.540] Connected
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.406249)
uart:~$ sensor get ti_tmp11x@48 ambient_temp
[...] (75.351561)
```

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-08-15 15:34:12 +02:00
Jeppe Odgaard
0eebb85297 drivers: sensor: ti: tmp11x: add eeprom await function
Move await eeprom programming into function and add poll loop timeout.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-08-15 15:34:12 +02:00
Vinayak Kariappa Chettimada
72dac165d8 Bluetooth: Controller: Use OVERHEAD_XTAL_US from devicetree
Use the external crystal high frequency clock settling value
from devicetree.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-15 15:34:00 +02:00
Vinayak Kariappa Chettimada
b9fbf51d9e tests: Bluetooth: Mesh: Increase subnet bridge ivu test time
Commit increases IV index update testing time for subnet
bridge.

Due to change in startup time for external crystal, test
time expires earlier than test scenario reaches end.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-15 15:34:00 +02:00
Vinayak Kariappa Chettimada
1f1dfa534f linker: Fix DT_NODE_HAS_STATUS and DT_NODE_HAS_STATUS_OKAY redefined
Fix ‘DT_NODE_HAS_STATUS’ and ‘DT_NODE_HAS_STATUS_OKAY’
redefined warning.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-15 15:34:00 +02:00
Sandro Scherer
aa6f87dcbf style: fix readability-math-missing-parentheses warnings
If a project has enabled the clang-tidy check
readability-math-missing-parentheses,
then warnings are raised on usage of
some macros (e.g ARRAY_SIZE and K_MSEC).

Signed-off-by: Sandro Scherer <sand.scherer@gmail.com>
2025-08-15 10:31:05 +01:00
Hieu Nguyen
0db74e30ab tests: drivers: pwm: Add PWM support for Renesas RZ/A3UL
Add PWM test support for Renesas RZ/A3UL-SMARC

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00
Hieu Nguyen
5f1b728068 boards: renesas: Add PWM support for Renesas RZ/A3UL
Add PWM support for board Renesas RZ/A3UL-SMARC

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00
Hieu Nguyen
7bb772b9ea dts: renesas: Add PWM support for Renesas RZ/A3UL
Add MTU nodes to Renesas RZ/A3UL

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00
Hieu Nguyen
8e40b8a057 drivers: pwm: Add PWM support for Renesas RZ/A3UL
Add PWM driver support for Renesas RZ/A3UL

Signed-off-by: Hieu Nguyen <hieu.nguyen.ym@bp.renesas.com>
Signed-off-by: Tien Nguyen <tien.nguyen.zg@renesas.com>
2025-08-15 10:30:49 +01:00