Commit graph

126,787 commits

Author SHA1 Message Date
Vinayak Kariappa Chettimada
a905be5fb3 tests: bsim: Bluetooth: Fail throughput test with increased Tx count
Make the throughput test to fail when increasing Tx buffers
that will delay a LE Connection Ind PDU from being
transmitted on air due to previously queued Data PDUs.

Unlike legacy Zephyr Controller's double headed Tx queue
linked list, the new split Zephyr Controller's new LLCP does
not place a control PDU at the head of the queue causing
control PDUs to be delayed on air.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
4d91a84b4b tests: bsim: Bluetooth: Add param update to throughput test
Add connection parameter update to throughput test to cover
any connection timeout performing connection update while
subjected to high throughput scenarios.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
daffb534ba Bluetooth: Controller: Remove duplicate define CONN_DATA_BUFFERS
Remove duplicate define CONN_DATA_BUFFERS and use
CONFIG_BT_BUF_ACL_TX_COUNT instead.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
3e2beedb21 Bluetooth: Controller: Minor update adding comments
Minor update adding comments in the implementation.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
043dee2919 Bluetooth: Controller: Move declaration close to locality of reference
Move the declaration code to locality of reference and be
consistent in how the code pattern is, related to calling
LLL disable.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
e94d9c7811 Bluetooth: Controller: Fix event overhead check for single timer use
Single timer use needs additional event overhead to start
radio to ensure the software switch implementation executing
in radio completion ISR can correctly set the tIFS switching
after a maximum radio ISR latency.

The latency value shall be the used additional overhead so
that there is no spurious tIFS switch before radio ISR
executes.

The additional event overhead value is not considered in the
event overhead check.

