8873 Commits

Author SHA1 Message Date
Benjamin Cabé
72a1c9e43e doc: _scripts: gen_devicetree_rest: ensure blank lines around transition
Transition markers ("----") require blank lines before and after, so
this ensures that is always the case.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-23 10:45:39 +01:00
Robert Lubos
a34409f006 doc: migration-guide-4.4: Document secure socket version enforcement
Document that TLS version passed to a zsock_socket() function is no
longer ignored and is now enforced as the minimum TLS version for the
TLS session.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-22 12:56:12 -05:00
Robert Lubos
8a5c82ae1d doc: net: sockets: tls: Document the meaning of the protocol version
Document explicitly that the TLS version passed in the protocol
parameter matters and specifies the minimum TLS version to use for the
socket.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-22 12:56:12 -05:00
Valerio Setti
647f68cb2c doc: migration-guide: add notes for changes in flash_map's integrity check
Add notes about changes in flash_map's Kconfig for what concerns the
crypto libraries used for integrity check.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
2026-01-22 14:03:06 +00:00
Camille BAUD
fa30e17ffa doc: release: Notes about SSD1306/9 bindings
Adds notes about SSD1306/9 bindings

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-22 08:40:29 +00:00
Mark Wang
37a048abef doc: Bluetooth: shell: improve a2dp shell doc
describe all the a2dp shell cmds.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-01-22 08:37:41 +00:00
Camille BAUD
9e39daadfd doc: release: Notes about SSD1327 Driver
Adds note about Kconfig change for SSD327 driver

Signed-off-by: Camille BAUD <mail@massdriver.space>
2026-01-21 20:07:07 +01:00
Pieter De Gendt
3a961db126 doc: releases: 4.4: Add COBS streaming support entry
Add a Utilities entry with added COBS structs and functions.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-21 17:06:04 +01:00
Jamie McCrae
b0467a0313 doc: release: migration_guide: 4.4: Add MCUmgr change
Adds a note on a required change for MCUmgr if using the UART
transport

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-21 11:21:46 +00:00
Khai Cao
71389b3dd5 doc: releases: document ek_ra8t2/r7ka8t2lfecac rename
Document the board rename from ek_ra8t2/r7ka8t2lfecac/cm85 to
ek_ra8t2/r7ka8t2lflcac/cm85 in the Zephyr v4.4.0 migration guide.

Signed-off-by: Khai Cao <khai.cao.xk@renesas.com>
2026-01-21 11:21:27 +00:00
Pieter De Gendt
93b5f19f99 doc: releases: 4.4: Add ADC_DT_SPEC_GET_*_OR
Add an entry to the release notes with the added ADC DT spec macros.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-01-20 20:11:59 -05:00
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
Benjamin Cabé
474d502df3 doc: link-roles: Update path handling to use document name
Use docname instead of source from get_source_and_line() because
source can be a relative path to an included file (e.g., .rst.inc),
while docname is always the main document being processed.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:04:57 -05:00
Benjamin Cabé
608fdac2d7 doc: release: convert broken zephyr_file links to literal paths
Fix dead links by replacing them to normal strings. This is in
preparation for a fix in zephyr_file role link check that will make the
checks more strict and fail on these even if they hadn't been flagged
until now.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-20 20:04:57 -05:00
Chaitanya Tata
acd5815cb1 doc: connectivity: networking: Add zperf raw TX mode
Add a section for raw TX mode.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2026-01-20 14:33:58 -05:00
James Roy
34a6cac24c doc: Add dt api documentation for hwspinlock
Add devicetree API documentation for hwspinlock, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
2faf427d6a doc: Add dt api documentation for ordinals
Add devicetree API documentation for ordinals, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
9c6cc7d6cb doc: Add dt api documentation for display
Add devicetree API documentation for display, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
James Roy
253336c396 doc: Add dt api documentation for nvmem
Add devicetree API documentation for nvmem, it's
located in `api.html#hardware-specific-apis`.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-20 15:31:32 +00:00
Jamie McCrae
58f9d5e6c3 doc: releases: release-notes: 4.4: Add notes on new bits
Adds a new on the newly introduced sysbuild variant image feature
and a new slot1-partition snippet

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00:00
Jamie McCrae
78772ba863 doc: build: sysbuild: Add details on variant images
Adds details about the ``ExternalZephyrVariantProject_Add`` sysbuild
function which has been newly added, that allows for creating
variant images

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 15:31:06 +00: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
Ren Chen
7b81e406d6 board: ite: it515xx_evb: rename it515xx_evb to it51xxx_evb
This change accommodates support for next-generation
soc(it51600).

