Commit graph

6975 commits

Author SHA1 Message Date
Benjamin Cabé
ef830d7a5e doc: fix 404 error with Zephyr project charter
The project charter has apparently changed location on
the main zephyrproject.org website.
This fixes a couple occurences of the old URL.

fixes #76433

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-31 10:07:11 +02:00
Johann Fischer
67caae3aca usb: device_next: introduce UDC_BUF_POOL_*_DEFINE macros
Introduce UDC_BUF_POOL_*_DEFINE macros based on NET_BUF_POOL_*_DEFINE
macros but use our own version of alloc and unref callbacks to get
buffers with specific alignment and granularity. Also, do not use ref
callback because it breaks alignment.
Also introduces helper macros for defining and checking UDC
driver-compliant static buffers.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2024-07-30 18:26:04 +01:00
Yong Cong Sin
88c13020aa posix: fs: mark _POSIX_SYNCHRONIZED_IO as supported
The `_POSIX_SYNCHRONIZED_IO` option group is now fully
supported.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-07-29 14:14:33 +02:00
Yong Cong Sin
91abf0e329 posix: fs: implement fdatasync()
`fdatasync()` is basically equivalent to `fsync()` according
to the standards.

Added test for it.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-07-29 14:14:33 +02:00
Yong Cong Sin
11bd1dae33 doc: posix: option_groups: mark msync as supported
`msync()` has been implemented in #73799.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-07-29 14:14:33 +02:00
Alberto Escolar Piedras
f09ea4753f doc: releases: add working draft release notes + guide for v4.0.0
Add working drafts for the release notes and migration guide for v4.0.0

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-29 09:11:35 +01:00
Emil Gydesen
38d09af445 Bluetooth: BAP: Scan delegator add src without PA sync
Modify the bt_bap_scan_delegator_add_src to take an address and
a sid instead of a PA sync object, so that the scan delegator
can add a source without syncing to the PA.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-07-28 07:31:06 +03:00
Kacper Dalach
52197b515a drivers: eth: native_posix: if_name from cmd line
Iface name which is used by native posix ethernet driver can only be
specified at compile-time. I wanted to run two instances of the same
program on native posix but did not want to make two separate builds only
to change the iface name. I have implemented getting the iface name from
command line.

Signed-off-by: Kacper Dalach <dalachowsky@gmail.com>
2024-07-28 07:30:02 +03:00
Vineeta S Narkhede
232c802c05 net: hostname: Add a function to set the hostname postfix as is.
Fixes: #72363

The existing function to set the postfix is converting postfix
string to hexadecimal. Adding a new function to handle a use case
where the provided postfix should be used as is without any conversion.

Signed-off-by: Vineeta S Narkhede <VineetaSNarkhede@Eaton.com>
2024-07-28 07:28:51 +03:00
Alberto Escolar Piedras
07ed4b04e3 doc: release: Finalize v3.7.0 release notes and migration guide
Remove working draft status from the v3.7.0 release notes and migration
guide.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 13:17:55 +02:00
Alberto Escolar Piedras
0483685642 doc: release: Add v3.7.0 to the list of supported releases
Adds v3.7.0 to the list of supported releases.
The EOL data is currently set as 2.5 years after release
which is the minimum support period we claim.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 13:17:55 +02:00
Jan Kowalewski
51c39d7d3f doc: release-notes-3.7: add ctcc/nrf52840
Add ctcc/nrf52840 entry to newly added boards.

