Commit Graph

8142 Commits

Author SHA1 Message Date
Pisit Sawangvonganan
2d3a24b9b6 doc: fix typo in multiple directories before v4.2.0 release
Utilize a code spell-checking tool to scan for and correct spelling errors
in various files within the `doc` directory.

In `dsa_txrx_process.svg`, correct the typo `Tansmit` to `Transmit`.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-07-01 10:57:13 -10:00
Cong Nguyen Huu
c52ba71f94 drivers: introduce support Peripheral Sensor Interface (PSI5) driver
This driver allows to communication (send, receive) with PSI5 device

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-07-01 10:53:59 -10:00
Gaetan Perrot
34fd8d0049 doc: semihosting: update semihosting spec link
Replace dead link in semihosting documentation.

Fix #88206

Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
2025-07-01 10:15:32 -05:00
Josuah Demangeon
e23f12d6ae doc: release: mention new video-sw-generator snippet
This snippet got introduced, and is not a breaking change for C APIs but
still introduce a change of command line to use for building projects,
so add a migration guide entry.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-30 15:24:03 -05:00
Fabio Baltieri
52063988b1 doc: releases: mention the i2c connector label unification
Add a mention to the i2c label rename for i2c modules.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-06-27 18:25:28 -05:00
Benjamin Cabé
f1f9cf5c55 doc: contribute: fix spelling of advisable in guidelines rst
fix minor typo

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Co-authored-by: Serge Croisé <SergeCroise@users.noreply.github.com>
2025-06-27 21:19:40 +02:00
Tu Nguyen Van
c68d0b9630 doc: correct python minimum required
Fixes #92059

Update getting started guide, migration-guide and
python.cmake to use Python 3.12.1 as minimum supported
version

Signed-off-by: Tu Nguyen Van <tu.nguyenvan@nxp.com>
2025-06-27 09:15:42 -10:00
Henrik Brix Andersen
08175f816a scripts: kconfig: functions: add dt_compat_enabled_num function
Add dt_compat_enabled_num Kconfig helper function for counting the number
of compatible nodes with status okay.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2025-06-27 10:07:01 -05:00
Jérôme Pouiller
f6283b267e doc: sign: Describe usage of silabs_commander tool
Add the relevant documentation for the silabs_commander runner.

Co-developed-by: Aasim Shaik <aasim.shaik@silabs.com>
Signed-off-by: Aasim Shaik <aasim.shaik@silabs.com>
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
2025-06-27 10:06:16 -05:00
Anas Nashif
5ac9cd119b cmake: targets: support overriding puncover host and port
Allow overriding puncover default host and port. Using
PUNCOVER_HOST/PUNCOVER_PORT it is possible now to set the host and port
to something else other than the default.

example:

export PUNCOVER_HOST=10.0.1.1
export PUNCOVER_PORT=8088

will start puncover on 10.0.1.1:8088 and make it available over the
local network.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-06-27 09:59:30 -05:00
Josuah Demangeon
b60609adea samples: usb: add new UVC sample
Following the addition of USB Video Class, this adds a sample that makes
use of the zephyr,camera chosen node of any board to stream the video
source to the host. A snippet video-sw-generator can be used to test
and debug devices without a zephyr,camera chosen node.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-27 12:25:41 +02:00
Kapil Bhatt
15cf0c518e doc: networking: Add doc for EAP methods
Add commands to connect with EAP-TTLS and EAP-PEAP
security modes.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-06-27 10:58:22 +02:00
Bjarki Arge Andreasen
61694b79ce doc: releases: 4.2: mention new SPI_DEVICE_DEFINE deinit variants
Mention added SPI_DEVICE_DEFINE macro variants covering device
deinit.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-27 10:57:59 +02:00
Cong Nguyen Huu
003e391a8f drivers: introduce Single Edge Nibble Transmission (SENT) driver
This driver allows to communication (receive data) with SENT device

Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
2025-06-26 18:50:07 -10:00
Bjarki Arge Andreasen
c251bee8dd doc: releases: 4.2: mention new I2C_DEVICE_DEFINE deinit variants
Mention added I2C_DEVICE_DEFINE macro variants covering device
deinit.

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-06-26 22:15:52 -05:00
Adrien Maillard
4d73cd3980 updatehub: report error before rollback on unconfirmed image
Report the error state to the UpdateHub server before triggering a rollback
in autohandler mode. This prevents the server from redeploying the same
(failed) update after rollback, avoiding update loops. Also exposes a new
public syscall: updatehub_report_error(), allowing manual mode users to
report an error explicitly.