Tested with:
west build -p always -b it51xxx_evb/it51526aw samples/hello_world/

Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>
2026-01-20 15:28:09 +00:00
Nhut Nguyen
541e732f35 doc: migration-guide-4.4: Document renesas,rz-gpio change
Document renesas,rz-gpio change

Signed-off-by: Nhut Nguyen <nhut.nguyen.kc@renesas.com>
2026-01-20 13:25:13 +00:00
Chris Friedt
e59a65386e doc: release: 4.4: deprecate CONFIG_XOPEN_STREAMS (again)
Deprecate the CONFIG_XOPEN_STREAMS Kconfig option in favour of
CONFIG_XSI_STREAMS, which matches the naming conventions of other XSI
Kconfig options and the actual Option Group name in the specification.

Please use CONFIG_XSI_STREAMS instead.

Note: this option was originally deprecated prior to 4.3.

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Chris Friedt
25c2aaef9b posix: xsi: streams: deprecate CONFIG_XOPEN_STREAMS (again)
CONFIG_XOPEN_STREAMS does not follow the pattern of other XSI Option
Groups, where the Option Group name is not the same as the feature
test macro that indicates it is supported by the implementation.

Deprecate CONFIG_XOPEN_STREAMS and rename it to CONFIG_XSI_STREAMS.

For more information, please see
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/\
V1_chap02.html#tag_02_01_05_09

Signed-off-by: Chris Friedt <chris@fr4.co>
2026-01-20 13:24:51 +00:00
Jamie McCrae
8c093a08f5 doc: release: migration_guide: 4.4: Add note on NRF Kconfig change
Adds a note on required changed for SOC_SERIES_NRF Kconfigs with
an X in them

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2026-01-20 13:21:38 +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
Emil Gydesen
a6c54dcf68 doc: releases: Add note about UTF8 for CONFIG_BT_AUDIO
CONFIG_BT_AUDIO now depends on CONFIG_UTF8. Add instructions
on how to (easily) migrate.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-01-20 13:20:52 +00:00
Eve Redero
60c1970c4d doc: build: use dt_freq_m in example
Example dts should use dt_freq_m instead of lots of zeros.

Signed-off-by: Eve Redero <eve.redero@gmail.com>
2026-01-19 16:20:56 -06:00
Guillaume Gautier
c62748a9e0 doc: releases: migration guide: add a note for stm32f2/f4/f7 pll rework
Add a note for the STM32F2/F4/F7 PLL clock rework in the migration guide.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2026-01-19 16:20:44 -06:00
Alain Volmat
b13d9a0510 display: rename current BGR_565 format into RGB_565X
The format currently expected by devices and sample display
application for BGR_565 is actually RGB_565 format with bytes
swapped (not B / R swapped). That is:

PIXEL_FORMAT_RGB_565:
         * @code{.unparsed}
         *   7......0 15.....8
         * | gggBbbbb RrrrrGgg | ...
         * @endcode

current PIXEL_FORMAT_BGR_565:
         * @code{.unparsed}
         *   7......0 15.....8
         * | RrrrrGgg gggBbbbb | ...
         * @endcode

This is explained in both st7796s display driver but also is
what is generated by the sample display application. As a video
format (ex: V4L2), such format is not mentioned as BGR (for
which R and B are swapped) but RGB_565X.

Within the whole Zephyr tree, rename the curremt BGR_565 format
into RGB_565X in order to emphasis that this is a byte swapped
format rather than a B/G component swapped format.

This also correct the description of the format in display.h
file, which wasn't correct based on what was being used by
display driver or sample display app.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
2026-01-19 16:04:04 +00:00
Antoni Duda
28a9b43459 bluetooth: host: Allow unregistering per adv sync cbs
Introduce bt_le_per_adv_sync_cb_unregister to allow
unregistering of the periodic sync callbacks.

Signed-off-by: Antoni Duda <antoni.duda@programmer.net>
2026-01-19 12:17:53 +01:00
Benjamin Cabé
3dfe5a98f6 doc: code_data_relocation: Add syntax highlight to cmake snippets
Fix code-blocks that had improper syntax highlighting set

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-01-17 20:30:15 +00:00
Zhaoxiang Jin
e790de88c6 doc: releases: add migration guide for NXP compile flag scope changes
Document the scope changes for NXP compile flags that were
moved from global to local scope in PR #100252. Applications
that depended on these flags being globally available may need
to be updated.

