Commit Graph

649 Commits

Author SHA1 Message Date
Fabio Baltieri cd7c44a152 doc: release-3.2: add a note about LEGACY_INCLUDE_PATH deprecation
Add a note about changing LEGACY_INCLUDE_PATH default value, add a note
about the option being removed after two major releases, in 3.4.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-08-05 13:03:54 +02:00
Michal Narajowski fab8e29ee2 Bluetooth: Mesh: Add model publish support to Health Client
Mesh Profile Specification errata 11310
Section 4.4.4.1
"This model shall support model publication, as defined in Section
4.2.2 of the Mesh Profile specification and model subscription,
as defined in section 4.2.3 of the Mesh Profile specification."

Signed-off-by: Michal Narajowski <michal.narajowski@codecoup.pl>
2022-08-01 18:04:42 +01:00
Kumar Gala 46f4513573 devicetree: deprecate DT_BUS_LABEL variants
Deprecate DT_BUS_LABEL and DT_INST_BUS_LABEL as we phase out
'label' property usage in favor of DT_BUS and variants.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-15 11:05:12 -07:00
Kumar Gala 1fc243c73d devicetree: gpio: deprecate DT_GPIO_LABEL variants
Deprecate DT_GPIO_LABEL, DT_INST_GPIO_LABEL, DT_GPIO_LABEL_BY_IDX,
and DT_INST_GPIO_LABEL_BY_IDX as we phase out 'label' property usage
in favor of DT_GPIO_CTLR and variants.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-15 09:59:59 +02:00
Kumar Gala 78f91a1be2 devicetree: spi: deprecate DT_SPI_DEV_CS_GPIOS_LABEL variants
Deprecate DT_SPI_DEV_CS_GPIOS_LABEL and DT_INST_SPI_DEV_CS_GPIOS_LABEL
as we phase out 'label' property usage in favor of
DT_SPI_DEV_CS_GPIOS_CTLR and variants.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-15 09:59:59 +02:00
Kumar Gala f2d4e23d7e spi: Remove anonymous struct from struct spi_cs_control
Simplify spi_cs_control by removing anonymous struct around the
"gpio" field.  Update SPI_CS_CONTROL_PTR_DT to match this change.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-13 09:03:02 -05:00
Kumar Gala 7b6c1b158b spi: Remove deprecated fields from struct spi_cs_control
All in tree users are using the gpio_dt_spec so we can remove the
older gpio struct elements that have been deprecated for some
time.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-13 09:03:02 -05:00
Kumar Gala 1eeae77621 sensors: ak8975: remove passthrough support for MPU9150
Remove the support for enabling passthrough mode support for MPU9150
on the AK8975.  We don't have a proper MPU9150 driver and the MPU9150
has been EOL.  So its highly unlikely this code is being used.

Additonally we remove the device tree binding for the MPU9150 since
we don't have a proper driver for it.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-12 17:57:18 -05:00
Erwan Gouriou bd707b4e11 doc: release-notes: Re-instanciate Devicetree section
A Devicetree section was added in release-notes-3.1 document,
but not reported in release-notes-3.2.rst.

Add it back, as this topic deserves its own section.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-07-08 20:06:21 +00:00
Jamie McCrae fd501733d0 doc: guides: release notes: Add Raspberry Pi Pico watchdog support
The Raspberry Pi Pico watchdog is now supported, this adds a note to
the release notes with this information.

Signed-off-by: Jamie McCrae <spam@helper3000.net>
2022-07-06 10:52:29 +02:00
Jordan Yates 55827d6764 doc: release-notes: document `SYS_INIT_NAMED`
Document the requirement for multiple `SYS_INIT` macros using the same
initialisation function to use `SYS_INIT_NAMED`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-07-06 10:44:35 +02:00
Daniel Leung 74c7bf5ae5 doc: release-3.2: note on removal of deprecated work queue API
This adds a note about removal of deprecated work queue API.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-06-27 12:46:21 +02:00
Connor Graydon 70cca36acc doc: release: Fix typo in release-notes-3.1.rst
Fix a spelling typo and grammar in release-notes-3.1.rst

Signed-off-by: Connor Graydon <connor.graydon@intel.com>
2022-06-09 11:34:48 +02:00
Seppo Takalo e0296ca0b9 net: lwm2m: Allow initializing opaque and string data to zero length
By default, any string or opaque data that LwM2M engine initializes
sets data lenght to same value as given buffer length for that
resource.

However, on run time, engine keeps track how much data is written
to each resource, so when reading from any resource, should only
return data that has been written there. But uninitialized resources
return the content of the whole buffer.

