Commit graph

126,787 commits

Author SHA1 Message Date
Vit Stanicek
e679ef486a hal_nxp: Factorise inclusion of fsl_inputmux
Create Kconfig variable NXP_INPUTMUX, which selects the fsl_inputmux
driver. Imply the MCUX component symbol from it. Imply that variable
from the NXP PINT, SmartDMA and LPC DMA drivers and from the mimxrt685s
SoC.

This needed to be done for the mimxrt700_evk/mimxrt798s/hifi4 domain, as
the INPUTMUX peripheral handles IRQ assginments and its driver
(fsl_inputmux) is used directly by the domain's soc.c. Instantiating the
currently dependent drivers (for PINT and SmartDMA) isn's possible nor
reasonable on the said target.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-07-31 17:11:54 -04:00
Travis Lam
5274d66019 drivers: flash: nordic: nrf_mramc update
Remove cache invalidation after flash write,
cpu should automatically invalidate cache but
for HW erase invalidation needed due to erase
from different bus.

Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
2025-07-31 17:11:30 -04:00
Jonas Spinner
91ec38d7e0 Bluetooth: Classic: SDP: Replace magic numbers
Replace magic UUID sizes with `sizeof(uint8_t) +
BT_UUID_SIZE_{16,32,128}`.

Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
2025-07-31 17:10:57 -04:00
Jonas Spinner
9d7aa28eb4 Bluetooth: Classic: SDP: Adjust doc comment
Align example UUID in doc comment with UUID in example code.

Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
2025-07-31 17:10:57 -04:00
Jukka Rissanen
9125f07392 tests: net: dns: Add tests for resolving hostname or localhost
Make sure we are able to resolve the localhost or local hostname.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-07-31 17:10:45 -04:00
Jukka Rissanen
6797fa642d net: sockets: Allow test to override DNS timeout
The minimum 1 sec timeout for getaddrinfo() call is too long
when executing queries from network tests. So allow test to override
the minimum and set it to very low value.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-07-31 17:10:45 -04:00
Jukka Rissanen
80e458ce7b net: dns: Resolve localhost name
Allow user to query localhost name and get a localhost address
127.0.0.1 or ::1 back. This is only enabled if loopback driver
is used as the use case does not make much sense otherwise.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-07-31 17:10:45 -04:00
Jukka Rissanen
cb163d1f28 net: dns: Resolve local hostname
Make sure that if user has enabled hostname support, we are
able to query it and get a local IP address back.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-07-31 17:10:45 -04:00
Jonas Spinner
6fd48df18f rtio: workq: Remove unused Kconfig option
* Remove `RTIO_WORKQ_STACK_SIZE` as it is no longer used.
* Fix description of `RTIO_WORKQ_THREADS_POOL_STACK_SIZE`.

Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
2025-07-31 16:51:14 -04:00
Matt Wood
678f1bdba7 fuel_gauge: restructure cmake libraries
Adjusted drivers to include sources into a single library
to allow for the use of zephyr_library_amend when extending
with out of tree drivers in workspace projects inline with other
driver groups structure

Signed-off-by: Matt Wood <matt.wood@corintech.com>
2025-07-31 16:50:59 -04:00
Martin Hoff
48d80ef439 tests: app_dev: ram_context_for_isr: update IRQ configuration
This commit modifies the IRQ number and priority definitions in the
fake_driver.c file to accommodate different platform configurations.
The condition are based on nested_irq test file.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-07-31 16:50:11 -04:00
Andrey Dodonov
a4fa5de807 drivers uart_native_posix: mention that pty supports async
With CONFIG_UART_ASYNC_API pty driver for native sim now supports async

