Commit Graph

5198 Commits

Author SHA1 Message Date
Jamie McCrae
eff9f731b1 doc: release: 3.5: Add note on MGMT_EVT_OP_CMD_RECV
Adds a note that this MCUmgr notification hook can now be used
to reject commands and send an error back to the client.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-06-21 13:24:12 +02:00
Gerard Marull-Paretas
92707866d1 device: s/gen_handles/gen_device_deps
Rename the gen_handles script and all of its references/associated files
to gen_device_deps. The new new makes things more clear, because the
script just take care of generating, for each device, an array of device
dependencies. While device handles are used internally to store this
information, it is in reality an implementation detail.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-06-21 09:32:05 +02:00
Grzegorz Chwierut
732dd4843d twister: pytest: Simplify interface to pytest-twister-harness
Add DeviceAbstract class to default imports from pytest-twister-harness
package to simplify importing DUT package, when creating tests.

Signed-off-by: Grzegorz Chwierut <grzegorz.chwierut@nordicsemi.no>
2023-06-20 14:46:55 -04:00
Aleksandr Khromykh
cd4bfc8c43 doc: Bluetooth: Mesh: add link to adv id subclause
PR adds link to advertisement identity coexistence subclause.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2023-06-20 09:27:23 +02:00
Anas Nashif
9fd9c9dd4f doc: sensing: fix structure and remove top doxygen reference
Move sections out of the Overview section and put API documentation in
one section without bullets, which was causing duplication in headers
and text.

This also fixes the issue with PDF generation which is currently
blocking publication of HTML pages on docs.zephyrproject.org.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-19 22:09:47 -04:00
Andy Sinclair
d7964cd212 drivers: mfd: npm1300: Initial version
Added an MFD driver for the nPM1300.
This driver has register access helper functions that can be used
by subsystems.  This will avoid each subsystem having to duplicate
the register access code.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-06-19 11:02:58 +02:00
Aleksandr Khromykh
a322e4d20d Bluetooth: Mesh: clarification about adv local identity
BT_ID_DEFAULT is hardcoded in mesh. Added clarification about
the necessity of another local identity allocation for BLE
if it coexists with mesh.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2023-06-19 11:01:30 +02:00
Saravanan Sekar
c05de18781 doc: websocket: update websocket_disconnect api
Do not close the user supplied socket so that the caller
can re-use it if needed.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2023-06-19 09:18:45 +01:00
Florian Grandel
1ee4d3ed77 net: l2: ieee802154: document L1/L2 sep. of concerns
The method ieee802154_radio_handle_ack() does not belong to the
PHY/radio layer but to the L2 layer. It is a callback called from the
radio layer into the L2 layer and to be implemented by all L2 stacks.
This is the same pattern as is used for ieee802154_init(). The
'_radio_' infix in this function is therefore confusing and
conceptually wrong.

This change fixes the naming inconsistency and extensively documents
its rationale.

It is assumed that the change can be made without prior deprecation of the
existing method as in the rare cases where users have implemented custom
radio drivers these will break in obvious ways and can easily be fixed.

Nevertheless such a rename would not be justified on its own if it were
not for an important conceptual reason:

The renamed function represents a generic "inversion-of-control" pattern
which will become important in the TSCH context: It allows for clean
separation of concerns between the PHY/radio driver layer and the
MAC/L2 layer even in situations where the radio driver needs to be
involved for performance or deterministic timing reasons. This
"inversion-of-control" pattern can be applied to negotiate timing
sensitive reception and transmission windows, it let's the L2 layer
deterministically timestamp information elements just-in-time with
internal radio timer counter values, etc.

Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
2023-06-17 16:20:21 -04:00
Piotr Wojnarowski
f2b5ebf098 doc: release: 3.5: Add note on GIC version selection in DT
Add a note that explains that the GIC version is now specified
in the DT and not Kconfig.