Signed-off-by: Jan Kowalewski <jkowalewski@cthings.co>
2024-07-26 10:01:28 +02:00
Alberto Escolar Piedras
257f9dcb09 doc: 3.7 migration guide: Remove empty headings
Remove headings without content

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 09:57:50 +02:00
Alberto Escolar Piedras
4b26e2698d doc: 3.7 migration guide: Minor fixes
Minor fixes to the migration guide

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 09:57:50 +02:00
Alberto Escolar Piedras
edb8409e01 doc: 3.7 release_notes: Remove empty headings
Remove headings without content

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 09:57:50 +02:00
Alberto Escolar Piedras
48f66a6997 doc: 3.7 release_notes: Remove mention of never introduced options
ac52bd629d removed from the
tree some kconfig options which weren't there for a full release.
Let's also not mention them in the release notes so we avoid
broken links.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 09:57:50 +02:00
Alberto Escolar Piedras
66feacc781 doc: 3.7 release_notes: Fix minor issues
Fix a few typos, minor grammar mistakes and simplify grammar
in a couple of sentences.
Also fix indentation in one list.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-07-26 09:57:50 +02:00
Thomas Stranger
cad3320cef doc: release notes: add 1-wire release notes for 3.7
No significant changes to 1-Wire master drivers for the 3.7 release.
Only the changes in the pull-up configuration of the zephyr,w1-gpio
driver added in the migration guide.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
2024-07-25 12:25:49 +02:00
Lyle Zhu
b88948d4e7 doc: release-notes-3.7: Add info for bt_foreach_bond and HCI Driver
Add information support for BR key traversal by bt_foreach_bond.
Add information support for NXP IW612.

Change "Added support for NXP platforms." to
"Added support for NXP RW61x.".

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2024-07-25 09:24:04 +02:00
Pisit Sawangvonganan
d6afb8fb52 doc: releases: fix typo release-notes-3.7.rst
Utilize a code spell-checking tool to correct spelling errors
in `doc/releases/release-notes-3.7.rst` file.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-07-24 09:00:47 +02:00
Emil Gydesen
27d0aad70c doc: Bluetooth: Update LE Audio and iso in the BT features page
Added Isochronous channels to the controller
Moved Isochronous channels from LE Audio to the host
Changed the LE Audio to refer to the page where
the feature is more detailed described.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2024-07-24 08:59:24 +02:00
Chris Friedt
95d117259a doc: posix: options: explicitly note kconfig options
Note which Kconfig options activate which POSIX Options
and Option Groups.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-24 08:59:07 +02:00
Chris Friedt
3ec76e82eb doc: posix: options: make column size consistent
For some reason, when the "Supported" coumn of the posix option
documentation included large strings, it would distort the size
of the entire table.

Move blurbs about undefined behaviour and failing with ENOSYS
to a paragraph above the table, so that all tables have a
homogeneous size.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-24 08:59:07 +02:00
Chris Friedt
31c7773484 doc: posix: options: decrement header level
Decrement the header level of option group items so that they
are not listed in the outline.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-24 08:59:07 +02:00
Chris Friedt
d95d5a640d doc: posix: options: alphabetize order of options, groups
Reorder posix options and option groups so that they are
in alphabetical order in the documentation.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-24 08:59:07 +02:00
Johan Hedberg
099209b7d5 doc: release-notes-3.7: Add more details for Bluetooth HCI drivers
Make sure all added (and removed) HCI drivers are mentioned, and also
provide a reference to the new HCI driver API.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-07-23 12:16:32 +02:00
Johan Hedberg
541479c479 doc: migration-guide-3.7: Group Bluetooth sections together
Move Bluetooth HCI section under the existing Bluetooth top-level section.

Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
2024-07-23 12:16:32 +02:00
Evgeniy Paltsev
f2259ccd7a doc: add release-notes for Synopsys / ARC architecture and platforms
Add release notes for ARC for 3.7 release

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2024-07-23 09:14:12 +02:00
Martin Jäger
5681d422fe doc: release-notes-3.7: add DAC release notes
Add newly added DACs for this release.

Signed-off-by: Martin Jäger <martin@libre.solar>
2024-07-22 18:04:22 +02:00
Filip Kokosinski
d472dd8864 doc/releases/release-note-3.7: add notes for Renesas RZ/T2M SoC
This commit adds release notes for the Renesas RZ/T2M SoC.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2024-07-22 18:03:39 +02:00
Martin Jäger
6a1a3658fe doc: release-notes-3.7: add Task Watchdog section
Mention the newly added shell for the task watchdog subsystem.

Signed-off-by: Martin Jäger <martin@libre.solar>
2024-07-22 18:03:14 +02:00
TOKITA Hiroshi
098376e036 doc: release: 3.7: Add note on RaspberryPi Pico related changes
Adds notes on changes about rpi_pico

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-07-22 18:02:51 +02:00
TOKITA Hiroshi
a004f44b9f doc: release: 3.7: Add note on Renesas RA related changes
Adds notes on changes about rpi_pico