Signed-off-by: Andrey Dodonov <Andrey.Dodonov@endress.com>
2025-07-31 16:49:23 -04:00
Karsten Koenig
96d062add8 boards: nordic: nrf54h20dk: Add ETM to JLinkScript
Added support for ETM tracing via TPIU to the JLinkScript.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-07-31 07:41:53 -04:00
Karsten Koenig
130625e737 soc: nrf54h: Configure CTRLSEL and pin for TRACE
Configure the CTRLSEL value and the clock pin so that the TRACE pins
work when the TDD gets used.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-07-31 07:41:53 -04:00
Karsten Koenig
7c813bf00f soc: nordic: ironside: Add TDD
Added support for the IronSide TDD service which allows configuring and
powering the trace and debug domain of the nrf54h20.
Also provide option to start the trace and debug domain in the soc start
sequence.

Signed-off-by: Karsten Koenig <karsten.koenig@nordicsemi.no>
2025-07-31 07:41:53 -04:00
Stefan Schmidt
097463285c boards: shields: Add support for the Adafruit Featherwing 128x32 OLED
The Adafruit Featherwing 128x32 OLED board supports a SSD1306 compatible
OLED display with a resolution of 128 x 32 and three user buttons. It has
been tested with the Adafruit Feather nRF52840 and the sample
samples/subsys/display/lvgl.

Signed-off-by: Stefan Schmidt <kontakt@stefanschmidt-embedded.de>
2025-07-31 07:38:39 -04:00
Cla Mattia Galliard
26d98f514f zms: Fix confusing sentence in API-docs
Fix confusing sentence in api docs of function 'zms_get_data_length'. There
is no 'history counter' assosiated with the api of that function.

Signed-off-by: Cla Mattia Galliard <cla-mattia.galliard@zuehlke.com>
2025-07-31 07:36:32 -04:00
Yishai Jaffe
9470cd035d dts: silabs: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all dts code to the new
prefix <zephyr/...>. Refer to #45388 for more details.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-07-31 07:36:08 -04:00
Yishai Jaffe
d6189db11d dts: silabs: make sram definition consistant
Made the definition of sram in the dtsi consistant across the socs.

Signed-off-by: Yishai Jaffe <yishai1999@gmail.com>
2025-07-31 07:36:08 -04:00
Michal Kozikowski
6c72cd3e65 cmake: mcuboot: SHA512/pure image signing
Update signing script to use proper arguments for imgtool when SHA512
or pure signature is needed.

Signed-off-by: Michal Kozikowski <michal.kozikowski@nordicsemi.no>
2025-07-31 07:34:40 -04:00
Karol Lasończyk
8f2d3e7623 soc: nordic: Extend address validation to cover GPREGRET
Extension of the validate_base_addresses.c file to cover GPREGRET
in all Nordic SoCs.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
2025-07-31 10:53:43 +01:00
Karol Lasończyk
d55ee09e1a dts: nordic: Fix GPREGRET addresses for nRF54LM20A
Fix for wrongly addressed GPREGRET space.

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
2025-07-31 10:53:43 +01:00
WenBin Zhang
d01edb10e1 tracing: Fix k_mem_slab_free tracing systemview
Fix k_mem_slabe_free tracing error.

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
2025-07-31 10:53:30 +01:00
Hui Bai
1198d78898 hostap: Update 11k roaming mechanism
With this changes, device will check if AP support Neighbor Report or
not before trigger roaming. No need to issue 11k command to enable 11k,
if AP supports Neighbor Report, device will trigger 11k roaming with
priority.

