Commit Graph

8061 Commits

Author SHA1 Message Date
Benjamin Cabé
8c6b2c8c88 doc: _extensions: boards: retrieve archs info dynamically
Rather than hardcoding the human readable full names of the archs in the
board catalog, we now retrieve them dynamically from the archs.yml file.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-06 10:29:44 +02:00
Gerard Marull-Paretas
1243fdd316 doc: extensions: kconfig: make location permalink optional
If setting is not present, extension will render broken links.
Let's just skip rendering the <a> element if GH base url is unset.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2025-06-05 15:12:07 -05:00
Alex Ivanov
5a9394a1e0 llext: add dynamic heap allocation support
Some applications require loading extensions into the memory which does
not exist during the boot time and cannot be allocated statically. Make
the application responsible for LLEXT heap allocation. Do not allocate
LLEXT heap statically.

Signed-off-by: Alex Ivanov <alexivanov@google.com>
2025-06-04 15:50:57 -04:00
Mathieu Choplain
8bc3a14c05 doc: board_porting: fix minor typo
Correct a minor typo in the hardware/porting/board_porting documentation
page.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-06-03 13:51:46 +02:00
Benjamin Cabé
b751bc00e2 doc: secure_storage: update Kconfig options formatting
Revised the documentation for PSA Secure Storage API configuration to
use the new :kconfig:option-regex: role for Kconfig options.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-03 09:15:19 +02:00
Benjamin Cabé
cfed396ffa doc: _extensions: kconfig: add :kconfig:option-regex: role
Allow users to create links to Kconfig regex searches.
The new role generates links to the Kconfig search page with the regex
pattern as the search query.

Fixes zephyrproject-rtos/zephyr#90571

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-03 09:15:19 +02:00
Jakub Michalski
43b3781f93 docs: virtio: add virtio docs
This commit adds virtio section in documentation, describing
virtio-related concepts

Signed-off-by: Jakub Michalski <jmichalski@antmicro.com>
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2025-06-02 17:37:07 +02:00
Josuah Demangeon
cf6170cbe6 doc: build: dts: api: document the zephyr,camera chosen node
The zephyr,camera was used in several samples, but was not documented.
Add the missing documentation entry for it in the list.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-02 05:48:21 +02:00
Anas Nashif
8286b0ee61 doc: coding guidelines: clarify severity
Make a note about the severity column which is informational and
directly taken from MISRA. All rules in the table are required for
Zephyr.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-05-31 07:05:41 -04:00
Sudan Landge
5ab74ff1de doc: arm: cortex_m: Update PACBTI support
Update PACBTI support for architecture variants in the features table
and add a new section introducing PACBTI support/limitations.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-05-31 06:55:18 -04:00
Sudan Landge
c6d1932b17 doc: arm: cortex_m: Update feature table
Add Cortex-M85 under the Arm v8.1-M architecture variant column.
Cortex-M85 shares feature support with Cortex-M55, including Privileged
Execute Never (PXN), and additionally introduces Pointer Authentication
and Branch Target Identification (PACBTI) extensions.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-05-31 06:55:18 -04:00
Benjamin Cabé
1fb86e1470 doc: release: update/consolidate LTS information
Update documentation with new LTS lifecycle information following TSC
decision to extend LTS support to 5 years.
Also removed some duplicate information.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-31 03:35:36 +02:00
Jordan Yates
a550c74da1 doc: document WIFI_USAGE_MODE
Add docs for `WIFI_USAGE_MODE` in the Wi-Fi section and release notes.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-05-30 19:40:01 +02:00
Adrian Gielniewski
73faf5cc15 doc: doxygen: Add openthread module header to INPUT
Add openthread module header to INPUT due to dependencies to symbols in
`zephyr/net/openthread.h`

