Commit graph

126,787 commits

Author SHA1 Message Date
Benjamin Cabé
822ea37614 dts: gpio: add mention of ARDUINO_HEADER_R3_* constants in binding desc
Add mention of ARDUINO_HEADER_R3_* constants in binding description for
the Arduino Uno (R3) header.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-04 16:45:07 +02:00
Benjamin Cabé
c683b044d9 shields: devicetree: use arduino-header-r3.h constants in all shields
Make shield overlays less error prone and easier to maintain by
switching to GPIO pin constants defined in arduino-header-r3.h.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-04 16:45:07 +02:00
Johann Fischer
7feddfa243 samples: usb: mass: add flashdisk overlay file
There are a few board overlay files with identical lines describing the
flash disk. Move these lines to a separate overlay file that could be
used for any board with a large enough storage partition. Update the
documentation accordingly.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-09-04 16:45:01 +02:00
Noah Pendleton
6169269da8 west: blobs: fetch --allow-regex filter
When building in CI for specific SOCs, it's useful to only have `west blobs
fetch` pull a selected set of blob objects. This is especially helpful on
`hal_espressif`, which currently has 78 blob objects.

Add a `--allow-regex` arg to the `west blobs fetch` subcommand to filter
only specified blobs, for example:

```bash
# only download esp32 blobs, skip the other variants
❯ west blobs fetch hal_espressif --allow-regex 'lib/esp32/.*'
```

Also, replace all `str.format()` invocations with f-strings per review
feedback.

Signed-off-by: Noah Pendleton <noah.pendleton@gmail.com>
2025-09-04 16:44:52 +02:00
Benjamin Cabé
2ee5a8d632 ci: workflows: doc: change working directory for codecov upload
Currently the workflow is correctly uploading to codecov but all the
paths are prefixed with an extra `zephyr/`.
Use the `working-directory` parameter to ensure the paths are correct,
and also ensure that only the new.info file is ever processed.

Tested locally by doing the equivalent of what the action now does
using the codecov CLI and I was able to both reproduce the bug as well
as confirm the fix.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-04 16:44:38 +02:00
Jamie McCrae
81413f07ce samples/smp_svr: Increase stack size required
Increase stack size as support for SHA512 requires more data.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-09-04 14:43:26 +02:00
Jamie McCrae
d12c6888e3 mgmt: mcumgr: grp: img_mgmt: Add support for SHA512 in images
Adds support for images signed with SHA512.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-09-04 14:43:26 +02:00
Declan Snyder
7e92b70437 include: devicetree: Add more PHA macros
Add more macros for interacting with controller/data type of
relationships (phandle arrays / cells)

Add macros for arbitrarily iterating cells of phandle specifiers

Add tests for the new macros

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-04 14:43:13 +02:00
Pieter De Gendt
8d61b3633a doc: develop: optimizations: tools: Add ram_plot/rom_plot targets
Add information about the ram_plot and rom_plot build targets to generate
memory usage reports using sunburst charts.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-04 14:42:52 +02:00
Pieter De Gendt
aea45b9e56 cmake: reports: Add ram/rom plot targets
Add a plot variant for every ram/rom report target.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-04 14:42:52 +02:00
Pieter De Gendt
b42d89c67f scripts: footprint: Add a plot script for size reports
Add a helper script that can take in a size report in json and render it in
a sunburst chart.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-04 14:42:52 +02:00
Vit Stanicek
459a87f495 tests: test_dma_loop: Release DMA channels upon use
Release DMA channels allocated through dma_request_channel with
dma_release_channel in test_loop, test_loop_suspend_resume and
test_loop_repeated_start_stop.

This prevents channel allocation leaks and enables the tests to still
run even if the utilised DMA driver is configured to only utilise a
subset of implemented DMA channels.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-09-04 14:42:27 +02:00
Vit Stanicek
1c0ae3cc18 drivers: dma_mcux_lpc: Sanitise chan. data overrun
Add a num_of_allocated_channels field to struct dma_mcux_lpc_config. Add
a a capacity check for dma_X_channel_data_arr in dma_mcux_lpc_configure.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
2025-09-04 14:42:27 +02:00
Yangbo Lu
263911d79e net: net_if: use simple vlanX for vlan interface name
Used simple vlanX for vlan interface name. What interface the
vlan interface was attached to could be checked by "net iface"
or "net vlan".

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-09-04 11:34:15 +02:00
Yangbo Lu
0948812f70 net: vlan: drop current vlan interface naming
There were two problems about vlan interface naming currently.

1. When there were more than 1 vlan interfaces. It's not able to
   initialze name for all of them to same name VLAN-<free>.
2. When enabled vlan with tag, the name VLAN-xxx was used.
   However we may need to support multiple physical interfaces
   in the future. So, it's not able to use same name VLAN-xxx
   either for same tag on different physical interfaces.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-09-04 11:34:15 +02:00
Yangbo Lu
3fc03623ad net: shell: vlan: fix tag/attached info showing
There was call trace to execute "net vlan" if vlan interface
hadn't been enabled. Fixed it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-09-04 11:34:15 +02:00
Emil Gydesen
aa27460880 Bluetooth: CCP: Add support for set/get provider name
Add support for setting and getting the bearer provider
name. For now the name will be duplicated by the TBS
implementation, but will be optimizied in the future
so only one copy of the name exists.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-04 11:30:36 +02:00
Tomasz Chyrowicz
7c1a74f867 modules: Add VID and CID Kconfigs
Add a possibility to specify VID and CID for each MCUboot image and pass
it to the imgtool.

Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
2025-09-04 11:28:14 +02:00
Emil Gydesen
04da363847 tests: Bluetooth: Tester: MCP BSIM test
Adds BSIM testing of the MCP features of the BT Tester.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2025-09-04 11:27:19 +02:00
Tony Han
1fd4886ad9 drivers: ethernet: phy: ksz8081: add support for interrupt mode
Enable Link-Up and Link-Down interrupts. On the interrupt handling
the monitor work is scheduled to update the link status and calling
corresponding callback routine.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-09-04 11:26:38 +02:00
Tony Han
44845e16b6 drivers: ethernet: ksz8081: move init_int_gpios() to after reset
Call ksz8081_init_int_gpios() after phy_mc_ksz8081_reset() due to
keep the configurations for interrupt.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-09-04 11:26:38 +02:00
Tony Han
e2113ce2c5 drivers: ethernet: ksz8081: fix internal flags for auto-negotiation
Update the internal driver flags to avoid setting DO_AUTONEG_FLAG
unconsciously when setting LINK_STATE_VALID.

Signed-off-by: Tony Han <tony.han@microchip.com>
2025-09-04 11:26:38 +02:00
David Schneider
9a55545fd2 doc: update SDK compatibilty URL
Zephyr Version Compatibility page get moved in sdk-ng project. This
patch updates to URL to match the new page name.

Signed-off-by: David Schneider <schneidav81@gmail.com>
2025-09-04 11:26:08 +02:00
Babak Arisian
9564d5861f Bluetooth: Audio: shell: docs: Update broadcast assistant documentation
Updated the documentation for the BAP broadcast assistant client shell
commands to include the previously added 'add_by_broadcast_name' command.

Signed-off-by: Babak Arisian <bbaa@demant.com>
2025-09-04 11:26:00 +02:00
Declan Snyder
10e379c7fb soc: mcx: Add mcx cmc hwinfo binding
Add a stupid binding for doc purposes. Terrible coupling when we have to
configure DT in order to generate documentation properly. At least we
get rid of one of the stupid HAS_MCUX_ kconfigs in the process.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-09-04 08:11:43 +02:00
Bas van Loon
8d417a31a2 drivers: sdhc: imx_usdhc: Add more verbose error reporting.
When USDHC_Reset fails, we should be more verbose about it failing. Add
the error prints here so that we can observe the failure in logs.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-09-04 08:10:40 +02:00
Bas van Loon
04d40ecc68 drivers: sdhc: imx_usdhc: Fix USDHC_Reset reset type.
Probably a C/P error. This error was leading to reset timeouts as the
wrong mask is being used.

Signed-off-by: Bas van Loon <bas@arch-embedded.com>
2025-09-04 08:10:40 +02:00
Anas Nashif
18db88a0cf ci: coverage: add a flag for test coverage
Add a flag for test coverage, to distinguish from doxygen coverage.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-04 08:10:31 +02:00
Felix Wang
ebe1f3b7d6 tests: drivers: counter_basic_api: Enable FTM test for frdm_ke17z
This test covers following test cases:
- test_set_top_value_with_alarmp
- test_valid_function_without_alarm
- test_set_top_value_without_alarm

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-09-04 08:10:20 +02:00
Felix Wang
193e9170bb drivers: Counter: FTM Support on Zephyr
1.Update dts bindings to move clock-source properties from
nxp,ftm-pwm.yaml to nxp,ftm.yaml.
2.Provide counter driver based on FTM driver from NXP mcux-sdk-ng

Signed-off-by: Felix Wang <fei.wang_3@nxp.com>
2025-09-04 08:10:20 +02:00
Anas Nashif
8beabb78bf ci: manifest: install west, do not use requirement file
We only need west, so not go about installing packages using the
scripts/requirements-actions.txt file.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-09-03 21:23:54 -04:00
Carles Cufi
267469b503 flash: spi_nor: Fix VLA error when building with clang
The following error is issued by clang when building with
SPI_NOR_SFDP_RUNTIME enabled:

error: fields must have a constant size:
'variable length array in structure' extension will never be supported
1379 | uint32_t dw[MIN(php->len_dw, 20)];

Instead, hardcode the array length to 20 32-bit words (it's instantiated
in the stack anyway).

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-09-03 21:21:27 +02:00
Benjamin Cabé
5f5e31134b doc: display: consolidate MIPI docs in Display section
Move MIPI-DBI and MIPI-DSI docs from top-level Peripherals section to
under Display section.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 21:21:18 +02:00
Benjamin Cabé
c0ed6c0a8c include: display: mipi: re-arrange doxygen groups
Move MIPI headers under Display group so that they don't clutter
top-level Device Drivers group.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 21:21:18 +02:00
Benjamin Cabé
1df6e7caea include: dt-bindings: mipi_dbi: doxygen fixups
Improve/fix documentation of this header file

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 21:21:18 +02:00
Benjamin Cabé
94a4b13df3 include: doc: mipi: flag MIPI-DBI and MIPI-DSI API as unstable
These have many implementations in-tree so are to be considered
unstable.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 21:21:18 +02:00
Jonas Berg
6946ec9530 boards: shields: Add Adafruit INA237 current sensor shield
Product photo from https://learn.adafruit.com/assets/137463
with the license CC BY-SA 3.0

Tested with the command mentioned in the index.rst page.

Signed-off-by: Jonas Berg <jonas.s.t.berg@gmail.com>
2025-09-03 21:21:12 +02:00
Jamie McCrae
036ccc4157 west.yml: MCUboot synchronization from upstream
Update Zephyr fork of MCUboot to revision:
  aa4fa2b6e17361dd3ce16a60883059778fd147a9

Brings following Zephyr relevant fixes:

  - 557f84be bootutil: Move primary/secondary slot definition to
    bootutil_public
  - 82bd4a76 boot: bootutil: Fix pure image validation check with
    offset swap
  - fe8f9fc0 bootutil: Fixed security counter overflow detected to
    late
  - 10a3cffa boot: zephyr: boards: nrf54h20dk cpuapp add chosen
    code part
  - 86678000 zephyr: use REQUIRED in dt_nodelabel calls to fail
    early and with meaningful message
  - e0b84a0c zephyr: Fix FLASH_DEVICE_ID for nRF54H20 platform
  - 504847e3 bootutil: Fix PureEdDSA when flash base is not 0x0
  - aa229135 bootutil: Fix bootutil_aes_ctr_drop memset usage
  - 713b98b6 boot/boot_serial: build-time skip of the erasing of
    img status page

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-09-03 21:21:03 +02:00
Mickael Bosch
bfea9cf94f drivers: serial: stm32: fix non-LP UARTs with PM
Re-configure the registers if they re erased because of a STOP2 low power
mode.

Return the error code when re-initializing the UART after a STANDBY low
power mode.

Fix few typos and comments.

Run clang format on uart_stm32_pm_action()

Signed-off-by: Mickael Bosch <mickael.bosch@linux.com>
2025-09-03 17:05:17 +02:00
Johann Fischer
1d282539a3 usb: device_next: avoid false error logging in CDC ECM/NCM
The interface descriptor and its associated string descriptor are shared
between different speed configurations. Do not try to add a string
descriptor if it has already been added and the index is not zero.

Similar to commit ec851ba7c7
("usb: device_next: avoid false error logging in CDC ACM").

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2025-09-03 17:04:39 +02:00
Jeremy Dick
f7757d5f92 drivers: spi: spi_renesas_ra Remove reference to undefined PM device
Remove a reference to get a PM device that isn't defined

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
2025-09-03 17:04:30 +02:00
Jeremy Dick
f51f86e13a drivers: spi: spi_renesas_ra Don't stop SPI transactions early
Don't stop polled SPI transactions early if they aren't read and write

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
2025-09-03 17:04:30 +02:00
Jeremy Dick
f2fb6f5244 drivers: spi: spi_renesas_ra Use the correct hardware chip select
Choose the chip select based on the slave ID for SPI transactions

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
2025-09-03 17:04:30 +02:00
Benjamin Cabé
0132ea07fb doc: fix spelling errors tree-wide
fix some spelling errors in code comments and Kconfig helps

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Benjamin Cabé
7d45d3e821 driver: gicv3: doc: fix spelling errors in kconfig file
fixed a few typos / spelling mistakes

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Benjamin Cabé
dd4bf1aadc pm: policy: doc: fix spelling of help text
s/whithout/without/

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Benjamin Cabé
89fef8aa6d doc: correct the spelling of "comparison"
s/comparision/comparison/

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Benjamin Cabé
2f29ee07c2 boards: native_sim: fix typo "simulator"
s/Simular/Simulator/

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Benjamin Cabé
a8b763fe3b doc: fix "buses" spelling
Plural of "bus" is "buses", not "busses".

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-09-03 17:04:13 +02:00
Khaoula Bidani
5161f69409 west.yml: hal_stm32 : cube package update to latest version
Main changes on H7 cube package:
Fix DMA source and destination addresses

Signed-off-by: Khaoula Bidani <khaoula.bidani-ext@st.com>
2025-09-03 17:04:01 +02:00