Signed-off-by: Hui Bai <hui.bai@nxp.com>
2025-07-31 10:53:19 +01:00
Flavio Ceolin
56e2b01e53 bt: controller: Use proper flexible array
0 length array is a GNU extension. Use proper C99 flexible
array.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-07-31 10:52:49 +01:00
Flavio Ceolin
4ae867b12d bt: audio: Use proper flexible array
0 length array is a GNU extension. Use proper C99 flexible
array.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-07-31 10:52:49 +01:00
Flavio Ceolin
39cf9bd0c0 net: ip: Use proper flexible array
0 length array is a GNU extension. Use proper C99 flexible
array.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2025-07-31 10:52:49 +01:00
Flavio Ceolin
1ccf9391bc shell: Use proper flexible array
0 length array is a GNU extension. Use proper C99 flexible
array.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2025-07-31 10:52:49 +01:00
Flavio Ceolin
eaaa2e197d log: multidomain: Use proper flexible array
0 length array is a GNU extension. Use proper flexible array.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2025-07-31 10:52:49 +01:00
Flavio Ceolin
805701da49 bt: host: Use proper flexible array
0 length array is a GNU extension. Use proper C99 flexible
array.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2025-07-31 10:52:49 +01:00
Vit Stanicek
9969ae59d9 samples: rtxxx-amp: Enable mimxrt700_evk/mimxrt798s/hifi4
Add remote target selection. Explicitly enable GPIO support in
amp_blinky. Disable peripherals driven from the hifi4 domain in the
cm33_cpu0 domain to overcome resource conflicts. Select mailboxes for
amp_mbox. Set CONFIG_DMA_TCD_QUEUE_SIZE for amp_audio_output and
amp_audio_loopback. Select i2s devices for amp_audio_loopback.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-07-31 10:52:33 +01:00
Vit Stanicek
837e745b06 samples: amp_audio_loopback: Change sample rate and initial block count
Decrease the sample frequency to 16 kHz to accomodate memory
constraints. As the SAI driver in RX mode requires more than a certain
amount of blocks to be free, change count of those prefilled.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-07-31 10:52:33 +01:00
Luis Ubieda
eb09070b8c tests: rtio: Add testcase to demonstrate multishot aborted on errors
By forcing IODEV test to throw errors and verifying no more CQE's are
coming through after the forced error.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-31 10:52:08 +01:00
Luis Ubieda
18b3faa4cd tests: rtio: iodev: fix: Add missing early return when error occurs
It appears this had not been exposed as the testsuite does not
exercise forcing errors for the IODEV. However, in the upcoming
testcase for error-handling of multi-shot items, it will be required.

Placed as standalone patch for the sake of clarity.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-31 10:52:08 +01:00
Luis Ubieda
d3628fc284 rtio: multishot: Stop resubmitting multishot items on error
As an error-handling strategy. The client then can recover from this
depending on the error and the number of occurrences.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-31 10:52:08 +01:00
Luis Ubieda
7b4644cb50 rtio: executor: split handling of one-shot and multi-shot completions
As their handling is not that similar and mixing them both affects
code readability. This patch does not affect functionality and does
not break any testsuite under rtio API.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-31 10:52:08 +01:00
Luis Ubieda
5505182b43 rtio: Assert multishot flag is not combined with txn or chained
There's no use-case covering this case and enforcing it will allow
simplify the logic for processing items with each of these items when
mutually exclusive.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2025-07-31 10:52:08 +01:00
Kesavan Yogeswaran
2aba39d870 cmake: Define zephyr_generated_headers as an interface library
Define `zephyr_generated_headers` as an interface library rather than a
custom target. This allows CMake libraries to depend on this target
AND propagate the dependency if needed using target_link_libraries.

Example:

If some user header includes offsets.h, even transitively, then
offsets.h must be generated before any source file that includes that
header is compiled. This can be captured by defining a library `foo` for
the header with a public link dependency on zephyr_generated_headers
using `target_link_libraries(foo zephyr_generated_headers)`. The
ordering dependency on the generated offsets.h header will then
propagate to `foo` and any libraries that link against `foo`, even
transitively. This was not possible before this CL because one cannot
use custom targets as public link dependencies with
target_link_libraries.

Signed-off-by: Kesavan Yogeswaran <hikes@google.com>
2025-07-31 10:51:43 +01:00
Tomasz Chyrowicz
b62965849a boards: Add nRF52840 dongle bare variant
Add a variant for builds that use debugger to flash the dongle,
effectively overwriting the stock nRF5 SDK bootloader.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2025-07-31 10:51:21 +01:00
Dmitrii Sharshakov
33f08a634d dts: boards: various: remove code-partition for RP2350
Updated linker scripts no longer necessitate that.

