Commit graph

7923 commits

Author SHA1 Message Date
Anas Nashif
29b1131f66 doc: Create dox file for tests
Create top level doxygen groups to be used by tests and move to
dedidcated dox file for tests.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-04-22 14:03:29 +02:00
Tomi Fontanilles
03a35a4ea5 doc: releases: add release notes for TF-M update
Add an entry to the release notes regarding the TF-M 2.1.2 update.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2025-04-22 12:09:37 +02:00
Jordan Yates
6695c8f0d6 doc: zbus: update iperf version information
Update iperf version information for use with zperf. Note the fallback
kconfig option for versions older than `2.0.10`, and remove the warning
about `LAST PACKET NOT RECEIVED!!!` since it is not longer present with
the fixed UDP header.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-22 09:59:57 +02:00
Jordan Yates
9286b0b9d0 sensor: additional conversion functions
Add additional conversion helpers for `deci` and `centi` output units.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-22 04:33:14 +02:00
Qiang Zhao
c412ee4597 drivers: firmware: scmi: add cpu domain protocol
Added helpers for NXP SCMI cpu dmomain protocol.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2025-04-21 22:03:27 +02:00
Phi Bang Nguyen
a250e91396 doc: release-notes-4-2: Add changes related to video control
Add changes related to the new video control framework

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
2025-04-21 20:03:31 +02:00
Flavio Ceolin
d5201e179f doc: release-notes-4.2: Vulnerability fixed
Add information about vulnerability addressed in this release.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-04-21 12:43:50 +02:00
Flavio Ceolin
2baf7a4570 doc: vuln: Add CVE under embargo
Add an entry to CVE-2025-2962

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2025-04-21 12:43:50 +02:00
Anas Nashif
44327ec841 doc: doxygen: exclude nrf_wifi
This one appears in the top level of doxygen and should not be exposed
as a Zephyr API.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-04-18 17:46:50 +02:00
Anas Nashif
ec405a8632 doc: doxygen: group debugging APIs
Create new group for debugging and move all debugging APIs under this
group.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2025-04-18 17:46:50 +02:00
Chaitanya Tata
7b3d44e403 samples: net: wifi: Add a script to install certs
For enterprise mode we need to install multiple certs to the TLS
credentials store, so, add a helper script in python to make it work
cross-platforms.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-04-18 10:40:39 +02:00
Aleksandr Khromykh
b53b5e198a bluetooth: rename _bt_gatt_ccc and clarify usage
Bluetooth had two public types with similar name _bt_gatt_ccc and
bt_gatt_ccc, but for absolutely different purposes.
That caused misunderstanding of relationship of them and cases
where to use which one.

Commit changes name of _bt_gatt_ccc to more suitable by usage and
improves documentation of it.

Additionally, it changes name of BT_GATT_CCC_INITIALIZER
to correspond the type name.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2025-04-17 17:24:19 +02:00
Fin Maaß
18b6b2ef48 docs: releases: mention flash_area_copy()
mention `flash_area_copy()` in release notes.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2025-04-17 17:23:43 +02:00
Martin Durietz
3197be97e6 lorawan: add link check support.
Add link check support, by adding:
- link check callback in response of LinkCheckAns.
- link check request function using LinkCheckReq.

Signed-off-by: Martin Durietz <martin.durietz@gmail.com>
2025-04-17 17:23:12 +02:00
Chaitanya Tata
2668b34602 doc: net: wifi: Fix the connect command
The command should work with existing certs rather than a generic
example, also fix the key-management.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-04-17 17:22:58 +02:00
Chaitanya Tata
eb1a13eda7 samples: net: wifi: Add two variants of certs
RSA3K based certs are not supported on all platforms, so, keep both
variants, rsa2k (the older certs but with longer expiry 9999 days) and
rsa3k (latest ones) and we can have more variants in this folders.

Also, add a cmake variable to override the path with default as rsa3k.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-04-17 17:22:58 +02:00
Chaitanya Tata
d7b3bcd982 wifi: Move Wi-Fi enterprise configs to a snippet
Instead of having an overlay move the Enterprise configurations to a
dedicated snippet so that it can be enabled with any sample.

