582 Commits

Author SHA1 Message Date
Gillian Minnehan
987722df9d doc: add license/terms to external module template
It is important to include license and terms of use information
in the documentation for external modules. This helps users
understand their rights and obligations when using these modules
within the Zephyr project.

Signed-off-by: Gillian Minnehan <gillian.minnehan@nordicsemi.no>
2026-01-20 20:09:23 -05:00
Grzegorz Chwierut
5d73bc00ca twister: fix --list-tests output, remove duplication in names
This fixes the issue where --list-tests and --test-tree commands
showed duplicated testsuite IDs in the output,
simplifies testcase name handling in harness and runner modules.
Removed feature to extend behaviour of --no-detailed-test-id to shorten
test case names - feature was introduced in #82302.
This makes the twister output more predictable and the codebase easier
to maintain.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2026-01-20 15:30:44 +00:00
Tomasz Gorochowik
e5126a0874 doc/develop/manifest/external: add grvl
Add grvl [1] as an external module to Zephyr.

1: https://github.com/antmicro/grvl

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
2026-01-20 13:21:08 +00:00
Ritesh Kudkelwar
14a4591ec0 doc: document west sdk under zephyr-specific west commands
Move west sdk documentation to the Zephyr-specific west commands page
and clarify listing, interactive install behavior, and toolchain
selection.

Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
2026-01-16 11:40:47 +00:00
Benjamin Cabé
8e4a55cedb doc: contribute: add Doxygen guidelines
Add Doxygen guidelines to help maintain code documentation consistency
across the project in particular for constructs or commands that are Zephyr
specific, such as properly documenting API symbols that are gated by
Kconfig.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-15 11:04:02 +00:00
Mohamed Moawad
7fb39e806c twister: Add board-level flash_before support for pytest/shell harnesses
Add support for boards to specify flash_before in their board YAML files,
which is then used by pytest and shell harnesses. This is needed for
Synopsys ARC development boards (hsdk, hsdk/arc_hsdk/2cores, hsdk4xd
and iotdk) where the USB serial port disconnects during flashing.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
2026-01-14 13:00:22 -06:00
Thomas Stranger
0aadb3f0c8 doc: develop: getting_started: fedora dnf5 group installation
The group display names don't work with dnf5.
As displaynames can depend on the locale and are not unique
dnf5 only supports the group identifiers.

Distributions with dnf4 like RHEL<=10, Fedora<41, and CentOS stream
shouldn't have any issues with the group id, but have not been tested.

Alternatives considered: use the @-sytax for groups introduced in dnf5,
but using the group command makes it more clear that package groups are
installed.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2026-01-13 14:09:01 -06:00
Zackery Backman
6defef2519 doc: develop: manifests: external: add wolfTPM
Add documentation to external module section for adding wolfTPM to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2026-01-12 12:39:19 -06:00
Zackery Backman
1753bdb0f6 doc: develop: manifests: external: add wolfMQTT
Add documentation to external module section for adding wolfMQTT to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2026-01-12 12:38:31 -06:00
Eoin Jordan
e4bfc1d2a4 doc: add Edge Impulse SDK external module documentation
Add documentation for the Edge Impulse SDK Zephyr module to the external
modules section, including:

- Module overview describing the Edge Impulse ML development platform
- Integration instructions with west.yml manifest configuration
- West extension commands (ei-build, ei-deploy) for model deployment
- License information (BSD-3-Clause-Clear)
- References to official Edge Impulse documentation and tutorials

The Edge Impulse SDK module enables machine learning inference on Zephyr
devices by packaging the Edge Impulse SDK as a reusable Zephyr module
with west integration for streamlined ML model deployment workflows.

Signed-off-by: Eoin Jordan <eoin@edgeimpulse.com>
2026-01-12 12:35:55 -06:00
Lane Westlund
97f4a67187 doc: fix additional instances of build/built typos
In some cases, "is build" was written instead of "is built"

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-08 09:51:08 +01:00
Lane Westlund
abd7a17424 doc: ztest fix verb tense
Fixes a small typo with verb tense and sentence structure in the ztest doc

Signed-off-by: Lane Westlund <lane@westlund.net>
2026-01-06 16:09:16 -06:00
Stefan Gloor
872f20ab21 doc: develop: add 'which' to Arch Linux dependencies
The setup.sh script of the Zephyr SDK runs "which cmake"
to find out whether CMake and wget are installed:
71df6c27da/scripts/template_setup_posix (L43)

"which" is not installed by default on Arch Linux,
so the check will fail and the script will yield:

Zephyr SDK setup requires 'cmake' to be installed
and available in the PATH.
Please install 'cmake and run this script again.

Although CMake is already installed.
Fix this by adding "which" to the list of dependencies.

Signed-off-by: Stefan Gloor <code@stefan-gloor.ch>
2026-01-06 13:36:56 +00:00
Nick Brook
b95b778530 doc: Add concrete board revision usage with qualifiers
The existing documentation was not explicit on how qualifiers should be
combined with board revisions. This commit makes it explicit and adds a
concrete example.