Fixed the problem by introducing macros INIT_OBJ_RES_LEN(),
INIT_OBJ_RES_MULTI_DATA_LEN() and INIT_OBJ_RES_DATA_LEN() that
allows you to give the amount of data existing in buffer when
the resource is initialized. This sets the data_len and max_data_len
variables correctly.

Also introduced new functions lwm2m_engine_get_res_buf() and
lwm2m_engine_set_res_buf() that distinct between data size and
buffer size. Deprecated the previous functions
lwm2m_engine_get_res_data() and lwm2m_engine_set_res_data()

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2022-06-09 11:30:37 +02:00
Connor Graydon d84989a718 doc: release: Fix a couple more typos in release doc
Fixing a couple more typos in release-notes-3.1.rst

Signed-off-by: Connor Graydon <connor.graydon@intel.com>
2022-06-08 18:48:38 -04:00
Dominik Ermel 078fb60b11 doc/release-notes: Add note on new Kconfig option for mcumgr
The commit adds note on addition of
CONFIG_IMG_MGMT_USE_HEAP_FOR_FLASH_IMG_CONTEXT.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-06-06 12:05:29 +02:00
Martí Bolívar e27565e34d doc: release: 3.1.0 notes are no longer a working draft
Remove that from the title.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar 3ba2078761 doc: release: manually curate list_issues.py output
Apply suggestions from Dan Kalowsky to clean up extraneous issues
included in the script's output.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar d0db31abe1 doc: releases: unify disjoint issue related sections for v3.1.0
There are three lists of issues in the release notes:

- security vulnerabilities which received CVEs
- other open bugs
- resolved issues

(Here, "issue" is a strictly more general term than "bug": every bug
is an issue, not every issue is a bug. This is GitHub-specific
jargon.)

The current structure is awkward. Clean it up by unifying the
lists under a single top level section and cleaning up the distinction
between issues and bugs.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar f9d8165d3d doc: releases: unite disjoint bluetooth sections for v3.1.0
For some reason, there are two different sections covering bluetooth.
This is clearly incorrect; fix it by moving the content into a single
section.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar aea7696e6a doc: releases: fix location of "new APIs" content for v3.1.0
This needs to be in the "API changes" section, instead of in a
"Bluetooth" section where it currently is.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar 5889b5ba86 doc: releases: fixes for v3.1.0
Make a pass through the file, trying to fix as many issues as possible
with how the notes are written. This includes fixes for tense and
invalid .rst role usage, as well as removal of any sections which have
missing content.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar ce091d30d0 doc: releases: known issues for v3.1.0
Every release notes page includes a section for known issues.

In previous releases, we have linked to a GitHub query which displays
open issues. The problem with this approach is that the information
immediately goes stale, making this section's content less than useful.

We can do better now that we have a bug snapshot workflow and a script
capable of dumping snapshot contents in the same almost-rst-format
used by list_issues.py.

Use it as follows to archive the known open bugs at time of release:

$ wget https://builds.zephyrproject.io/zephyr/bug-snapshot/zephyr-bugs-2022-06-03.pickle.xz
$ unxz zephyr-bugs-2022-06-03.pickle.xz
$ ./scripts/dump_bugs_pickle.py zephyr-bugs-2022-06-03.pickle