Can be used along with Wi-Fi snippet e.g., `-S
"wifi-ipv4;wifi-enterprise"`.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-04-17 17:22:58 +02:00
Chaitanya Tata
b2e7d7fc0c net: l2: wifi: Add support for run-time certificates
Using TLS credentials library add support for run-time certificates where
the installed certs are retrieved from the credential store (as of now
only volatile backend is tested).

This helps in production environments.

Implements #79564.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2025-04-17 17:22:58 +02:00
Derek Snell
838eae9abf doc: releases: migration-guide-4.2: add mclk-output for nxp,mcux-i2s
Document new mclk-output property.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2025-04-16 08:09:41 +02:00
Carles Cufi
58e0e31c7e west: runners: nrf: Generalize the erase command
Instead of providing an `--erase-pages` command, generalize it to a new
`--erase-mode` one that can be set to `none`, `ranges`, or `all`. This
gives the user full control over the erase mode that will be passed on
to nrfutil.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-04-16 08:07:44 +02:00
Jukka Rissanen
28dca17436 net: shell: Add packet filter support
Add a "net filter" command that will allow user to see the
current network packet filter configuration.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-04-16 08:07:34 +02:00
Chris Friedt
d29a2a599c doc: posix: option groups: add c_lang_support_r section.
Document that the POSIX_C_LANG_SUPPORT_R Option Group is already
complete.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-04-16 08:07:24 +02:00
Peter Mitsis
9416ef2684 doc: Update context switching for arch porting
Updates the context switching documentation for arch porting
to reflect the current state.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-04-16 01:10:15 +02:00
Peter Mitsis
0a9019f09a doc: Remove stale reference to _IntExit
_IntExit() no longer exists.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-04-16 01:10:15 +02:00
Peter Mitsis
4131e9bcf3 doc: Replace references to _Swap with z_swap
_Swap() is obsolete. Replace references to it with z_swap().

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2025-04-16 01:10:15 +02:00
Benjamin Cabé
3c2d2a6ee5 doc: _scripts: boards: fix for boards without revisions
Commit 38b8790 introduced a pretty bad regression for boards without
revisions. Fix by correctly checking for actually undefined revisions

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-15 15:33:51 +02:00
Théo Battrel
cb0ece1ea9 Doc: Release Notes: Add util_memeq and util_eq
Add the two new function `util_memeq` and `util_eq` recently added in
`sys/util.h` to the release notes for 4.2.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2025-04-15 11:25:04 +02:00
Chris Friedt
c46f7f54e8 doc: kernel: threads: add dynamic thread stack docs
Add documentation to indicate that, aside from static thread
stack allocation, Zephyr supports dynamically allocated thread
stacks.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-04-14 23:06:41 +02:00
Jordan Yates
1ce32f0633 doc: releases: document zbus_chan_add_obs changes
Document the changes to the ZBus function `zbus_chan_add_obs`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-14 20:03:09 +02:00
Jordan Yates
19d123fc43 doc: zbus: update CONFIG_ZBUS_RUNTIME_OBSERVERS
Update the documentation for `CONFIG_ZBUS_RUNTIME_OBSERVERS`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-14 20:03:09 +02:00
Benjamin Cabé
8a4bb181f5 doc: releases: intermediate update for new 4.2 boards/samples/drivers
New boards, drivers, samples since March 24, 2025.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-14 16:08:06 +02:00
Benjamin Cabé
83a40d360c doc: releases: sort board vendors alphabetically
previsouly  the ordering was case sensitive, making the list of vendors
not really alphabetically ordered.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2025-04-14 16:08:06 +02:00
Ivan Wagner
192b780364 drivers: sensor: meas: ms5837 release notes and migration guide for 4.2
The meas,ms5837 compat has been removed and replaced with two variants
hence the documentation in order to migrate to the new ones.

Signed-off-by: Ivan Wagner <ivan.wagner@tecinvent.ch>
2025-04-14 16:07:45 +02:00
Jordan Yates
a5ffd7f7a3 scripts: twisterlib: extend testcase schema for reboots
Extend the testcase schema to provide a way to communicate that a given
test is expected to reboot during execution. The generic harness takes
that information and suppresses `already STARTED` warnings if the
restart is expected.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-14 13:05:46 +02:00
Simone Orru
c82bf03e6d uuid: Add documentation for UUID utilities
Include the UUID utilities in the Miscellaneous
documentation page.
The UUID is being placed in a new Identifier
APIs section.

