Commit graph

5618 commits

Author SHA1 Message Date
Benjamin Cabé 472def94e7 doc: use more modern fonts
Use Noto as baseline font and Inconsolata Nerd Font for source code.
These are both esthetically pleasing and have good Unicode coverage.

NOTE: Unsupported characters (i.e. emojis, at the time of this commit)
are rendered as tofu (i.e. a square).

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-19 21:03:57 +03:00
Benjamin Cabé 201b666ecb doc: use XeLaTeX as TeX typesetting engine
XeLaTeX is a TeX typesetting engine that extends LaTeX with support for
Unicode and modern font technologies such as OpenType.

It is included in all the LaTeX distro recommended for Zephyr so it is
safe to assume it is available to the user interested in building the
PDF documentation locally

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-19 21:03:57 +03:00
Martí Bolívar 64f6ef860a doc: release-notes-3.5: devicetree
Document the changes in this release.

Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
2023-10-19 18:14:04 +01:00
Daniel DeGrasse f190547dda docs: migration-guide-3.5: add note about ramdisk instantiation
Add note to migration guide describing how to instantiate a ramdisk
using devicetree, and calling out Kconfig options that have been removed
with this change

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-10-19 17:42:21 +01:00
Daniel DeGrasse b8e6da0c86 doc: release: 3.5: add release notes for SDHC and Disk drivers
Add release notes for SDHC and disk driver updates merged since 3.4

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-10-19 18:45:11 +03:00
Daniel DeGrasse 7d32b552d0 docs: migration-guide-3.5: add changes for i.MX RT boards
Add migration guide notes for i.MX RT boards, including the following
changes:
- i.MX RT boards must now manually enable
  CONFIG_DEVICE_CONFIGURATION_DATA and CONFIG_NXP_IMX_EXTERNAL_SDRAM
  when required
- SNVS pin names have changed for i.MX RT11xx series boards

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-10-19 16:29:27 +01:00
Andrzej Głąbek 7e5b4219db doc: release: Add v3.5 notes for ADC, I2S, PWM, and Nordic HAL
Add release notes for ADC, I2S, and PWM drivers, and for Nordic HAL.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-10-19 16:23:02 +01:00
Johan Hedberg 6f7f80fe8a doc: migration-guide: Reorder the sections more logically
Reorder the sections so that the core/wide impact ones come first (e.g.
Kernel and C-Library) and more specific ones (e.g. architectures) come
last.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-19 17:51:39 +03:00
Johan Hedberg 76757a6bf0 doc: migration-guide: Add a link to the release notes
Add a link to the 3.5 release notes from the migration guide.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-19 17:51:39 +03:00
Johan Hedberg 7842fd9e4f doc: migration-guide: Remove extra backtick
Remove an extra backtick character.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-19 17:51:39 +03:00
Johan Hedberg 75860cd49a doc: release: 3.5: Provide a link to the migration guide
Add a reference from the release notes to the migration guide.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-19 10:25:14 +01:00
Johan Hedberg 3e22bb332d doc: release: 3.5: Mention ACPICA library
ACPI support was enhanced for 3.5 by adopting the ACPICA library as a
new module.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-19 10:14:50 +01:00
Johan Hedberg 1465c75483 doc: release: 3.5: Add information for new x86 boards
Mention ISH and Intel Alder Lake which which were added for 3.5.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2023-10-19 10:14:50 +01:00
Anas Nashif 69fd128771 doc: add sections to migration guide
Add sections to the migration guide to make it easier to spot and follow
suggestions of specific areas.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-10-19 11:32:11 +03:00
Evgeniy Paltsev 6076d54d07 doc: release-notes: arc: reword VPX part
Reword VPX part as was requested by @abrodkin

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-10-19 08:52:06 +03:00
Evgeniy Paltsev 47385a93ab doc: add release-notes for ARC architecture and platforms
Add release notes for ARC for 3.5 release

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-10-18 20:26:46 +03:00
Benjamin Cabé cfe667deb8 doc: gsg: fix syntax highlighting of code blocks
Added explicit code blocks throughout the document.