Then copy paste the output into the release notes and handle .rst
escapes in the same way has previously been done for closed issues
since the last release.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Martí Bolívar 3c9e977347 doc: releases: resolved issues for v3.1.0
Follow along with the release checklist (#43286) like this:

$ ./scripts/release/list_issues.py -o zephyrproject-rtos -r zephyr -s
2022-02-22 -f issues.txt

Then copy issues.txt into the right place in the doc, and clean up the
resulting .rst errors by properly escaping and converting the markdown
format used in github issue titles.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 19:19:25 -05:00
Andrzej Głąbek 1491ab181b doc: release-notes-3.1: Add entry about dt_nodelabel_has_compat
Add information about redefined Kconfig preprocessor function
dt_nodelabel_has_compat.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-06-03 13:48:49 -07:00
Andrzej Głąbek e7163cde62 doc: release-notes-3.1: Add more entries in ADC and PWM driver sections
Add information about new ADC facilities and about significant changes
in nRF PWM drivers.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-06-03 13:48:49 -07:00
Martí Bolívar 5c6aaf709c doc: release: build and infrastructure for v3.1
Two significant highlights are the build system internals revamp and
the new Zephyr SDK.

Fixes: #46221

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 09:24:51 -07:00
Johann Fischer f2e2bbd864 doc: release-notes-3.1: add release notes for USB
Add release notes for USB.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-06-03 16:23:46 +02:00
Krzysztof Chruscinski 540d26a010 release_notes: Add section about Logging and Shell
Update release_notes section for logging and shell.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-06-03 15:11:42 +02:00
Krzysztof Chruscinski 605822d775 release_notes: Update section about Counter driver
Add information about changes in counter driver.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-06-03 15:11:42 +02:00
Krzysztof Chruscinski 2b01713f81 release_notes: Add section about utilities
Add information about UTIL_LISTIFY deprecation.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-06-03 15:11:42 +02:00
Andrzej Głąbek a5265c56b2 doc: releases: Add GPIO and I2S release notes for v3.1
Add release notes related to GPIO and I2S drivers.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-06-03 14:58:06 +02:00
Carles Cufi 2464bfe40d doc: relnotes: Add timer relnotes
Just a couple of mentions to relevant changes.

Closes #46222.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-06-03 14:57:39 +02:00
Carles Cufi 5fd8a59c72 doc: relnotes: Add SPI release notes
Not much activity, but a few changes to remark on the relnotes.

Closes #46218.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-06-03 14:57:39 +02:00
Stephanos Ioannidis bc1b800a85 doc: release-notes: Add documentation release notes for 3.1
This commit adds the documentation release notes for the Zephyr 3.1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-03 12:17:11 +02:00
Robert Lubos a1c2ecd2ae doc: release: 3.1: Add release notes for Ethernet
Add Ethernet release notes based on commit history.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-06-03 11:30:10 +02:00
Stephanos Ioannidis 16a482be55 doc: release-notes: Add ARM AArch32 release notes for 3.1
This commit adds the ARM AArch32 architecture release notes for the
Zephyr 3.1 release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-03 11:29:34 +02:00
Martí Bolívar 0854773129 doc: release: devicetree notes for v3.1
Some significant highlights include:

- new pinctrl and reset controller bindings
- enhanced ADC and PWM bindings
- zephyr-specific generation of MPU regions from devicetree
- new DT CAN API
- enhanced support for conversion from strings in the DTS
  to tokens in C
- many, many enhancements to existing bindings

Many thanks to everyone who contributed these great changes!

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 10:31:53 +02:00
Martí Bolívar 2dc1b071ae doc: release: split DT into its own section
By popular demand, create a separate devicetree section, splitting it
apart from the "build/infrastructure" section.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-03 10:31:53 +02:00
Henrik Brix Andersen e2ad6cfdc7 doc: releases: 3.1: remove empty EEPROM section
Remove the empty EEPROM section. There are user-facing changes to the
EEPROM drivers/API for this release.

Fixes: #46213

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2022-06-03 09:32:09 +02:00
Yonatan Schachter dfb0db9bfc Release notes: Added RPi Pico to v3.1.0 release notes
Add new features added to the Raspberry Pi Pico series to
the v3.1.0 release notes.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-06-03 09:31:19 +02:00
Stephanos Ioannidis baa63bf83b doc: release-notes: Add C library release notes for 3.1
This commit adds the C library release notes for the Zephyr 3.1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-03 09:30:53 +02:00
Stephanos Ioannidis 77d9395f23 doc: release-notes: Add C++ subsystem release notes for 3.1
This commit adds the C++ subsystem release notes for the Zephyr 3.1
release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-03 09:30:53 +02:00
Tom Burdick fe9854c072 doc: release: Add i2c release notes for v3.1.0
Added comments about enhancements, drivers, and significant bug fixes.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-06-02 21:46:07 -07:00
Carlo Caione b780a5f152 doc: release notes V3.1.0: Add ARM64 and IPC notes
Added notes for ARM64 and IPC.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-06-02 15:10:07 -07:00
Tom Burdick 11b9da4396 doc: release: Adds DMA release notes for v3.1.0
Adds comments on added drivers, improvements, and fixes for DMA

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-06-02 12:53:29 -07:00
Daniel DeGrasse efbe031aa5 doc: release: add release notes for disk drivers
Add release notes for disk drivers. Primary update since 3.0 was
addition of generic SDMMC disk driver.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2022-06-02 12:53:10 -07:00
Evgeniy Paltsev 801fe1fa06 doc: add ARC release-notes for 3.1
Add ARC architecture and boards release notes

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
2022-06-01 16:37:12 +02:00
Dominik Ermel b332864640 doc/releases/3.1: Add notes on MCUMGR to zcbor transition
The commit adds release notes on MCUMGR transition from TinyCBOR
to zcbor, and deprecation of several Kconfig options that are
no longer needed.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-06-01 16:36:45 +02:00
Erwan Gouriou 5ba4811484 doc: release notes V3.1.0: Shields Updates
Update V3.1.0 release notes with shields additions.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-06-01 16:36:33 +02:00