Commit graph

136,983 commits

Author SHA1 Message Date
Johannes Schuler
bd7d353ddc tests: drivers: flash: RDP testing on stm32u5
Add the configuration to run the testcase with
READOUT_PROTECTION (RDP) on nucleo_u575zi_q board.

Signed-off-by: Johannes Schuler <jschuler@testo.de>
2026-02-10 22:18:43 +01:00
Johannes Schuler
ec94191d70 drivers: flash: stm32u5/stm32l5 rdp
Implement readout protection for the STM32U5 / STM32L5 series.
Move the stm32u5 / stm32l5 flash register manipulation in
flash_stm32_option_bytes_write() to be called by the
flash_stm32_set_rdp_level().

Signed-off-by: Johannes Schuler <jschuler@testo.de>
2026-02-10 22:18:43 +01:00
Scott Worley
d63a36b320 dts: arm: microchip: mec: Fix MEC1653B flash0 node
The flash0 physical address in the node name did not
match the starting address in the reg property. This
part implements 352KB code SRAM starting at 0xC0000.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2026-02-10 13:44:02 -06:00
Daniel Leung
26b49e45df tests: kernel/semaphore: fix multiple threads wait test
The test_sem_multiple_threads_wait test spawns multiple threads
to wait on one semaphore. The test itself loops twice, and in
each iteration it calls k_thread_create() to create new threads
but without joining the threads at the end of the loop. With
SMP, it is possible for the threads to still be running on
other CPUs when k_thread_create() is called on the second
iteraion. This overwrites the data inside the thread object.
When other CPUs finishes with those threads and try to clean up
the threads, they now have incorrect data (e.g. stack pointer)
which may result in CPU exception. So we need to make sure all
running threads have stopped running before starting the second
iteration.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2026-02-10 13:43:39 -06:00
Magnus Persson
cf1d120317 boards: u-blox: ubx_bmd345eval: Add gain numbers for FEM
Missing tx-gain and rx-gain values added.

Signed-off-by: Magnus Persson <magnus.persson@u-blox.com>
2026-02-10 13:43:11 -06:00
Emil Gydesen
4fe38bbaed Bluetooth: VOCS: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:42:46 -06:00
Emil Gydesen
257e1eb2e3 Bluetooth: VCP: REND: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:42:24 -06:00
Emil Gydesen
c5061b76ab Bluetooth: VCP: CTLR: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:42:07 -06:00
Emil Gydesen
c6562e70d7 Bluetooth: TMAP: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:41:49 -06:00
Emil Gydesen
8c29bb0b62 Bluetooth: TBS: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:41:28 -06:00
Emil Gydesen
50d57b2cee Bluetooth: TBS: Client: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:41:06 -06:00
Emil Gydesen
8d63fa7eea Bluetooth: PBP: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:40:43 -06:00
Emil Gydesen
ef0726fbc0 Bluetooth: PACS: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:40:21 -06:00
Emil Gydesen
833e3cbbae Bluetooth: MICP: MIC: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:40:03 -06:00
Emil Gydesen
a0eeb3400a Bluetooth: MICP: CTLR: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:39:21 -06:00
Emil Gydesen
4766ca1576 Bluetooth: MCC: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:38:56 -06:00
Emil Gydesen
66a7da33f7 Bluetooth: HAS: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:38:38 -06:00
Emil Gydesen
b1d8341b07 Bluetooth: HAS: Client: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:38:08 -06:00
Emil Gydesen
29cd613a7b Bluetooth: GMAP: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:37:44 -06:00
Emil Gydesen
48ec3217df Bluetooth: CSIP: Member: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:37:14 -06:00
Emil Gydesen
38301cd1b0 Bluetooth: CSIP: Coordinator: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:36:46 -06:00
Emil Gydesen
b0a78bb87c Bluetooth: Audio: Codec: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:36:20 -06:00
Emil Gydesen
03868cc875 Bluetooth: CCP: Server: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:35:35 -06:00
Emil Gydesen
9a80dd1bfc Bluetooth: CCP: Client: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:34:54 -06:00
Emil Gydesen
52b6138b03 Bluetooth: CAP: Stream: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:33:51 -06:00
Emil Gydesen
55e671781d Bluetooth: CAP: Initiator: Fix bad return values in param checks
Some parameter check return paths returned -EINVAL for
a boolean function.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:32:35 -06:00
Emil Gydesen
527d969786 Bluetooth: CAP: Initiator: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:32:35 -06:00
Emil Gydesen
05440203c1 Bluetooth: CAP: Commander: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:31:41 -06:00
Emil Gydesen
cb6bd5b023 Bluetooth: CAP: Commander: Remove invalid check
start_param->subgroups is an array, so it is always
non-NULL.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:31:41 -06:00
Emil Gydesen
7f5c9892f1 Bluetooth: CAP: Acceptor: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:31:03 -06:00
Martí Bolívar
433220af58 doc: west: explain the detached HEAD situation better
Add a section explaining why "detached HEADS" / "git checkout
--detach" were chosen as the default "west update" behavior, and
document some common ideas for what to do if you're actively
developing in a project. Reference it from the update procedure
detailed steps, so users have a hope of finding it when they wonder
"why" while reading that documentation.