- Add support for Renesas RA8 series

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2024-07-22 18:02:29 +02:00
Théo Battrel
f2b6490dee Docs: Bluetooth: Update qualification page
With the new Bluetooth Qualification process the QDID and link to
launchstudio are outdated, remove them.

Also remove the ICS listing as it hasn't been updated for a while.
Instead add a download link to the Zephyr Bluetooth Host ICS file.

Update the documentation configuration script to include the ICS file
(`*.pts`) in the external contents.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2024-07-22 03:29:29 -04:00
Benjamin Cabé
f9e3b65d3a doc: porting_guide: fix ReStructuredText in Kconfig.plank
Using <  > in the kconfig:option role was causing the <_board> section
to be omitted from the rendered docs, and using the role was useless
anyway as the option name was not a real one.
Use the fancy :samp: role instead to achieve the same goal.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-21 08:20:10 +02:00
Benjamin Cabé
52a9e7014a doc: release-notes-3.7: misc typo/spelling fixes
Minor fixups (spelling mistakes, formatting issues, ...)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 11:06:08 +02:00
Benjamin Cabé
6fb55e1417 doc: release-notes-3.7: Improve release highlights section
Added links to relevant doc pages when appropriate
Added a mention about PTP
Added a mention about PSA Crypto

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 11:06:08 +02:00
Benjamin Cabé
d8ed0be0f7 doc: migration-guide-3.7: misc typo/spelling fixes
Cleaned up migration guide, mostly fixing single quotes being used
instead of double quotes plus some other minor spelling mistakes.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 11:06:08 +02:00
Benjamin Cabé
2f8cfc670a doc: migration-guide-3.7: fix rendering of Bluetooth HCI section
some bullet points had incorrect indent causing
the list to render as "definition list"

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 11:06:08 +02:00
Benjamin Cabé
68ec34cd2b llext: doc: add EDK acronym to header section
Add "EDK" acronym to help discoverability of EDK for folks
searching for that keyword

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 11:06:08 +02:00
Krzysztof Chruściński
452700b2f0 doc: releases: Add logging release notes
Add release notes for 3.7 for logging subsystem.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
2024-07-20 10:26:01 +02:00
Chris Friedt
ccadcef020 doc: release-notes-3.7: add fpga release notes
Add fpga release notes for v3.7.0

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-20 10:25:44 +02:00
Chris Friedt
35a1fedb5d doc: release-notes-3.7: add posix api release notes
Add release notes outlining features added for v3.7.0 and bugs
fixed from prior releases.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-20 10:25:36 +02:00
Chris Friedt
9398092d53 doc: release-notes-3.7: fix indentation in posix deprecations
Fix indendtation in posix deprecations.

The top-level bullet was indented by an extra space, so remove
the space.

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-07-20 10:25:36 +02:00
Flavio Ceolin
ec656ba492 doc: relnotes/3.7: Add info about CVE-2024-6137
Information about CVE-2024-6137 in release notes.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-07-20 10:19:05 +02:00
Benjamin Cabé
84a04d1ef4 doc: release-notes-3.7: Add shields release notes
Contribute shields changelog for 3.7 release

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 10:18:54 +02:00
Simon Guinot
5747cc5fbd doc: release-notes-3.7: fix LED release notes
This patch fixes two broken links in the LED strip release note.
:kconfig:option: cannot be used with removed Kconfig options. This
results in broken links. Let's use the code's inline markup delimiter
instead.

It also adds a missing link to the DT compatible of the IS31FL3194
controller.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
2024-07-20 10:18:42 +02:00
Tom Burdick
5ef925aa6b doc: Fix typo in SPSC lockfree queue docs
SPSC was typoed as MPSC in the SPSC queue docs.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-07-20 10:18:28 +02:00
Benjamin Cabé
f0b901085e Revert "doc: develop: tools: Exclude webp images from PDF"
This reverts commit a156b619d4.
Now that Sphinx 7.4 is out, it is possible to use webp images
in the PDF documentation (they're converted to png).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2024-07-20 10:17:55 +02:00
Siddharth Chandrasekaran
d06e95c49b docs: release-notes: Add release entry for OSDP
Patch adds release notes for mgmt/osdp

Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
2024-07-19 13:22:12 +02:00