Users who employ a bootloader in their design should be able to adjust
partitioning more easily, removing IMAGE_DEF with a Kconfig if needed.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-07-31 10:50:41 +01:00
Dmitrii Sharshakov
cbe6a716d3 soc: rp2350: add IMAGE_DEF using rom_start linker script
Use this approach for a simpler flow and to make relocation of images
into RAM easier.

Also do not force-select CONFIG_XIP (which is a default anyway), since
RP2350 can boot from SRAM.

Signed-off-by: Dmitrii Sharshakov <d3dx12.xx@gmail.com>
2025-07-31 10:50:41 +01:00
Mike J. Chen
2dc6793261 soc: imxrt5xx: add fusion f1 dsp backtrace support
Add needed backtrace helpders routines and enable
backtrace for the Xtensa Fusion F1 DSP in the
IMXRT595S.

Signed-off-by: Mike J. Chen <mjchen@google.com>
2025-07-31 10:49:54 +01:00
Martin Hoff
476e5c5fc6 tests: application_development: add new test for ram-based isr
This commit introduces the new test ram_context_for_isr that shows
how to configure an application (prj.conf, CMakeLists.txt, etc.) in
order to enable full ISR execution with a RAM context.

It resolves the issue of flash latency affecting real-time constraints
during ISR execution.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-07-30 17:37:43 -04:00
Martin Hoff
d5f67d04ee arch: split dynamic interrupt symbol
This commit introduces the SRAM_SW_ISR_TABLE option which is selected by
DYNAMIC_INTERRUPT. It allows splitting the DYNAMIC_INTERRUPT option into
two parts:

 - One for the relocation of the ISR vector table in RAM
 - One for the inclusion of functions needed to install ISRs dynamically

The goal is to later only select the relocation of the ISR vector table in
RAM and not all the associated functions from the dynamic interrupt
mechanism.

Signed-off-by: Martin Hoff <martin.hoff@silabs.com>
2025-07-30 17:37:43 -04:00
Chun-Chieh Li
426c3d1935 drivers: misc: ethos_u: support nuvoton numaker m55m1x
This adds frontend of arm ethos-u core driver for nuvoton numaker m55m1x.
Special notes include:
1. Leaving application overriding dcache flush/invalidate weak functions
   for cacheable NPU buffer
2. Configuring macs_per_cc to 256 in arm ethos-u core driver to match
   m55m1x ethos-u RTL config

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-07-30 17:37:27 -04:00
Chun-Chieh Li
84b305ac03 MAINTAINERS: add hal_ethos_u collaborator
Add Chun-Chieh Li "ccli8" as collaborator for hal_ethos_u driver

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-07-30 17:37:27 -04:00
Magpie Embedded
dec8a04508 modules: hal: infineon: Add Kconfig option for pullups in Wifi Host Driver
This option allows board configurations to specify how to set the SDIO
pull ups when the SPI bus goes to sleep, using the Infineon WHD.
This is a board specific value.

Signed-off-by: Magpie Embedded <magpieembedded@gmail.com>
2025-07-30 17:36:05 -04:00
Chun-Chieh Li
e9fee35b02 drivers: wifi: esp_at: fix AT+CIPSEND premature timeout
For TCP socket, this fixes AT+CIPSEND command with too short timeout.
ESP modem replies SEND OK/SEND FAIL dependent on network traffic
condition, so this timeout config changes as Kconfig option for being
configurable by user.

Signed-off-by: Chun-Chieh Li <ccli8@nuvoton.com>
2025-07-30 17:35:30 -04:00
Nick Brook
d7fb46ac04 cmake: Merge in DTS_ROOT from sysbuild
Merging in DTS_ROOT from sysbuild allows applications to specify a custom
DTS_ROOT path for the application via sysbuild.

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2025-07-30 17:34:39 -04:00
Mario Paja
b5ab475ac1 samples: i2s: output: add nucleo_u385rg_q
Add nucleo_u385rg_q overlay and SAI conf
in samples/drivers/i2s/output

Signed-off-by: Mario Paja <mariopaja@hotmail.com>
2025-07-30 17:34:19 -04:00