Signed-off-by: Piotr Wojnarowski <pwojnarowski@antmicro.com>
2023-06-17 08:01:46 -04:00
Piotr Wojnarowski
678d3f6b03 doc: release: 3.5: Add working release notes file
Add a base working release notes file for the Zephyr 3.5 release.

Signed-off-by: Piotr Wojnarowski <pwojnarowski@antmicro.com>
2023-06-17 08:01:46 -04:00
Tomasz Bursztyka
1b51be4ba0 doc/pcie: Add basic entry for PCIe doxygen documentation
This has been missing so let's add it.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2023-06-17 07:58:41 -04:00
Daniel Leung
dbeb4d8f48 doc: kernel/syscalls: about limiting syscalls in binaries
Since not all syscalls are generated to be included in
the final binaries due to changes in build steps and CMake
files, update the document to clarify what needs to be
done to include specific syscalls in final binaries.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-06-17 07:57:45 -04:00
Hebo Hu
703ad12188 doc: Add documents for Sensing Subsystem
Add documents for sensing subsystem.

Signed-off-by: Hebo Hu <hebo.hu@intel.com>
2023-06-17 07:43:25 -04:00
Anas Nashif
79d610a893 doc: release: remove old version from index
Remove old releases from documentation index.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 13:29:34 -04:00
Anas Nashif
7ce8b5598c doc: update LTS2 version in docs
LTS is now 2.7.5.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Anas Nashif
aa8c6aa067 doc: remove releases before 2.7 from index
Remove all old releases from the index.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Anas Nashif
ee72dfa5e2 doc: add 3.4.0 to the index of releases
Add the new release to the doc index.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Anas Nashif
8db0349bec doc: release: add one entry re ztest new API
One more entry about ztest API being deprecated.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Anas Nashif
7749607343 doc: release: remove empty sections
Remove all placeholders and empty sections.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Anas Nashif
6015293447 doc: release: Use past tense on some entries
Use past tense in some of the release notes.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Anas Nashif
288fd5d3f2 doc: release: adapt title of 3.4 release notes
Remove 'Working Draft' from title.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-16 12:12:40 -04:00
Evgeniy Paltsev
beae29964f doc: ARC: release notes: typo fix
Typo fix.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-06-16 12:08:19 -04:00
Evgeniy Paltsev
f8803090ca dos: ARC: mark DSP AGU/XY extensions as supported on ARC EM
DSP AGU/XY extensions ARC EM processors are supported now in
Zephyr.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-06-16 11:10:52 -04:00
Carles Cufi
e86185522c Bluetooth: release notes: Fix formatting of indented bullet points
Without the extra spaces Sphinx does not render this correctly.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2023-06-16 10:38:18 -04:00
Evgeniy Paltsev
052c23b922 doc: ARC: add release notes for ARC
Add release notes for ARC for 3.4 release

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2023-06-16 10:38:05 -04:00
Andrzej Głąbek
7d89f784a4 doc: release: Add v3.4 notes for ADC and PWM and Nordic related stuff
Add release notes for ADC and PWM drivers, Nordic HAL and other things
related to Nordic.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-06-16 08:08:33 -04:00
Flavio Ceolin
68dc53b077 doc: release-notes: PM related release notes
Add PM release notes.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-06-15 13:55:31 -04:00
Flavio Ceolin
b7f35a8f29 doc: vulnerabilities: Add information about new vulnerabilities
Add a placeholder for CVE-2023-1901 and CVE-2023-1902.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-06-15 13:55:07 -04:00
Flavio Ceolin
f683b0f35e doc: release-notes: Security related release-notes-3
Added information about CVEs fixed during 3.4 release.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2023-06-15 13:55:07 -04:00
Anas Nashif
721e4aa8b3 release: fix layout/typos in release notes
Fixed layout and a few typos.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-15 10:08:38 -04:00
Johann Fischer
644d02480e doc: release-notes-3.4: add release notes for USB and display
Add release notes for USB support and display controller drivers.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-06-15 10:07:59 -04:00
Johann Fischer
fbb6cd1a39 doc: connectivity: move USB-C device stack to USB chapter
This looks a bit lost in its own USB-C chapter,
move it to USB under the Power Delivery heading.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-06-15 05:53:44 -04:00
Johann Fischer
b335c19bcb doc: move USB documentation to connectivity
Mostly moved and reorganised content to the Connectivity chapter,
separated API references. Fill in some gaps in the USB device
documentation.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2023-06-15 05:53:44 -04:00
Benjamin Cabé
09a9a7edf4 doc: release-notes: fix typo with i.MX93 board
NXP i.MX93 is A55 not A53.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-06-15 05:52:22 -04:00
Benjamin Cabé
4bc46e4e3a doc: release-notes: sort ARM boards alphabetically
Sort ARM boards alphabetically.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-06-15 05:52:22 -04:00
Benjamin Cabé
8963b50716 doc: release-notes: add missing boards
Added a bunch of missing boards that were added since v3.3.0

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2023-06-15 05:52:22 -04:00
Jamie McCrae
83b074c418 doc: release: 3.4: Add build system relative path fixes
Adds a note that some relative path issues in the build system
have been fixed.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-06-15 05:10:42 -04:00
Kevin Townsend
79433b0ee3 release-notes: 3.4: Add Aarch32 and TF-M notes
Adds release notes for Aarch32 and TF-M for Zephyr 3.4.0.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2023-06-14 13:52:55 -04:00
Daniel DeGrasse
bc13ce12a1 doc: releases: updates for SDHC and Disk driver release notes
Add release notes for SDHC and Disk drivers, highlighting addition
of NVME support in the disk driver layer as well as CPOL/CPHA clock
modes within the SDHC SPI driver.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-06-14 13:52:21 -04:00
Robert Lubos
4dd3d8679e doc: release-notes: Fix typo in networking part
Fix typo in networking part of the release notes.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-06-14 13:52:00 -04:00
Jamie McCrae
f6512920ca doc: release: 3.4: Add MCUmgr signed type change
Adds a note that slot and image have changed from signed to
unsigned integer types.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-06-14 13:47:08 -04:00
Jamie McCrae
3f8156d0a4 doc: mgmt: smp: Fix slot and image to be unsigned
Fixes the documentation to show image and slot number for get
state of image response being unsigned, not signed.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-06-14 13:47:08 -04:00
Anas Nashif
0773cc88c8 release: document major changes
added highlights to the 3.4 release notes.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-06-14 09:20:38 -04:00
Robert Lubos
a44f6bbb36 doc: release-notes: Add 3.4.0 release notes for networking
Add Zephyr 3.4.0 release notes for the networking area.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-06-14 09:07:23 -04:00
Alberto Escolar Piedras
d5815d6ad1 doc: 3.4 release notes: Fix doc build
Fix doc build error due to a bad indent

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-06-13 10:42:42 -04:00
Yonatan Schachter
cd3e1438ec doc: Added RP2040 related changes to the v3.4.0 release notes
Added RP2040 related changes to the v3.4.0 release notes,
including new boards, new drivers and HAL changes.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-06-13 09:36:56 -04:00
Dominik Ermel
503b3672aa doc: release: 3.4: Bulk of updates
Add release notes on:
 - change in west sign internal logic;
 - additional LittleFS sample configuration for nrf52840dk_nrf52840
   using SPI communication;

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2023-06-13 09:34:01 -04:00
Erwan Gouriou
523ba79d54 release-notes: v3.4: Document shield additions
Document shields added in V3.4 release

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2023-06-13 09:11:19 -04:00
Erwan Gouriou
f6d7a6a701 release-notes: v3.4: Document STM32 changes
Document STM32 related changes on V3.4 release.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2023-06-13 09:11:19 -04:00