Relates to commit 37bf99eee7 ("Bluetooth: Controller: Fix
radio_tmr_start_us for single timer use").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
66d85b448b Bluetooth: Controller: Fix assertion establishing connection
Fix an assertion detecting delayed prepare establishing an
ACL connection due to scanner or advertiser not disabled
immediately when scheduling the first connection event.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
fe7675e209 Bluetooth: Controller: Fix assertion due to cleared pending radio IRQ
Fix assertion on scan disable observed in BabbleSIM audio
tests due to clearing of pending radio IRQ under race
conditions between scanning being stopped by application
and scanning stopped on central connection setup.

irq_enable/disable is not needed either as radio_isr_set
is always called from Radio or LLL execution context which
are co-operative with each other at same execution priority.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
355648a69f Bluetooth: Controller: Fix missing radio tmr status reset
Fix missing radio tmr status reset on radio_disable call,
without this which disables PPI/DPPI caused under race
conditions the radio to transition into Tx or Rx state and
put the Controller's state out of sync with the Radio
peripherals internal state. The symptoms being that the
Central role was not transmitting in the next interval;
also, caused the defer iterations to reach maximum events
being enqueued in the pipeline, and manifesting as large
CPU overheads in redundant prepare of deferred events.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Vinayak Kariappa Chettimada
4b272e0b33 Bluetooth: Controller: Fix missing radio status reset
Fix missing radio status reset on early abort of central
and peripheral prepare.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2025-08-28 19:57:28 +02:00
Peter Johanson
5eeddab167 scripts: west: flash: Fix RFP runner platform check
Adjust the RFP runner platform check to properly handle Darwin or Windows
and skip setting a default RPF port on those two platforms.

Signed-off-by: Peter Johanson <peter@peterjohanson.com>
2025-08-28 14:00:02 +02:00
Aleksander Wasaznik
73fbdbe1e7 Bluetooth: document bt_addr_le_is_resolved()
I believe there is some confusion about what this function does. This
function is doing some type-bending, so it's extra important to document
it.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2025-08-28 13:59:45 +02:00
Michał Stasiak
2939ccdf42 drivers: adc: adc_nrfx_saadc: add nRF54LS05B analog pins
Added array of analong pins for nRF54LS05B.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-08-28 13:59:34 +02:00
Michał Stasiak
a9eadb411d soc: nordic: nrf54l: remove redundant inclusion of GLITCHDET
GLITCHDET is not used in this file
and causes issues for devices without GLITCHDET.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
2025-08-28 13:59:34 +02:00
Nikodem Kastelik
c1d28a4ea7 manifest: update hal_nordic revision to integrate nrfx 3.14.0
New nrfx release contains MDK 8.72.2
and various fixes for nRF devices.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2025-08-28 13:59:34 +02:00
Łukasz Stępnicki
53a07893d5 boards: nordic: nrf54h20dk: ipc to cpusys with unbound
Unbound feature in IPC with cpusys will be enabled by default.
This is needed to enable IPC link renewal.
If unbound is not needed then it can be disabled in overlay,
sysctrl will detect if it is present.

Signed-off-by: Łukasz Stępnicki <lukasz.stepnicki@nordicsemi.no>
2025-08-28 13:59:22 +02:00
Lyle Zhu
613dcf327e Bluetooth: Classic: SCO: Get SCO conn info
Save the air_mode to SCO connect object.

Add a structure `struct bt_conn_sco_info` to return the SCO conn info.

Return SCO info through `struct bt_conn_sco_info` when calling the
function `bt_conn_get_info()`.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-08-28 13:59:10 +02:00
Jonathan Nilsen
3455917731 soc: nordic: ironside: run clang-format on some files
Format a few files with clang-format.

Signed-off-by: Jonathan Nilsen <jonathan.nilsen@nordicsemi.no>
2025-08-28 13:58:58 +02:00
The Nguyen
7ca1eceb39 samples: shields: add rtk0eg0019b01002bj sample
First commit to add rtk0eg0019b01002bj shield sample

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-08-28 13:58:43 +02:00
The Nguyen
f78752d902 boards: renesas: rssk_ra2l1: enable Cap Touch Shield support
This commit to enable rssk_ra2l1 build with rtk0eg0019b01002bj
shield.

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-08-28 13:58:43 +02:00
The Nguyen
d71b4a1938 boards: shields: add support for rtk0eg0019b01002bj shield
Add Capacitive Touch Application Board RTK0EG0019B01002BJ

Signed-off-by: The Nguyen <the.nguyen.yf@renesas.com>
2025-08-28 13:58:43 +02:00
Ta Minh Nhat
23fdb9e070 board: renesas: Add ethernet support for ek_ra6m4 and ek_ra6m5
Add ethernet support for ek_ra6m4, ek_ra6m5.

Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
2025-08-28 13:58:33 +02:00
Ta Minh Nhat
652d822203 west: runner: rfp: support memory partition for rfp runner
Add rfp runner support for ek_ra6m4 and ek_ra6m5.
Add memory partition for rfp runner.

Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
2025-08-28 13:58:33 +02:00
Ta Minh Nhat
4228444dd1 driver: ethernet: Add ethernet driver support for ra6m4 and ra6m5
Add ethernet support for RA6M4, RA6M5.
Add soc script for generating Renesas Partition Data (RFP file).

Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
Singed-off-by: Duy Nguyen <duy.nguyen.xa@renesas.com>
2025-08-28 13:58:33 +02:00
Ta Minh Nhat
222bb2995c test: pwm: Change pwm channel pwm_loopback test
Change default pwm to pwm0 in ek_ra6m4, ek_ra6m5 to avoid
pin conflict with ethernet phy.

Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
2025-08-28 13:58:33 +02:00
Ta Minh Nhat
5ca5966f19 board: renesas: Change default pwm in Renesas RA6 boards
Change default pwm to pwm0 to avoid pin conflict with ethernet phy.

Signed-off-by: Ta Minh Nhat <nhat-minh.ta.yn@bp.renesas.com>
2025-08-28 13:58:33 +02:00
Steffen Jahnke
455b0eeb7f boards: panasonic: Update naming PAN B611 Evaluation Board
The PAN B511 evaluation board is a development tool for the
nRF54L15 from Nordic Semiconductor. Due to marketing reasons
the naming was adjusted from panb511 to panb611.

Signed-off-by: Steffen Jahnke <steffen.jahnke@eu.panasonic.com>
2025-08-28 11:32:23 +02:00
Alex Fabre
714cbd85ec log: backend: net: add const qualifier to hostname
When setting the net log hostname, the string content is not modified.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
2025-08-28 11:32:11 +02:00
Jacob Wienecke
2299f9add6 boards: mimxrt1010_evk: doc: fix debug connector number
The debug connector designation for JTAG/SWD is J55. J16 is for OPENSDA
"OPENDBG INTERFACE JTAG CONNECTOR"

Signed-off-by: Jacob Wienecke <jacob.wienecke@nxp.com>
2025-08-28 11:31:44 +02:00
Keith Packard
a4fde2d205 linker/xt-ld: Compute crtbegin/crtend paths in toolchain_linker_finalize
The computation of paths to crtbegin.o and crtend.o must be delayed until
after the compiler_file_path function has been defined. The
toolchain_linker_finalize function is where these are supposed to get set
now.

Signed-off-by: Keith Packard <keithp@keithp.com>
2025-08-28 08:57:17 +02:00
Bastien Beauchamp
ad849debee pm: skip min_residency_ticks calculation if input is 0
In the default PM policy, the function k_us_to_ticks_ceil32() is used
and does calculation using 64-bit integers which can be slow and
avoidable if the input is 0.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-28 08:57:06 +02:00
Bastien Beauchamp
0f948aba74 simplicity_sdk: Patch in sl_power_manager_hal_s2.c
Patch needed to fix a bug where the SLEEPDEEP bit is not cleared
properly after a wakeup from EM2.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-28 08:57:06 +02:00
Bastien Beauchamp
d4db7f62ec soc: silabs: add a config for low latency interrupt on Sliabs S2 devices
The high frequency clock was always restored before handling the
interrupts to make sure that the system clock is as expected. However,
the response time to interrupt when we were in EM2 was a between 300 and
600 us. By default, we use the low interrupt latency.

Signed-off-by: Bastien Beauchamp <bastien.beauchamp@silabs.com>
2025-08-28 08:57:06 +02:00
Aaron Ye
0d46a93417 drivers: bluetooth: hci: stop rx thread when closes the HCI
Stops the RX thread when closes the HCI for Ambiq HCI driver

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-08-28 06:24:49 +02:00
Aaron Ye
2c63115f51 drivers: bluetooth: hci: add close function for Ambiq Apollo4 series
This commit adds close function support for Ambiq Apollo4 series SoC
so the bt_disable() API can be used.

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-08-28 06:24:49 +02:00
Aaron Ye
8bbc05df71 Bluetooth: Host: direction: correct the cte_req_enable opcode
The opcode of hci_df_set_conn_cte_req_enable command should be
BT_HCI_OP_LE_CONN_CTE_REQ_ENABLE (0x2056).

Signed-off-by: Aaron Ye <aye@ambiq.com>
2025-08-28 06:24:33 +02:00
Cheng Chang
2768acb856 bluetooth: host: avdtp: Fix command and response format error
There are three aspects of changes involved:
1.  The format of Service Category should be checked  in set
configuration cmd and error code and Service Category
should be detailed in response.
2. There is no  INT Stream Endpoint ID in re_config cmd,.
3. Fail ACP SEID should be added to start and suspend rej rsp.

Signed-off-by: Cheng Chang <cheng.chang@nxp.com>
2025-08-28 06:24:19 +02:00
Aksel Skauge Mellbye
b83267dba0 drivers: serial: silabs_usart: Fix configure error cases
Enable uart_elementary test and fix edge cases where the
configure function did not return the appropriate error code
when given invalid parity or flow control parameters.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:11 +02:00
Aksel Skauge Mellbye
3f7e614da6 drivers: watchdog: gecko: Fix API corner cases
Properly return the correct error codes when the watchdog API
is misused. Fail timeout install if WDT_FLAG_RESET_CPU_CORE is
set, a watchdog reset will at a minimum cause a soft reset of
the entire SoC.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aksel Skauge Mellbye
de1ef0a56c tests: drivers: watchdog: Enable tests for xg24 and xg27
Enable watchdog tests for representative xg24 and xg27 boards.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aksel Skauge Mellbye
39e468b0f6 dts: arm: silabs: xg27: Fix wdog0 unit address
The wdog0 unit address and reg entry pointed to the secure
alias, while the SMU was configured to expect the non-secure
alias.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aksel Skauge Mellbye
9a9bc10556 tests: drivers: watchdog: Support requiring PM for pause test
Some devices require PM to go to sufficiently deep sleep modes
for the watchdog to get paused using WDT_OPT_PAUSE_IN_SLEEP.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aksel Skauge Mellbye
b2e21d57d0 tests: drivers: watchdog: Support devices with limited timeouts
Support running the error case test on devices with a limited
number of timeouts.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aksel Skauge Mellbye
bbd4461265 tests: drivers: watchdog: Support window.min
Add test flag to support running error case test on devices with
support for window.min

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:40:04 +02:00
Aksel Skauge Mellbye
af4cbdcf31 drivers: adc: gecko: Fix error return values
Enable the adc_error_cases test on Series 2 devices and change
the return values in the driver for unsupported configurations
to what the test expects.

Ensure that the resolution configuration in the test is valid
such that the invalid buffer test correctly receives -ENOMEM.

Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
2025-08-28 00:39:57 +02:00
Benjamin Cabé
647142fac3 doc: update putty.software hyperlinks
Main putty website's official URL is https://putty.website

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-08-27 20:52:46 +02:00
Khaoula Bidani
808a87769c samples: boards: st: power_mgmt: fix compilation issue
Fix compilation issue in test overlay nucleo_wba55cg.overlay

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-08-27 20:52:34 +02:00
Emil Gydesen
56b0e3eb34 Bluetooth: Host: Rearrange fields in bt_le_ext_adv
Move the CONFIG_BT_EXT_ADV fields up and have the 2
8-bit values first, so they can be placed in the same
word as the previous 2 when applicable.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-27 20:52:19 +02:00
Emil Gydesen
ef700ec525 Bluetooth: CAP: Remove sid from u->b handover params
The SID is now gettable via bt_le_ext_adv_get_info.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-27 20:52:19 +02:00
Emil Gydesen
5cd678a68a doc: releases: Document new field sid in bt_le_ext_adv_info
Add entry for the new field, `sid`, in the bt_le_ext_adv_info
struct.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-08-27 20:52:19 +02:00