Removed several incorrect uses of "console" language where it should have
been shell or bat.
"console" is only for _bash_ sessions that include a prompt.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 18:39:42 +03:00
Benjamin Cabé 70b49c7f51 doc: build: Fix highlighting of code blocks
Set appropriate language for code blocks to show up with the right
syntax highlighting.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 18:39:23 +03:00
Yanfeng Liu 4940a31b9e doc: hardware:porting:arch fix typo
remove unnessary item break to fix XIP kernel case.

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2023-10-18 18:38:36 +03:00
Benjamin Cabé 86bff1e072 doc: Render app commands with "shell" language
The 'console' language in pygments is for Bash shell session, i.e code
snippets were commands MUST start with a prompt.
The commands rendered by the ZephyrAppCommandsDirective do not include
a prompt, and should therefore be set as "shell".

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 15:39:27 +01:00
TOKITA Hiroshi a849303058 doc: release: 3.5: Add note on RaspberryPi Pico related changes
Adds notes on changes about rpi_pico

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-10-18 15:19:39 +01:00
Benjamin Cabé d3487c48bf doc: Group linkcheck options together in conf.py
Group all sections related to linkcheck target together.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 17:08:19 +03:00
Benjamin Cabé b3a52f4882 doc: Configure copybutton extension for ignoring shell prompts
Add required settings for telling the copybutton Sphinx extension to
ignore prompts when copying a code block.

Both bash prompt and Zephyr UART prompt are ignored.

Examples of the new behavior:

.. code-block:: console

    $ echo "Hello World"
    Hello World

The copied text will be: 'echo "Hello World"'.

.. code-block:: console

   uart:~$ l2cap connect 29
   Chan sec: 1
   L2CAP connection pending
   Channel 0x20000210 connected
   Channel 0x20000210 status 1
   uart:~$ l2cap send 3 14
   Rem 2
   Rem 1
   Rem 0
   Outgoing data channel 0x20000210 transmitted
   Outgoing data channel 0x20000210 transmitted
   Outgoing data channel 0x20000210 transmitted

The copied text will be: 'l2cap connect 29\nl2cap send 3 14'.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 17:08:19 +03:00
Vinayak Kariappa Chettimada d15ce54db1 doc: releases: v3.5.0: Add Bluetooth release notes
Add Bluetooth release notes for Zephyr v3.5.0.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2023-10-18 13:52:12 +01:00
Benjamin Cabé 57c17da528 doc: devicetree: Fix highlighting of code blocks
Make sure devicetree code blocks all have proper pygments language set.
Fixed a few other "none" code blocks as well.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 13:22:45 +03:00
Benjamin Cabé edf9435a68 doc: guidelines: Properly highlight .rst snippets
This commit fixes syntax higlighting of all the reStructuredText
snippets in the documentation guidelines by setting default
higlighting language to rst.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 13:18:43 +03:00
Benjamin Cabé 02226208bf doc: intro: cleanup VFS section
* add mention of ext2 as a supported file system.
* remove unnecessary mention to configurability and logging since it's
  not unique to VFS.
* capitalize FatFS properly

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 13:17:57 +03:00
Benjamin Cabé 00fc22a44a doc: porting: Set proper languages for syntax highlighting
Make sure devicetree, kconfig, etc. code snippets all have proper
pygments language set.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 13:16:34 +03:00
Benjamin Cabé 1be457f280 doc: kconfig: Add syntax highlighting for Kconfig snippets
Add proper pygments settings to make Kconfig snippets look pretty.
Also fixed a few config and devicetree code blocks.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 13:15:51 +03:00
Benjamin Cabé 822904733e doc: twister: syntax highlight + formatting cleanups
- Added language info to code-blocks when relevant (ex. for yaml
  snippets)
- Formatted grammar for expression language as antlr and added
  syntax highlighting