Signed-off-by: Nick Brook <nrbrook@gmail.com>
2026-01-05 23:39:46 +01:00
Ayush Singh
9d9529f0db doc: develop: manifest: external: Add greybus
Add documentation for Greybus Zephyr implementation. The RFC [0] goes into
more detail regarding Greybus and it's current status.

[0]: https://github.com/zephyrproject-rtos/zephyr/issues/98259

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-01-03 13:09:36 +01:00
Grzegorz Chwierut
10533cedbe doc: twister: Add multi-core testing support documentation
Document the new multiple UART connection support in pytest-twister-harness
plugin. Hardware devices can now access multiple connections using the
connection_index parameter (0=main UART, 1=second core UART).
Also update readlines_until() examples to use explicit regex= parameter
for improved API clarity.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-12-22 20:36:34 +01:00
Pieter De Gendt
7f97d3dd0a scripts: west: packages: Print warning on windows or run new command
On non-Windows systems execute a new program, replacing the west packages
call, when trying to install packages using pip.
For Windows, update the documented way of installing python packages,
or using 'west packages pip --install' print a warning.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-12-19 13:55:11 -05:00
Benjamin Cabé
fa352c3030 doc: twister: keep definition lists uninterrupted
Move reference labels within definitions so that they do not break the
flow of definition lists.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
18c1a63891 doc: fix bad indentation causing elements to render as definition lists
Fixes documents where blocks where indented to the right of their parent
causing them to render as definition lists.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-18 23:37:50 +01:00
Benjamin Cabé
fd24cefd01 doc: spelling/typo fixes
minor spelling/typo fixes, mainly around using proper US English

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-11 16:32:58 -05:00
Zackery Backman
248151624d doc: develop: manifests: external: add wolfSSH
Add documentation to external module section for adding wolfSSH to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2025-12-06 11:37:53 -05:00
Benjamin Cabé
67cd6120b9 doc: developer: enhance manifest index with introductory text
The "West Projects Index" could use a bit more context so this commit
adds just that.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-12-05 13:38:58 +02:00
Anas Nashif
d1170f668a doc: various fixes for include path
Many include paths missing the zephyr namespace.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-11-26 12:11:27 -05:00
Thorsten Klein
d7829271bb doc: develop: west: add documentation for west blobs caches
Documentation for west blobs `--cache-dirs` and `--auto-cache`,
respectively config options `blobs.cache-dirs` and `blobs.auto-cache`.

Signed-off-by: Thorsten Klein <Thorsten.Klein@bshg.com>
2025-11-25 13:06:06 +01:00
Anas Nashif
16fecc0276 manifest: optional: move lz4 to external
Move lz4 to become external module. It is not in the default manifest
anymore (through submanifests) and will need to be added if application
requires it per the docs.

Samples will be moved to the module itself.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-11-25 13:01:12 +01:00
Anas Nashif
015bf2ed49 manifest: move zscilib to be an external module
Remove from manifest and make it an external module.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-11-25 13:01:12 +01:00
Christophe Dufaza
b5744c3158 doc: develop: manifests: external: add dtsh
Introduce documentation for using dtsh (a Devicetree Shell)
as an external module in Zephyr.

This module installs a West extension.

See also RFC #59863.

Signed-off-by: Christophe Dufaza <chris@openmarl.org>
2025-11-21 10:11:14 +02:00
Carles Cufi
db0c34d836 c standard: Default to C17 as the minimum required C standard
C99 has been the minimum required C standard version for Zephyr since
its inception. After multiple attempts and discussions, a decision has
been made to upgrade to C17 going forward.
This commits replaces the default C standard from C99 to C17 in the
configuration and build system, and deprecates support for the older
standards.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-11-20 09:04:46 -05:00
Martin Lampacher
dece6f91e6 doc: ztest: add a note about host restrictions for unit testing
Running unit tests on macOS or Windows is currently not supported due to
fundamental differences in the architectures. Added a note in the
"Quick start - Unit testing" section about this restriction.

Signed-off-by: Martin Lampacher <martin.lampacher@gmail.com>
2025-11-18 11:24:17 +01:00
Matjaz Kajba
30bd32969b doc: replace getting started guide image
Replace blinky animation in getting started guide with nicer image.