Signed-off-by: Adrian Gielniewski <adrian.gielniewski@nordicsemi.no>
2025-05-30 10:26:44 +02:00
Chaitanya Tata
e92677bd3c doc: wifi: Improve runtime cert docs
* Remove the obsolete path reference, command is enough
* Add a note for the volatility of the certificates

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-05-28 17:50:46 +02:00
Benjamin Cabé
f38946428e doc: _extensions: board: show/hide boards and shield in catalog
Adds the ability to show/hide boards and shields in the board catalog.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-28 17:50:13 +02:00
Benjamin Cabé
804915841a shields: doc: allow to indicate supported hw features
Shield authors can now indicate an optional list of hardware features
that the shield supports, in the form of the same kind of "binding type"
already used for boards.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-28 15:33:50 +02:00
Neal Jackson
b13983a048 mgmt: hawkbit: add migration note for device_id prepend with custom id
When `CONFIG_HAWKBIT_CUSTOM_DEVICE_ID` is selected, the device_id will
no longer be automatically prepended with `CONFIG_BOARD`.

Signed-off-by: Neal Jackson <neal@blueirislabs.com>
2025-05-28 11:09:10 +02:00
Benjamin Cabé
98e61da55c bindings: dma: fix naming of xlnx bindings
file should be named after the compatible and these files where using
an incorrect vendor prefix.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-28 01:47:02 +02:00
Benjamin Cabé
eb79bf033f bindings: audio: fix naming of cirrus,cs43l22 binding file
file should be named after the compatible

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-28 01:47:02 +02:00
Benjamin Cabé
e4282c3b91 bindings: spi: rename andestech,atcspi200 binding file
file needs to be named after the compatible

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-28 01:47:02 +02:00
Benjamin Cabé
1eebc9f5d9 bindings: raspberrypi: rename binding file with typo
rename the file to get rid of the typo ("raspberrrypi") and align with
the compatible

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-28 01:47:02 +02:00
David Leach
88c34b06dd doc: binary blobs: remove TSC approval requirement
Remove the TSC approval requirements for binary blobs. Clarify
in the language that the submitter and reviewers shall ensure
that all binary blob requirements are being met before approval
and integration into Zephyr.

Signed-off-by: David Leach <david.leach@nxp.com>
2025-05-27 21:40:06 +02:00
Chen Xingyu
2752814eab doc: migration: 4.2: Clarify machine timer DTS changes
Clarify the changes introduced in machine timer bindings:

* Several legacy compatibles (e.g. andestech,machine-timer,
  neorv32-machine-timer, etc.) have been unified under riscv,machine-timer.
* MTIME and MTIMECMP addresses must now be specified explicitly using the
  reg and reg-names properties.
* The reg-names property is now required and must match the reg entries
  one-to-one.

Signed-off-by: Chen Xingyu <hi@xingrz.me>
2025-05-27 19:04:22 +02:00
Benjamin Cabé
3534a23c61 doc: introduction: replace NIOS II mention by Renesas RX
Remove one last (?) mention of NIOS II in the docs ; use it as an
opportunity to mention recently added support for Renesas RX.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-27 16:45:09 +02:00
Benjamin Cabé
54945f7979 boards: sparkfun: adopt zephyr:board directive
updates a couple boards to make the most of Sphinx board extensions.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-27 16:44:56 +02:00
Flavio Ceolin
287984f629 docs: pm: Update runtime PM documentation and release notes
Add new configuration options for runtime PM to the release notes,
including stack size, priority, and system work queue usage. Update
the runtime PM documentation to explain the implications of using the
system work queue and disabling asynchronous operations. Include a new
version of the sequence diagram for asynchronous operations.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-05-27 14:45:07 +02:00
Chris Friedt
dc7b6a0c82 doc: release: 4.2.0: add notes about timespec utils
Add release notes about the new timespec utilities.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-05-27 06:51:38 +02:00
Carles Cufi
bcf4d1ad38 doc: west: releases: Fix typo
s/manidest/manifest.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-05-23 23:49:48 +02:00
Flavio Ceolin
c6a21074af doc: release-notes-4.2: Information about TC shim
Add information about the removal of the TinyCrypt crypto driver.

Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
2025-05-23 17:41:06 -04:00
Sudan Landge
b853f01010 doc: Update on switch to CMSIS_6
Add a note to announce the switch to CMSIS_6 for Cortex-M arch.

Signed-off-by: Sudan Landge <sudan.landge@arm.com>
2025-05-23 17:40:55 -04:00
Alex Fabre
219fae6946 sca: llvm: add support for clang static analyzer
This commit brings a convenient way to run clang static analyzer on a
project with 'analyze-build' llvm utility.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
2025-05-23 17:40:36 -04:00
Alex Fabre
7e00170fa9 doc: toolchain: ATfE: fix formating
This commit fixe text formatting, removing numbered paragraphs, and
adding sub-titled parts.

