Commit graph

85,247 commits

Author SHA1 Message Date
Stephanos Ioannidis
016fc8c22f samples: grove_display: Update outdated link
The "Grove Base Shield" seems to be no longer listed in the Seeed
website, so its link is replaced with that of the "Base Shield V2",
which is the successor of the "Grove Base Shield."

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
579de846b2 samples: led_lpd8806: Remove outdated link
The "RGB LED strips: an overview" link no longer works and there is no
direct replacement, so there is no point in listing this document in
the references anymore.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
50cced58d2 samples: counter: maxim_ds3231: Fix outdated link
This commit fixes the outdated link to the "Chronodot" product page.

It seems "macetech" no longer lists the older versions of this product
with DS3231, so the link has been replaced with the one from Adafruit.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
e04e9f3958 samples: sensor: th02: Fix outdated link to TH02 datasheet
This commit replaces the outdated link to the TH02 sensor datasheet
with the link to the Si7005 datasheet (the original part name of TH02
is Si7005).

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
ad39da73bb samples: bluetooth: unicast_audio_server: Fix incorrect link
The sample is named `unicast_audio_server`, not `audio_unicast_server`.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
3d80f937fb samples: sensor: ds18b20: Fix incorrect link
This commit fixes the incorrect link to the DS18B20 sensor product
page.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
25062a51c0 samples: sensor: bme280: Fix incorrect link
This commit fixes the incorrect link to the BME250 sensor product page.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
fab0f2afda samples: tfm_integration: Fix TF-M documentation link
Update the link for the TrustedFirmware-M documentation to point to the
official user guide.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
909abaf367 samples: openthread: coprocessor: Fix outdated link
This commit replaces the outdated link to the Tridonic net4more Border
Router product page, which now reports 404, with a link to its
datasheet (it seems like this product is no longer available).

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis
6950aa94f7 samples: st_ble_demo: Fix incorrect app link
This commit fixes the incorrect app link and removes other unreferenced
links.

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
Ahmed Moheb
a341792ca0 tests: bluetooth: host: Remove unused definitions and inclusions
Clean up sources by removing unused definitions and inclusions.

Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
2022-09-29 10:17:38 +00:00
Jonathan Rico
5f8e657a22 Bluetooth: att: limit EATT MTU to max buffer size
If a device sends an MTU that is bigger than our maximum tx buffer size,
that could cause assertion failures down the line.

This PR limits it to the maximum we support (CONFIG_BT_L2CAP_TX_MTU).

The issue has been observed with a gatt discovery procedure, but is likely
present in other places in att.c.

To reproduce it, we need two zephyr shell devices, with one having a larger
MTU than the other:
- connect
- do data length update to the bigger MTU
- set security to 2, EATT channels get connected
- launch a gatt discovery from the device with the larger MTU
- observe kernel panic on the other device when it attempts to add too much
memory to a net buf.

Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
2022-09-29 10:16:57 +00:00
Daniel Leung
e869cff96c soc: intel_adsp/ace: unmask all host IPC functionality
On ACE, there is another layer of interrupt masking where
this masks, in addition to the DesignWare controllers.
So we need to un-mask during IPC init or else we are not
going to get any host IPCs.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-09-29 10:15:53 +00:00
Daniel Leung
4bbd3c7ef5 interrupt_controller: intc_dw_ace_v1x: fix multi-level IRQs
Zephyr encodes multi-level interrupts in a certain way, and
the driver is not utilizing the encoding correctly. So fix
it.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-09-29 10:15:53 +00:00
Joakim Andersson
cc74b3b977 Bluetooth: host: Log SC LTK in pairing procedure without bonding
Log the LE Secure Connection (SC) LTK in a pairing procedure without
bonding when CONFIG_BT_LOG_SNIFFER_INFO is enabled.

Fixes: #50691

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2022-09-29 10:15:08 +00:00
Derek Snell
569ef4ce30 doc: boards: NXP serial port features documented
Updated docs for NXP boards using the nxp_lpc_usart, for supported
serial port features.

Signed-off-by: Derek Snell <derek.snell@nxp.com>
2022-09-29 10:11:51 +00: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
Jordan Yates
58b65082c2 samples: lora: remove platform_allow
The twister docs specify that `platform_allow` should only be used
if applications can only possibly run on the specified platforms. This
is not the case for these applications, which should be able to run on
any board with LoRa support.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-09-29 08:59:03 +00:00
Jordan Yates
21ba1e9af0 boards: list lora support in yaml
List lora support in the board yaml file. This was already done for one
board (rm1xx_dvk). Boards were discovered by searching for `lora =` in
devicetree files.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-09-29 08:59:03 +00:00
Jordan Yates
3cf42040ae samples: lorawan: verify region compilation
Issue #49960 showed that individual regions can fail to compile when
enabled. As requested in #50626, validate that each region compiles in
CI.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-09-29 08:59:03 +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
Thad House
f37db90541 drivers: Correct tx and rx error counts in mcan
TX and RX error counts are swapped in the mcan driver.