The following flags have been moved to use
zephyr_library_compile_definitions():
- BOARD_FLASH_SIZE: moved to SoC layer CMake for RT10xx and RT11xx
- XIP_BOOT_HEADER_ENABLE: scoped to boards CMake or SoC layer as needed
- BOOT_HEADER_ENABLE: scoped to boards CMake, removed from RW61x boards
- XIP_BOOT_HEADER_DCD_ENABLE: scoped to boards CMake or SoC layer as needed

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-01-16 11:43:49 +00:00
Gatien Chevallier
624e018a5f nvmem: Add OTP API support
OTP drivers are the interface to One Time Programmable memory, which
is NVMEM. Add the interface with the OTP API to the NVMEM one.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Gatien Chevallier
7db8328b08 drivers: Introduce new OTP subsystem
Introduce a new OTP subsystem to be able to interact with One Time
Programmable(OTP) memory. For now, add basic read()/program() APIs.
Program() API is default disabled due to its sensitivity.

File drivers/otp.h is inspired by drivers/eeprom.h as the basic
features are similar.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
2026-01-16 11:42:50 +00:00
Carlo Caione
d6dce1ca51 lorawan: rename region Kconfig symbols to be backend-agnostic
Move and rename the region Kconfig symbols from LORAMAC_REGION_* to
LORAWAN_REGION_* to make them backend-agnostic.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2026-01-16 11:41:01 +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
Henrik Brix Andersen
b5980bcc75 doc: releases: migration-guide: 4.4: mention change to FlexCAN DT clock
Mention that the NXP FlexCAN devicetree property "clk-source" now
automatically selects between named input clocks.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2026-01-16 11:40:27 +00:00
Andrej Butok
32823f39fb boards: mikroe: move the hexiwear board
- The vendor of the hexiwear board is mikroe (not nxp)
  https://www.mikroe.com/hexiwear.
- Move the board files from 'nxp' to 'mikroe'.
- Delete hexiwear from the nxp maintained board list.
- Update paths in the documentation.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
2026-01-15 16:42:24 +00:00
Qiang Zhao
203c92980d net: shell: fix qbv command documentation and help text
Fix inconsistencies in the QBV (IEEE 802.1Qbv Time-Aware Shaper) shell
command documentation and help messages:

1. Add missing "net qbv" command documentation to net_shell.rst
2. Correct command examples in help text - add missing "net" prefix
   to "qbv set_gc" commands
3. Fix command usage descriptions for set_config and set_gc to match
   actual command names

This ensures users see correct command syntax in both documentation
and interactive help.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2026-01-15 11:09:22 +00:00
Nicolas Moreno
d689916186 doc: releases: add ili9xxx fixes to 4.4 releases notes & migration guide
Added documentation for doc/releases/migration-guide-4.4.rst
in reference with the changes on ili9xxx and ili9341
controllers

Signed-off-by: Nicolas Moreno <niko722795@gmail.com>
2026-01-15 11:04:16 +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
Robert Lubos
59206e4132 doc: net: http_server: Update header capture code snippet
Update outdated code snippet for the header capture feature in HTTP
server docs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2026-01-14 13:06:50 -06:00
James Roy
4c8cb73198 doc: Generate documentation for the binding examples
Generate an rst document with an `Examples` section
from the sample nodes written in the examples of the
binding.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-14 13:02:02 -06:00
James Roy
077e23482c doc: scripts: Add a language parameter to the to_code_block()
Introduce a `language` parameter in `to_code_block()` for syntax
highlighting support (default: None).

Signed-off-by: James Roy <rruuaanng@outlook.com>
2026-01-14 13:02:02 -06:00
Qiang Zhang
22e754c77e doc: migration-guide-4.4: Document DMA_MCUX_EDMA_V5 removal
Add migration guide entry for the removal of CONFIG_DMA_MCUX_EDMA_V5
configuration option.

Signed-off-by: Qiang Zhang <qiang.zhang_6@nxp.com>
2026-01-14 13:00:55 -06: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
Lyle Zhu
8dca624355 doc: bluetooth: reorganize Classic API documentation into subdirectory
Reorganize Bluetooth Classic API documentation by moving existing files
(SDP, RFCOMM, A2DP, HFP) into a new `classic/` subdirectory and adding
new documentation files for L2CAP BR/EDR, AVRCP, GOEP, and BIP.

Changes include:
- Move existing Classic API docs to subdirectory `classic/`
- Add new L2CAP BR/EDR documentation
- Add AVRCP, GOEP, and BIP API reference documentation
- Update HFP documentation to include both HFP Unit and HFP-AG sections
- Update index.rst to reflect new directory structure
- Add Doxygen group documentation to AVRCP header
- Update AVRCP Cover Art to be a subgroup of AVRCP
- Fix L2CAP BR/EDR Doxygen group name and description

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-01-14 09:57:38 +01:00