Signed-off-by: Matjaz Kajba <matjaz@irnas.eu>
2025-11-17 09:22:28 -05:00
Etienne Carriere
c56dbff4fd doc: develop: flash_debug: info on OpenOCD deprecation of ST-Link HLA
Add a section about the old legacy HLA interface being deprecated in
OpenOCD and give some hint on how to accommodate if one faces a
communication issue with an old ST-Link adapter.

Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2025-11-15 11:26:49 +01:00
Grzegorz Chwierut
9953f330cc doc: twister: Document extra serial port
Update documentation for using multiple serial ports
with Twister's --devise-serial option.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2025-11-13 20:42:31 -05:00
Abderrahmane JARMOUNI
12f5e5bd0e doc: develop: twister: fix titles underline inconsistency
Fix underline inconsistency of titles of level 4 by replacing + with -.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-11-06 16:25:44 -05:00
Abderrahmane JARMOUNI
5679689f90 doc: develop: test: twister: fix doc titles level issue
fix doc titles level issue reported in CI

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-11-06 15:49:28 +02:00
Abderrahmane JARMOUNI
acb1071b4e doc: test: twister: document DT filtering expressions
Add documentation for the DT filtering expressions in 'expr_parser.py',
used by Twister to filter boards based on their DT nodes/properties when
selecting test scenarios.

Signed-off-by: Abderrahmane JARMOUNI <git@jarmouni.me>
2025-11-06 15:49:28 +02:00
Benjamin Cabé
cac77c31be doc: releases: add Zephyr 4.3 release highlights
Complete the section about major highlights for Zephyr 4.3.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-11-05 15:32:21 -05:00
Benjamin Cabé
1e8a5f7dd0 doc: twister: add/move doc for display harness
The display harness initial documentation was a separate, stale (had
references to a personal Github repo), README.rst buried in the
twister/scripts folder.
Move the docs to be a "first class" part of the Twister documentation
alongside other harnesses.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-10-31 10:36:57 -04:00
Filip Kokosinski
440b0c0915 doc/develop/manifest/external: add Zephelin
Add Zephelin [1], a Zephyr Profiling Library as an external module of the
Zephyr Project.

1: https://github.com/antmicro/zephelin

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-10-29 20:19:27 +02:00
Zackery Backman
6edfdb99f4 doc: develop: manifests: external: add wolfSSL
Add documentation to external module section for adding wolfSSL to Zephyr

Signed-off-by: Zackery Backman <backman23@live.com>
2025-10-28 20:20:29 -04:00
Aymeric Aillet
b4556ea923 doc: update SDK supported architectures
Architecture list comes directly from SDK readme
This list is accurate since SDK 0.17.1

Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
2025-10-24 13:29:15 -04:00
Aymeric Aillet
ea1f394b22 doc: centralizes doc for installing SDK for Linux
- rename ubuntu to linux for sdk install
- redirect duplication to linux sdk install guide

Signed-off-by: Aymeric Aillet <aymeric.aillet@iot.bzh>
2025-10-24 13:29:15 -04:00
Thorsten Klein
03a58604d7 doc: develop: west: config option build.dir-fmt
new format arguments for config option build.dir-fmt are documented
accordingly.

Signed-off-by: Thorsten Klein <thorsten.klein@bshg.com>
2025-10-24 13:26:37 -04:00
Luca Burelli
338a8b1e48 west: bindesc: add extract subcommand
Add a new 'west bindesc extract' subcommand that dumps all binary
descriptors into a separate binary file. It will also report the range
(offset and length) of the dumped data within the original image.

Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
2025-10-24 09:43:40 +03:00
Pieter De Gendt
5f5e328a2c doc: develop: gsg: Update windows installation steps
The Python version installed with winget defaults to 3.8, make a more
recent version the default.
Also add a note on the execution policy for activating the Python virtual
environment.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-10-22 18:11:45 -04:00
Declan Snyder
de6b5dba60 scripts: flash: Add west config for flash skip rebuild
Add a west config option to skip rebuilds by default or not when doing
west flash. Also add corresponding symmetrical CLI options.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-10-20 11:22:52 -04:00
Daniel Skinstad Drabitzius
5bf4af9b72 doc: develop: manifests: external: add mender-mcu
Introduce documentation for using mender-mcu as an external module in
Zephyr.

Signed-off-by: Daniel Skinstad Drabitzius <daniel.drabitzius@northern.tech>
2025-10-07 17:44:09 +03:00
Stefan Schmidt
69548c6d94 documentation: unit tests: extend description
Add a more detailed description on how to unit test using ztest and twister


Signed-off-by: Stefan Schmidt <kontakt@stefanschmidt-embedded.de>
2025-10-05 20:02:22 -04:00
Felipe Torrezan
74380310de cmake: sca: iar: Add IAR C-STAT
This commit adds support for IAR C-STAT Static Analysis
in the Zephyr's SCA Framework.

By specifying -DZEPHYR_SCA_VARIANT=iar_c_stat in west, a SQLite
database file will be generated under build/sca/iar_c_stat.

Signed-off-by: Felipe Torrezan <felipe.torrezan@iar.com>
2025-09-29 12:37:25 -04:00
Pieter De Gendt
9b24a80faa doc: develop: west: config: Add auto-cache
Add an entry to the west configuration table for auto-cache.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-25 14:18:25 -04:00
Pieter De Gendt
0af7142f87 doc: develop: west: Add v1.5.0 release notes
Add a section to the west release notes for v1.5.0.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-09-25 14:18:25 -04:00