- Fixed various formatting issues with lists, definition lists...

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 10:13:19 +01:00
Emilio Benavente b2b2afc672 docs: migration-guide-3.5: LPC55XXX Clock Init
The inclusion of this note in the migration guide
explains the clocking change that occured in the
LPC55XXX soc as well as the added Kconfig that toggles
the PLL1 from being initialized. Also updated the
lpc board docs to state the correct System
Clock Value.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
2023-10-18 09:47:24 +03:00
Benjamin Cabé 447d19b701 doc: smf: Properly highlight C code
Set default syntax highlighting language to C for this page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-18 09:46:28 +03:00
Bjarki Arge Andreasen 8fada11761 doc: releases: Add modem modules to release notes 3.5
This commit adds an entry for the modem modules to
the release notes for release 3.5

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2023-10-17 21:58:30 +03:00
Bjarki Arge Andreasen 61e8793292 doc: services: Add modem entry
This commit adds an entry for the modem subsystem in the
services documentation section.

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2023-10-17 21:58:30 +03:00
Bjarki Arge Andreasen cc03017b13 doc: _doxygen: define modem group
Add @defgroup for modem APIs

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2023-10-17 21:58:30 +03:00
Benjamin Cabé 32918ddd92 doc: Fix broken references to Kconfig options
Fixed a few occurrences of incorrect references to Kconfig options
(missing the CONFIG_ prefix)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-17 19:50:39 +01:00
Flavio Ceolin 4b930e888d doc: migration-guide-3.5: Power management update
Add information about power management required changes.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-17 17:41:30 +01:00
Flavio Ceolin dbfd1971d8 doc: release: Add power management relnotes for 3.5
Add relevant power management notes for 3.5 release.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-17 17:41:30 +01:00
Benjamin Cabé 54f51cbcb3 doc: intro: fix improper definition list
add missing blank line to not have the sentence render as a definition
list.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-17 19:05:20 +03:00
Rodrigo Peixoto 475361b22c doc: releases: v3.5.0: zbus release notes
Add the changes of zbus during the Zephyr v3.5.0 development.

Signed-off-by: Rodrigo Peixoto <rodrigopex@gmail.com>
2023-10-17 15:34:39 +03:00
Benjamin Cabé 9e9f439522 doc: releases: clean-up release notes section
The contents of the Release notes section was partly outdated and partly
misplaced. Moved the relevant bits to the actual intro of the doc.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-17 13:43:43 +03:00
Benjamin Cabé 1b34ddae96 doc: releases: Move release notes of EOL releases to a dedicated page
The ever growing list of release notes for past releases was making it
too easy to miss the migration guide for the latest release. This commit
moves the release notes for EOL releases to a dedicated page.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-10-17 13:43:43 +03:00
Flavio Ceolin b1b8b3b4d0 doc: migration-guide-3.5: Random subsys update
Add information about header name changes.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-17 13:19:02 +03:00
Andrei Hutanu 9fcc609237 docs: mem: slabs: fix for mem_slab docs snippets
Attempting to run the memory slab docs snippets will
result in build issues. This PR is an attempt to fix
those.

Signed-off-by: Andrei Hutanu <andrei.hutanu.i@gmail.com>
2023-10-17 13:17:56 +03:00
Tom Burdick edfddd6a11 docs: releases: RTIO Release Notes for 3.5
Adds release notes for the RTIO subsystem for 3.5 with notable bug
fixes, changes, and feature additions.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2023-10-17 13:17:01 +03:00
Tom Burdick b272760f06 docs: releases: Adds I2C release notes for 3.5
Adds a subset (there was a lot!) of notable fixes, features, and driver
additions for I2C

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2023-10-16 22:32:55 +03:00
Tom Burdick cb9230ee30 docs: releases: Add DMA release notes for 3.5
Adds notable bug fixes, driver additions, and feature additions to the
DMA API and drivers in 3.5.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2023-10-16 22:26:44 +03:00
Flavio Ceolin 90b9809c6f doc: security: cve-2023-4257 left embargo
Disclose information about cve-2023-4257.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-14 18:43:49 +03:00
Flavio Ceolin 52cf7e6fdf doc: vuln: Add information about CVE-2023-4263
Information about CVE-2023-4263

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-14 18:43:27 +03:00
Flavio Ceolin bcd3882f88 doc: release: 3.5: Add info about CVE-2023-4263
Add CVE-2023-4263 info to release notes.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-10-14 18:43:27 +03:00