Signed-off-by: Simone Orru <simone.orru@secomind.com>
2025-04-14 09:47:26 +02:00
Jeppe Odgaard
c1e8ad447a doc: releases: migration-guide-4.2: rename tmp116 to tmp11x
tmp116 has been renamed to tmp11x because it also supports tmp117 and
tmp119.

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2025-04-11 16:17:35 +02:00
Daniel Mangum
25b083dff4 doc: shell: fix typo of Segger
Fixes Segger typo in shell Segger RTT backend docs.

Signed-off-by: Daniel Mangum <georgedanielmangum@gmail.com>
2025-04-11 10:54:29 +02:00
cyliang tw
ea1129ee1a drivers: ethernet: support for numaker m55m1x series
Add support for Nuvoton numaker m55m1x series EMAC controller.
Also include NOCACHE_MEMORY allocation.
Support to generate random mac address and remove emac data flash.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-04-10 14:43:43 +02:00
Krzysztof Chruściński
eb1081e8f4 doc: services: logging: Clarify limitations
Add note about limitation regarding logging strings with width. Clarify
that it is required to cast character pointer to non-character pointer
when used with %p format specifier.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2025-04-10 10:12:11 +02:00
Sylvio Alves
0e8a324e9f boards: xiao_esp32c6: add multi-core support
ESP32-C6 now supports both HP and LP core app.
This fixes and updates XIAO board to support that as well.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-04-09 21:10:27 +02:00
Gerhard Jörges
fb032af6e9 doc: migration-guide-4-2: http_server: concurrent connections
update to reflect changes in 3ebecd15615197b81efe79fcde6e4bedc0f6b09d

Signed-off-by: Gerhard Jörges <joerges@metratec.com>
2025-04-09 17:32:50 +02:00
Robert Lubos
52eb3e387f doc: migration-guide-4-2: Add entry about dropped IPPROTO_RAW support
Add migration guide entry about dropped IPPROTO_RAW support from
AF_PACKET sockets, with possible alternatives.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-04-09 12:36:34 +02:00
Robert Lubos
403d921bfe doc: net: sockets: Add table summarizing supported socket types
Add a table in sockets documentation summarizing what socket types are
being supported.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-04-09 12:36:34 +02:00
Robert Lubos
e9a2ca1e0d doc: release-notes-4-2: Add entry for raw IP sockets
Add bullet point about raw IP sockets support.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-04-09 12:36:34 +02:00
Tomi Fontanilles
d688e9653c doc: releases: fix "Security Vulnerability Related" section for 4.1
The sentences were not in proper order.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2025-04-09 11:43:18 +02:00
Tomi Fontanilles
8216d1dfd5 doc: releases: add release notes for Mbed TLS update
Add release notes regarding the Mbed TLS 3.6.3 update.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2025-04-09 11:43:18 +02:00
Jordan Yates
6061deba55 doc: gen_boards_catalog: fix crash for OOT boards
Fix a crash when `list_boards.find_v2_boards` finds boards not under
`ZEPHYR_BASE`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2025-04-09 09:03:37 +02:00
Lyle Zhu
3f7224a926 Bluetooth: Classic: HFP_AG: Update the callback sco_disconnected()
Change the arguments of HFP AG callback `sco_disconnected()` to SCO
conn and disconnection reason.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2025-04-09 08:06:04 +02:00
Ederson de Souza
c9a18fd487 mcuboot: Kconfig options for single app slot RAM loading mode
MCUboot has a configuration for single application slot RAM loading, in
which the single loader (or a hook thereof) can load an application from
an arbitrary flash location to RAM. Applications that are to be loaded
in this way need to specify, in their mcuboot header, the load address
in RAM they are meant to be loaded.

This patch adds a new Kconfig for this mode. The load address used comes
from devicetree chosen property "mcuboot,ram-load-dev", if it exists,
and if not, "zephyr,sram".

Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
2025-04-08 16:12:33 +02:00
Jilay Pandya
b53937239f doc: stepper: add information about stepper test suite
Add brief information about how stepper api test suites could be used

Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-04-08 11:45:40 +02:00