Commit Graph

4521 Commits

Author SHA1 Message Date
Juha Heiskanen
8279489aee net: lwm2m: RD Client update registration timeout
Renamed LWM2M_RD_CLIENT_EVENT_REG_UPDATE_FAILURE to
LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT.

Changed reported event type for registration timeout to
LWM2M_RD_CLIENT_EVENT_REG_TIMEOUT from
LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE.
LWM2M_RD_CLIENT_EVENT_REGISTRATION_FAILURE should be only
reported case when server reject by response registration.

Signed-off-by: Juha Heiskanen <juha.heiskanen@nordicsemi.no>
2022-10-03 10:20:13 +02:00
Erwan Gouriou
bd6a25a661 doc: porting: shields: Provide guidelines for nodelabel
In order to avoid device definitions conflicts when compiling shields
description with boards embedding similar devices, nodelabels of devices
in shield's devicetree file should differ from the nodelabels used in
board's devicetree file.
The form to be used was discussed in #50040 and agreed to be as
<device>_<shield_name>.

Update shields documentation to make it an explicit rule.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-10-03 10:16:57 +02:00
Erwan Gouriou
656382e7a4 doc: porting: shields: Update instructions for nodelabel definitions
Update requirements regarding board connectors compatibility now that
dtc versions prior to 1.4.2 can't be used anymore (current required
version is 1.4.6).

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-10-03 10:16:57 +02:00
Gerard Marull-Paretas
fdea3c9a44 devicetree: add DT(_INST)_FOREACH_PROP_ELEM_SEP(_VARGS)
Add a new set of helpers for expanding property entries with a
separator. These macros complement DT(_INST)FOREACH_PROP_ELEM(_VARGS) by
adding the capability to expand with a custom separator between property
entries. This allows, in some cases, to re-use existing macros (e.g.
DT_PROP_BY_IDX) without creating an auxiliary macro that just appends a
separator. Example:

```dts
n: node {
	...
	my-gpios = <&gpioa 0 GPIO_ACTIVE_HIGH>,
		   <&gpiob 1 GPIO_ACTIVE_HIGH>;
};
```

Before:

```c
 #define GPIO_DT_SPEC_BY_IDX_AND_COMMA(node_id, prop, idx) \
	GPIO_DT_SPEC_BY_IDX(node_id, prop, idx),

struct gpio_dt_spec specs[] = {
	DT_FOREACH_PROP_ELEM(DT_NODELABEL(n), my_gpios,
			     GPIO_DT_SPEC_BY_IDX_AND_COMMA)
};
```

After:

```c
struct gpio_dt_spec specs[] = {
	DT_FOREACH_PROP_ELEM_SEP(DT_NODELABEL(n), my_gpios,
				 GPIO_DT_SPEC_BY_IDX, (,))
};
```

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-03 10:11:18 +02:00
Gerard Marull-Paretas
1f98c24fc2 doc: dts: macros.bnf: add missing DT_FOREACH_PROP_ELEM entries
Entries for DT_FOREACH_PROP_ELEM_(VARGS) internal helpers were missing.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-03 10:11:18 +02:00
Fabio Baltieri
896935066b doc: conf: add release version 3.2.0
Add release version 3.2.0 to the documentation version list.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
3224a50e03 doc: release: remove "Working Draft" from 3.2 release notes title
Drop the "Working Draft" note from the 3.2 release note document title.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
d8c5f8f33c doc: release: add a bunch of missing "."
Add few missing "." to list entries, the ones that looks like sentences
anyway.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
3344f16dd5 doc: release: drop empty sections
Drop empty sections from the 3.2 release notes file.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
37605482d7 doc: release: various cleanups for 3.2
Various manual cleanups for the 3.2 release notes: spelling, wrong
bindings, tags...

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
a8590d8f1b doc: release: drop few non relevant entries from the issue list
Drop issues related to backports and other ones that do not seem
relevant to the release.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
1f876ae04c doc: releases: known issues for v3.2.0
Add the list of open issues after the last triage:

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

Manually fixed few doc generation warnings.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Fabio Baltieri
a1a35b47cf doc: releases: resolved issues for v3.2.0
Adding the list of closed bugs since v3.1.0:

./scripts/release/list_issues.py -o zephyrproject-rtos -r zephyr -s
  2022-06-05 -f issues.txt

And some manual fixup to make doxygen happy.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 11:31:32 -05:00
Andrzej Puzdrowski
f59188f989 doc/release-note-3.2: storage changelog
Summary on storage updates for 3.2 release.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-30 14:46:17 +00:00
Fabio Baltieri
63ead2bf67 doc: release: add overview section
Add (back) an overview section to the release notes, mentioning few
improvements in this release.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-30 16:05:41 +02:00
Andrzej Puzdrowski
4462f6b4b6 doc/release-note-3.2: DFU subsystem changelog
Added summary on the DFU subsystem changes.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-30 13:55:18 +00:00
Jakub Rzeszutko
02355bc2fc doc: release-notes-3.2: release notes for shell
Add release notes for the shell subsystem.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2022-09-30 13:54:52 +00:00
Dominik Ermel
bde86849fc doc/release: Add note on deprecated FLASH_MAP_ macros
Note on replacement of FLASH_MAP_ macros with FIXED_PARTITION_
macros.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-09-30 07:44:49 -05:00
Johann Fischer
de700211ff doc: release-notes-3.2: add release notes for MODBUS support
Add release notes for MODBUS support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-09-29 14:18:59 +00:00
Johann Fischer
d11816af87 doc: release-notes-3.2: add release notes for display controller driver
Add release notes for display controller driver.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-09-29 14:18:59 +00:00
Johann Fischer
9dceb41894 doc: release-notes-3.2: add release notes for USB support
Add release notes for USB support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-09-29 14:18:59 +00:00
Krzysztof Chruscinski
7dc87c6bf1 doc: releases: Updates for counter, clock and logging
Updated release notes with changes in the counter, clock control and
logging.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-09-29 08:55:03 -05:00
Filip Kokosinski
6b36e2f4d5 doc: release-notes: add RISC-V release notes for v3.2.0
This commit adds RISC-V release notes for Zephyr v3.2.0.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
2022-09-29 08:48:50 -05:00
Krzysztof Chruscinski
9a3d762ee2 doc: logging: Update section about log processing
'Controlling the logging' section was not clear enough. Updating it
to clarify that logging processing in deferred mode is by default
handled implicitly.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-09-29 08:26:54 -05:00
Andrzej Głąbek
2aa0642cce doc: release-notes-3.2: Add notes for ADC, I2S, PWM, and Nordic HAL
Add entries for ADC, I2S, and PWM drivers and for Nordic HAL.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-09-29 11:45:11 +00:00
Stephanos Ioannidis
a041f5ce10 doc: toolchains: Update custom toolchain CMake reference file names
This commit updates the CMake reference file names for custom
toolchains.