Signed-off-by: Adrien Maillard <adrien.maillard@edu.hefr.ch>
2025-06-26 22:07:51 -05:00
Henrik Brix Andersen
33db1542ac soc: neorv32: list NEORV32 v1.11.6 as currently supported version
List NEORV32 v1.11.6 as the currently supported version. No changes to the
in-tree drivers needed for the changes between v1.11.3 and v1.11.6.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2025-06-26 10:52:21 -10:00
Flavio Ceolin
44c76ee4ef doc: security: Disclose CVE-2025-2962
Disclose information about published CVE.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-06-26 10:49:14 -10:00
Flavio Ceolin
de10d08894 doc: release-notes-4.2: Vulnerability disclose
Add information about vulnerability that left embargo.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-06-26 10:49:14 -10:00
Camille BAUD
2e3790c798 doc: add timebase-frequency infos
Add timebase-frequency infos to migration guide

Signed-off-by: Camille BAUD <mail@massdriver.space>
2025-06-26 10:46:56 -10:00
Maxwell Weru
4e4646bcef doc: clarify commit email requirements in contribution guidelines
Updated the contribution guidelines to specify that pseudo or anonymized
emails (e.g., GitHub noreply addresses) are not allowed for commits.

Signed-off-by: Maxwell Weru <mburumaxwell@gmail.com>
2025-06-26 11:00:59 -05:00
Jukka Rissanen
405cb449c8 doc: migration-guide-4.2: Add DNS server reconfiguration info
Add information how the DNS reconfiguration API functions
dns_resolve_reconfigure() and dns_resolve_reconfigure_with_interfaces()
have changed.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-06-26 14:08:19 +02:00
Aleksandr Khromykh
81c636ac7f doc: release-notes-4.2: Information abot tc deprecation in mesh
Commit adds information about the removal of
the TinyCrypt crypto in Bluetooth Mesh.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2025-06-26 11:13:19 +02:00
Benjamin Cabé
6dca5be057 doc: develop: manifests: external: add libmpix
Introduce documentation for using libmpix as an external module in
Zephyr.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 15:59:22 -10:00
Andreas Schuster
972f11e9e4 doc: develop: Add XDG_CONFIG_HOME information for zephyrrc
The `zephyr-env.sh` script was adjusted to look for the zephyrrc file in
three locations following the [XDG Base Directory Specification]. The
documentation of the environment variables is now adjusted to reflect that
change.