Signed-off-by: Alex Fabre <alex.fabre@rtone.fr>
2025-05-23 17:40:36 -04:00
Robert Lubos
b939714204 doc: migration-guide-4.2: Add note about HTTP client response cb
Add entry about change in HTTP response callback function signature.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-05-23 17:20:24 +02:00
Robert Lubos
3572c9f825 net: http: client: Allow to abort download from response callback
Update the response callback function signature to allow the callback to
return an error code, which in turn will cause the HTTP client to abort
the download.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-05-23 17:20:24 +02:00
Benjamin Cabé
79e3ecb7a9 doc: boards: catalog: add shields to board catalog
Populate board catalog with shields as well and have them show up in the
boards/index page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-23 17:19:58 +02:00
Benjamin Cabé
3a62b17b85 cmake: shields: introduce shield.yml
While legacy shields are still supported, this introduces a shield.yml
file similar to board.yml that allows to more explicitly declare a
shield and to set some useful metadata such as vendor and full name.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-23 17:19:58 +02:00
Rodrigo Peixoto
bf93559856 doc: releases: State zbus API as stable
Zbus has been around since Zephyr v3.3.0 and fulfills all the requirements
to be a stable API.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
2025-05-23 15:30:48 +02:00
Chris Friedt
03099f30da doc: kernel: timeutil: add documentation for timespec apis
Add documentation in the timeutil group for recently added functions
for validating, comparing, and manipulating `struct timespec`
objects as well as functions for converting between representation
of time durations as either `struct timespec` or `k_timeout_t`.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-05-22 23:57:17 +02:00
Pieter De Gendt
f8a4b0ad53 doc: develop: west: Update west API for v1.4.0
Update the west API documentation for the added active_only arguments
to as_dict/as_frozen_dict/as_yaml/as_frozen_yaml.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-05-22 16:55:44 +02:00
Pieter De Gendt
b18b08a3f0 doc: develop: west: Update release notes
Add release notes for v1.3.0 and v1.4.0.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-05-22 16:55:44 +02:00
Pieter De Gendt
280171076e doc: services: storage: settings: Fix kconfig directive
Add CONFIG_ prefix to kconfig directive.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-05-22 13:45:06 +02:00
Pieter De Gendt
6840193071 doc: releases: migration-guide-4.2: Fix kconfig directives
Add CONFIG_ prefix to kconfig directives.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-05-22 13:45:06 +02:00
Pieter De Gendt
24fb7df0f1 doc: kernel: service: interrupts: Fix kconfig directives
Add missing CONFIG_ prefix to kconfig directives.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2025-05-22 13:45:06 +02:00
Jordan Yates
4904c27777 regulator: npm1300: convert regulator GPIOs to array
Convert the enable, pwm, and retention `gpios` properties away from the
GPIO specifier space to an integer array.

While this is a less specific type than the GPIO property, it has the
advantage of not requiring the PMIC gpios node to be both present and
enabled.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-05-22 13:44:31 +02:00
Andrey Dodonov
b7f046dd10 doc: kernel: services: correct usage example of k_poll_signal_reset
k_poll_signal_reset expects a pointer

Signed-off-by: Andrey Dodonov <Andrey.Dodonov@endress.com>
2025-05-22 04:53:17 +02:00
Alberto Escolar Piedras
d96158aa26 doc/connectivity/networking/api/zperf: Fix typo
Just a typo

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2025-05-21 12:35:28 +02:00
Chaitanya Tata
50e0123d47 doc: releases: Update migration with Wi-Fi shell
Document old and new options for Wi-Fi shell to help with the migration.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-05-21 12:34:22 +02:00
Benjamin Cabé
0c82c3516f Revert "cmake: shields: introduce shield.yml"
This reverts commit 9d5b19710b.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-21 09:30:30 +02:00
Benjamin Cabé
928472b4c7 Revert "doc: boards: catalog: add shields to board catalog"
This reverts commit 11fea40a40.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-05-21 09:30:30 +02:00