Signed-off-by: Thad House <thadhouse@fb.com>
2022-09-28 20:34:36 +00: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
e477d70694 boards: rpi_pico: Added default pin mapping to docs
Added the default pin mapping to the documentation.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-09-28 14:09:46 -05:00
Yonatan Schachter
ddba0f3c30 boards: rpi_pico: Fix doc typos and grammar
Fix a few typos and grammar mistakes in the rpi_pico documentation.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-09-28 14:09:46 -05:00
Yonatan Schachter
df7bace10f doc: boards: rpi_pico: Fix DTS compatible for UART and GPIO
Fixes the DTS compatibles for UART and GPIO, which used rpi
instead of raspberrypi.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-09-28 14:09:46 -05: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
Gerard Marull-Paretas
550f918b01 device: remove duplicate Z_DEVICE_STATE_DEFINE macro definition
The macro is defined twice in the same header file.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-28 13:54:10 -05:00
Gerard Marull-Paretas
4bd68112c3 device: use IF_ENABLED to initialize PM field
IF_ENABLED(CONFIG_FOO, (x)) is equivalent to COND_CODE_1(CONFIG_FOO,
(x), ()).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-28 17:39:36 +00: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
Manivannan Sadhasivam
0512d21fee west.yml: Update loramac-node module
Update the Zephyr's fork of loramac-node repository to include the fix for
async reception on Semtech SX127x modules. The commit is cherry-picked from
upstream repo.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2022-09-28 10:22:43 -05:00
Andrzej Puzdrowski
c529150322 doc/release-note-3.2: MCUboot changelog
Added summary of MCUboot changes for 3.2 release

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Signed-off-by: Francesco Domenico Servidio <francesco.servidio@nordicsemi.no>
2022-09-28 14:42:52 +00:00
Andrzej Puzdrowski
699b2becb1 doc/release-note-3.2: Flash driver changelog
Updated summary of Flash drivers changes for
the 3.2 release

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-28 14:29:31 +00:00
Jose Alberto Meza
28f9ead4dc doc: release-notes: 3.2: bits for eSPI
This adds a few bits about the eSPI driver updates flash over
eSPI support and platform-specific virtual wires support.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2022-09-28 14:25:05 +00:00
Stephanos Ioannidis
74e6f70a63 doc: mailboxes: Remove memory block-related details
The commit c844bd87b3 removed the support
for passing a memory block (allocated in a memory pool) as message
data, but did not update the relevant documentation.

This commit removes any references to the memory block support, which
was removed in the v2.5.0 release, in the mailbox API documentation.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-28 14:24:34 +00:00
Stephanos Ioannidis
5eed8328ab doc: memory-domain: Remove stale reference to k_mem_pool
This commit replaces the stale reference to `k_mem_pool` with `k_heap`.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-28 14:24:34 +00:00
Stephanos Ioannidis
b8643cb429 twister: size_calc: Remove stale k_mem_pool_area reference
This commit removes the stale reference to `k_mem_pool_area` for the
memory pool API, which was removed in the v2.5.0 release.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-28 14:24:34 +00:00
Stephanos Ioannidis
c5a4bb9daf kernel: Remove stale references to memory pool API
This commit removes all stale references in the kernel header to the
memory pool API, which was removed in the v2.5.0 release.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-28 14:24:34 +00:00
Stephanos Ioannidis
69f3b86fa3 tests: benchmarks: app_kernel: Remove k_mem_pool declaration
This commit removes the stale `k_mem_pool` declaration for the memory
pool API, which was removed in the v2.5.0 release.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-28 14:24:34 +00:00
Stephanos Ioannidis
ed13880f1d linker: Remove k_mem_pool section
This commit removes the `k_mem_pool` section for the memory pool API,
which was removed in the v2.5.0 release.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-28 14:24:34 +00:00
Martí Bolívar
316950ef1a doc: releases: DT notes for v3.2
Add release notes for the upcoming release.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-09-28 14:22:44 +00:00
Martí Bolívar
73fb091580 dts: bindings: fix stm32 UART base include file
Include files should not have compatible properties set. These do not
represent real hardware and should therefore not appear to do so, e.g.
by appearing in the bindings index as if they were a real hardware
peripheral.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-09-28 14:22:44 +00:00
Hu Zhenyu
8c4d464afb doc: mec172xevb_assy6906: Add how to enable the PCA9555
Describes the Connectors/Jumpers of testing the PCA9555 on I2C1

Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
2022-09-28 14:08:09 +00:00