Signed-off-by: Martí Bolívar <mbolivar@oss.qualcomm.com>
2026-02-10 13:30:37 -06:00
Firas Sammoura
3bab28349f drivers: flash: npcx: add qspi_npcx_fiu_mutex_is_locked function
Add a helper function to check the lock status of the QSPI-FIU
bus controller mutex. This is useful for debug assertions and
verifying exclusive access in high-level drivers.

Signed-off-by: Firas Sammoura <fsammoura@google.com>
2026-02-10 13:30:14 -06:00
Emil Gydesen
f4ae52137e Bluetooth: BAP: US: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:29:24 -06:00
Emil Gydesen
33a1b4fa62 Bluetooth: BAP: UC: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:29:01 -06:00
Emil Gydesen
449b63ec3e Bluetooth: BAP: Stream: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:28:38 -06:00
Emil Gydesen
0ee0fb838f Bluetooth: BAP: SD: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:28:13 -06:00
Emil Gydesen
b2c19b3ae5 Bluetooth: BAP: Broadcast Source: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:27:53 -06:00
Emil Gydesen
13e00454ff Bluetooth: BAP: Broadcast Sink: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:27:27 -06:00
Emil Gydesen
7005ee0054 Bluetooth: BAP: BA: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:27:04 -06:00
Emil Gydesen
0dc8f915f3 Bluetooth: BAP: BASE: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:26:33 -06:00
Emil Gydesen
4a30f7f27c Bluetooth: ASCS: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:26:12 -06:00
Emil Gydesen
654a2a2105 Bluetooth: Audio: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:25:39 -06:00
Emil Gydesen
9778c5bcc9 Bluetooth: AICS: Replace CHECKIF with if
The usage of CHECKIF has been replaced with a regular
if. The reason for this is that higher layer may depend
on some of the checks defined by the API, and the higher
layers cannot do that properly if the checks can be
removed via a Kconfig option.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-02-10 13:25:23 -06:00
Benjamin Cabé
1d23b5d877 drivers: i2s: samples: tests: replace non inclusive language
Replace master/slave terminology with controller/target terminology in
I2S sample and tests.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-10 13:24:18 -06:00
Benjamin Cabé
460dbb8354 drivers: i2s: drop master/slave usage where possible
For drivers that were making mentions to master/slave terminology in
their comments or code without no reason to do so (i.e. no API in their
HAL is using such terminology), the terminology was dropped and replaced
with controller/peripheral terminology.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-10 13:24:18 -06:00
Benjamin Cabé
60ca5367a7 drivers: i2s: update macro names to match latest I2S specification
I2S bus specification 3.0 [1] updated terms "Master" and "Slave" to
"Controller" and "Target". This rename macros using these terms and
deprecates old names.

[1] https://www.nxp.com/docs/en/user-manual/UM11732.pdf

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-10 13:24:18 -06:00
Benjamin Cabé
0a70f063f2 bbram: shell: adopt SHELL_HELP
Have bbram shell commands use the new SHELL_HELP macro
Also fix the syntax for "read" command as it wasn't
correctly indicating that count cannot be specified
without address.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-02-10 13:23:32 -06:00
Emilio Benavente
72c43541ec boards: nxp: removing cpu0 from mcxw72
Removing cpu0 reference from mcxw72 target
as only cpu0 should be targeted on this device.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-02-10 15:41:57 +00:00
Mathieu Choplain
2ced06953a doc: migration: 4.4: add entry about CONFIG_WDT_DISABLE_AT_BOOT
The unclear semantics of CONFIG_WDT_DISABLE_AT_BOOT have now been set in
stone, but this change will affect users which relied on a specific
interpretation of CONFIG_WDT_DISABLE_AT_BOOT which doesn't match the
semantics that have been agreed upon.

Document this change in the migration guide, indicating that watchdogs must
now be configured explicitly by the applications if required.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-10 15:41:46 +00:00
Mathieu Choplain
cdd4892756 drivers: watchdog: align drivers to (HAS_)WDT_DISABLE_AT_BOOT semantics
There are many drivers which control a disabled-by-default watchdog timer
but take the liberty of selecting HAS_WDT_DISABLE_AT_BOOT and interpreting
WDT_DISABLE_AT_BOOT=n as "enable the timer", which does not correspond to
the semantics of this option.

Update all such drivers to no longer select HAS_WDT_DISABLE_AT_BOOT and
ignore the WDT_DISABLE_AT_BOOT option.

Signed-off-by: Mathieu Choplain <mathieu.choplain-ext@st.com>
2026-02-10 15:41:46 +00:00