The contents of `cmake/generic_toolchain.cmake` and
`cmake/target_toolchain.cmake` were moved
`cmake/modules/FindHostTools.cmake` and
`cmake/modules/FindTargetTools.cmake`, respectively.

Refer to the commit 8d2998d4f9 and
7131d02fa4 for more details.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
cf400c6c63 doc: flash_debug: Update OpenOCD and pyOCD links
This commit updates the outdated links for OpenOCD and pyOCD.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
4cf129e13b doc: peripherals: i2c: Fix incorrect hyperlink references
This commit fixes incorrect external hyperlink references.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
e536541f4f doc: virtualization: Update outdated link to ivshmem
This commit updates the outdated link to the QEMU ivshmem
documentation.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
2352f7470b doc: peripherals: tcpc: Fix incorrect hyperlink references
This commit fixes incorrect external hyperlink references.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
d85900d0f7 doc: west: Update outdated link to SPDX specification
This commit updates the outdated link to the SPDX specification.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
9f5ad65446 doc: tools: coccinelle: Update documentation link
This commit updates the oudated link to the Cocinelle documentation.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
14d3c7338e doc: kconfig: Update outdated links to Kconfig documentation
This commit updates the outdated links to the Kconfig documentation in
the Linux kernel repository with those from the official documentation.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
97efbec18b doc: test: Update link to Sparse documentation
Update the Sparse documentation to refer to the official Sparse
documentation instead of some random link, which no longeer works.

It also fixes an incorrect inline literal usage.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
dc66be5d7d doc: bluetooth: autopts: Fix internal linking
Links/references to the pages internal to the documentation should
use `:ref:`.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
14539ed2e8 doc: documentation: Fix incorrect doc/Makefile reference
This commit fixes the incorrect reference to the `doc/Makefile` and
updates the text to better integrate the reference.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
4811575616 doc: documentation: Fix internal linking description
This commit fixes incorrect depiction of the internal link with custom
text usage.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
a811d3889b doc: documentation: Update outdated file paths
This commit updates the documentation guidelines to reflect the
refactored documentation paths.

It also corrects the unnecessary escapes of the backticks.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
8a7eb68c0f doc: security: Fix outdated link
This commit updates the outdated link to "OWASP Top Ten Project".

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
45a8ace1f3 doc: Use inline literals
Use inline literals where applicable -- especially for the words that
contain `@`; otherwise, Sphinx will think it is an email address.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Flavio Ceolin
ffc442b7c9 doc: releases: Entropy notes for v3.2
Add release notes for upcoming release.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2022-09-29 12:19:35 +02:00
Flavio Ceolin
5b54ad7118 doc: releases: crypto notes for v3.2
Add release notes for the upcoming release.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2022-09-29 12:19:12 +02:00
Flavio Ceolin
9c4bf1d477 doc: releases: PM notes for v3.2
Add release notes for upcoming release.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2022-09-29 08:59:44 +00:00
Andrzej Puzdrowski
1c953834d6 doc/release-note-3.2: settings changelog
Updated summary of the settings subsystem changes for
the 3.2 release.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-28 17:39:30 -05:00
Yuval Peress
7adacb707a docs: testsuite and emul 3.2 release notes
Add release notes for both the emulation and test suite subsystems

Signed-off-by: Yuval Peress <peress@google.com>
2022-09-28 20:33:52 +00:00
Fabio Baltieri
292fde17de doc: release-notes: add notes for LoRa, LoRaWAN and LED
Add release notes for LoRa, LoRaWAN and LED, got these from Manivannan
on Discord.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Co-authored-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2022-09-28 19:31:44 +00:00
Fabio Baltieri
f178e3e1a5 doc: release-notes: fix indentation for mcuboot
MCUBoot entries have an extra indentation that should not have been
there, drop it.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-09-28 19:30:45 +00:00
Yonatan Schachter
3887f452fc release: Added v3.2 release notes for the Raspberry Pi Pico
Added changes made to the rpi_pico board RP2040 SoC to the release
notes.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-09-28 14:09:46 -05:00
Jamie McCrae
1ec395d4bc doc: release: 3.2: Add updated MCUMGR release notes
Adds release notes for MCUMGR from other contributors.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2022-09-28 13:57:46 -05:00
Andrzej Puzdrowski
f0234236f6 doc/release-note-3.2: File System changelog
Added note on FS updates for 3.2 release.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-28 10:54:58 -05:00