[XDG Base Directory Specification]: (https://specifications.freedesktop.org/basedir-spec/latest/)

Signed-off-by: Andreas Schuster <andreas.schuster@schuam.de>
2025-06-25 15:33:06 -10:00
Helmut Lord
15d324cbd4 doc: services: shell: add reference to west rtt
Adds a reference to west rtt as alternative to using putty. Also provides
a command that prints supported rtt runners for the specific build.

This issue is encountered now with the nRF54L1, for example, because
the nrfutil runner does not support RTT at this time.

Signed-off-by: Helmut Lord <kellyhlord@gmail.com>
2025-06-25 15:29:56 -10:00
Khoa Nguyen
c99f456cf1 modules: hal_ethos_u: Update ARM_ETHOS_U config
- Update to use ETHOS_U config instead of ARM_ETHOS_U
- Update prefix ETHOS_U_ for all configs that use ARM_ETHOS_U_

Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
2025-06-25 10:52:48 +02:00
Benjamin Cabé
03696a0344 doc: hardware: porting: soc_porting: use consistent YAML indentation
Make all YAML snippets use the same kind of indentation for block
sequences.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-25 10:49:22 +02:00
Zhang Xingtao
d5863c3211 doc: hardware: porting: soc_porting: Fix missing dash in SoC family name
Add missing dash in the demonstration code snippets.

Signed-off-by: Zhang Xingtao <zhxt@live.cn>
2025-06-25 10:49:22 +02:00
Kapil Bhatt
900a7a915f doc: networking: Add wifi credentials library document
Add document for wifi credentials library, which use to load
and store credentials.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2025-06-24 15:36:34 -05:00
Chris Friedt
bb7aa4dd79 doc: release: 4.2.0: add sys_clock gettime settime nanosleep notes
Add bullets to release notes for sys_clock_gettime(),
sys_clock_settime(), and sys_clock_nanosleep().

These changes were significant, as they make timekeeping dependencies
more independent between libc and posix, and remove several unnecessary
dependencies on posix for ISO C library routines.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-06-24 14:18:52 +02:00
Francois Ramu
e11ca43123 doc: release-notes-4-2: new DTS properties for the QSPI of STM32 devices
Change to apply on the DTS of STM32 soc and boards with QSPI nodes

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-24 09:13:33 +02:00
Johan Hedberg
607ff8520f doc: migration-guide-4.2: Add note about bt_hci_cmd_create()
Add a note about bt_hci_cmd_create() deprecation and which API should be
used instead.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2025-06-23 12:44:53 -07:00
Sergei Ovchinnikov
1bfeaba6f4 doc: release: migration-guide-4.2: add npm13xx changes
Add notes about change in API and file locations from npm1300 to npm13xx

Signed-off-by: Sergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
2025-06-23 16:19:43 +01:00
Mathieu Choplain
19fe604aef scripts: west_commands: runners: add ST-LINK GDB server
Add the ST-Link GDB server (part of the STM32CubeCLT) as west runner.

The STM32CubeCLT is an all-in-one multi-OS command-line toolset, which is
part of the STM32Cube ecosystem, and notably includes a GDB server for
debugging using ST-Link probes.

This runner supports the "attach", "debug" and "debugserver" commands.

Documentation: https://www.st.com/en/development-tools/stm32cubeclt.html
Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-06-23 15:47:17 +01:00
Nick Ward
ab99a53ae7 net: lwm2m: ipso: accelerometer: remove buffers for optional resources
Allows application code to control allocation of buffers of optional
resources.

Y value, Z value, min range value, max range value resources are
optional.

Signed-off-by: Nick Ward <nix.ward@gmail.com>
2025-06-23 15:46:18 +01:00
Jilay Pandya
616688c20e docs: stepper: add stepper stop function
Add entry of stepper stop function in stepper.rst

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-23 13:44:51 +02:00
Benjamin Cabé
8031f338dd scripts: west: spdx: extract copyright info
use REUSE to extract copyright text from source files and include in

SBOM documents
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:42:35 +02:00
Benjamin Cabé
8fb5b00f8d doc: develop: tools: update "Generate compile commands" section
Clarify that commands should be run from `zephyr` folder.

Fixes zephyrproject-rtos/zephyr#90074

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-23 13:41:57 +02:00
Jilay Pandya
d751dc8a27 doc: release notes: 4.2: add entry for a4979 driver and mikroe shields
add missing entry of allegro, a4979 to release notes
add entry of mikroe stepper 18/19 click shields

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-06-21 13:14:30 +02:00
Anas Nashif
bd8597c9d7 x86: rename DEBUG_INFO to X86_DEBUG_INFO
This is an X86 specific option and should not appear as generic debug
option.

Fixes zephyrproject-rtos/zephyr#52929

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-06-20 14:43:42 -05:00
Josuah Demangeon
efe767738d doc: migration-guide-4.2: video: add note on pitch
Document the change of semantics of video_format.pitch field,
modified in commit 33dcbe37cfd3593e8c6e9cfd218dd31fdd533598.

Signed-off-by: Josuah Demangeon <me@josuah.net>
2025-06-20 14:42:01 -05:00
Francois Ramu
83589d5950 doc: release-notes-4-2: new DTS properties for the OSPI of STM32 devices
Change to apply on the DTS of STM32 soc and boards with OSPI nodes

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2025-06-20 14:41:41 -05:00
Henrik Brix Andersen
966ef0fefd doc: develop: optimizations: tools: use latest puncover release
Update the documentation to recommend installing the latest puncover
release publiced to the Python Package Index (PyPI).

At the time of this commit, the latest release on PyPI is v0.4.2, which
matches the latest release available on the puncover GitHub repo.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2025-06-19 13:58:40 +02:00
Benjamin Cabé
043bb58488 doc: ci: Zephyr now requires Python 3.12 or higher
Update getting started guide, release notes, CI actions and
Python version compliance check to use Python 3.12 as
minimum supported version.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-19 13:56:59 +02:00
Tahsin Mutlugun
b9bfff29f4 doc: arch: semihost: Add Xtensa support
Add information about Xtensa semihosting.

Signed-off-by: Tahsin Mutlugun <Tahsin.Mutlugun@analog.com>
2025-06-19 09:36:42 +02:00
Declan Snyder
877fa975cc spi_nxp_lpspi: Remove MCUX branding
Since the LPSPI drivers no long use MCUX at all, remove the MCUX
branding, to avoid confusion. In the future if an implementation uses
the MCUX SDK driver, it should specifically be called by MCUX in the
name.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2025-06-18 17:51:19 -04:00
Jamie McCrae
4af0a02b4c doc: services: device_mgmt: smp_groups: Add boot_mode details
Adds details on a new optional parameter for the OS mgmt reset
command which can specify the boot mode

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2025-06-18 17:48:44 -04:00
Benjamin Cabé
5f099c801b doc: develop: west: document spdx not being supported for native_sim
Generating SPDX SBOMs for the ``native_sim`` platform has propably
never worked, but at least now it will be documented.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-18 17:45:16 -04:00
Benjamin Cabé
bbfaf8adec doc: _templates: show correct version in sidebar in case of releases
Ensure that version indicator in sidebar is correct in case of releases.

Fixes zephyrproject-rtos/zephyr#91799.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-06-18 17:44:53 -04:00