Commit Graph

70456 Commits

Author SHA1 Message Date
Vinayak Kariappa Chettimada 48c21fab93 Bluetooth: Controller: Fix radio_tmr_start_us to be soft realtime
Fix radio_tmr_start_us to be soft realtime, if the requested
start in microseconds is in the past, setup the next
earliest expiry. This is to prevent radio not being started
and not let the LLL hanging. When setup to receive auxiliary
PDU in LLL scheduling, is_aux_sched is set and if radio does
not start and the window is requested to be pre-empted, then
it is blocked from being preempted due to the is_aux_sched
flag remaining to be set. This stalls the scanning
infinitely until explicit scan disable.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2022-09-29 16:42:36 +02:00
Vinayak Kariappa Chettimada 8b586ee5a4 Bluetooth: Controller: Fix missing is_aux_sched flag being reset
Fix missing is_aux_sched flag being reset before resuming to
scan for new advertising PDU in the same scan window after
having received an earlier primary channel PDU and auxiliary
channel PDU using LLL scheduling.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2022-09-29 16:42:36 +02:00
Vinayak Kariappa Chettimada 0eec434472 Bluetooth: Controller: Fix receiving spurious PDU in active scanning
Fix receiving spurious overlapping ADV_IND and SCAN_IND PDU
when LLL state expects to receive SCAN_RSP PDU. Explicitly
check that these PDUs are not processed when in active
scanning and waiting for SCAN_RSP PDUs.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2022-09-29 16:42:36 +02:00
Vinayak Kariappa Chettimada 1de70b575a Bluetooth: Controller: Fix node rx leak on extended scanning stop
If scan is being disabled, rx could already be enqueued
before coming to ull_scan_aux_rx_flush. Check if node rx is
not the last in the list of received PDUs then add it to the
list, else do not add it to the list to avoid duplicate
report generation, release and probable infinite loop
processing of the list. It is possible that node rx has not
be already added in case of last PDU in the chain, under
this case when scan is being stopped add it to the list
before auxiliary context is flushed.

Add the node rx to aux context list of node rx if not
already added when coming to ull_scan_aux_rx_flush. This is
handling a race condition wherein the last PDU in chain is
received and at the same time scan is being disabled.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2022-09-29 16:42:36 +02:00
Vinayak Kariappa Chettimada ba6cbc57e1 Bluetooth: Controller: Fix scan aux leak on periodic sync terminate
Fix scan aux context leak on Periodic Sync Terminate. On
Periodic Sync Terminate the `is_stop` flag is set to prevent
the ULL from assigning an aux context to the sync context,
but the acquired aux context was neither assigned to sync
context nor was being released back to the aux context pool.
Fixed by releasing the aux context if not assigned to the
sync context when `is_stop` flag is set.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2022-09-29 16:42:36 +02:00
Hu Zhenyu 1a6098f5db doc: Modify the it8xxx2_evb overview document
1. Remove the obsoleted board
2. Add HW rework of the new it8xxx2_evb
3. Add Wiring of the new it8xxx2_evb
4. Update the Ubuntu flash guide

Signed-off-by: Hu Zhenyu <zhenyu.hu@intel.com>
2022-09-29 14:37:55 +00:00
Dino Li db50a7aca7 drivers: gpio: it8xxx2: add support for GPIO_DISCONNECTED flag
This change was made to support the flag.
fixes: #50681

Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
2022-09-29 14:33:53 +00:00
Andrzej Puzdrowski 9830c8f405 manifest: mcuboot update
Version witch fixed BOOT_WATCHDOG_FEED default value.

fixes #50754

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-09-29 14:27:11 +00: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
Erwan Gouriou 2f1c3784fd boards: nucleo_f103rb: Fix openocd configuration
With latest version of openocd delivered in Zephyr SDK 0.15.0,
a new configuration is required to flash and debug this board:
"reset_config connect_assert_srst" allows to flash the board
The new "init" function allows to run debug.

Fixes #50590 for this specific board

Note that other boards might be also impacted by this new version
of openocd but a revert of zephyrproject-rtos/openocd@98d9f11 allows
to get back to the previous status.
A new Zephyr SDK release (V0.15.1) will be available with a revert of
this commit. Unfortunately this has no impact on nucleo_f103rb. Hence
this change.


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-09-29 12:26:42 +00: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 b6d312a7ac boards: arc: Update outdated links
This commit updates the outdated ARC board links.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 06ecea6b8f boards: altera_max10: Update outdated link
This commit updates the outdated Quartus download link.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 9912804d3c boards: esp32: Update outdated links
This commit updates the outdated/redirected links.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 43635f7b62 boards: beaglev_starlight_jh7100: Update outdated links
This commit updates the outdated BeagleV-related links. These pages
seem to be no longer available on the Seeed wiki.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 235342252c boards: mcp2515: Update outdated link
This commit updates the outdated link for the "DFRobot CAN BUS Shield
V2.0 schematic."

The repository containing this file has been renamed to
"DFRobot/DFRobot_MCP2515".

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 2a0e55c9e5 boards: link_board_eth: Update outdated link
This commit updates the outdated link for "link board ETH Website" with
that of the "reel board," which contains the information on the "link
board ETH."

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 31e6351dc3 boards: v2m_musca_s1: Update outdated links
This commit updates all outdated links in the v2m_musca_s1 board
documentation.

Some links updated here were not completely broken (redirects worked),
but they did not redirect to the correct page in the documentation, so
they were also updated to point to the correct page.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 6f5d563699 boards: v2m_musca_b1: Update outdated links
This commit updates all outdated links in the v2m_musca_b1 board
documentation.

Some links updated here were not completely broken (redirects worked),
but they did not redirect to the correct page in the documentation, so
they were also updated to point to the correct page.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis c6ed9d72ef boards: v2m_beetle: Update outdated links
This commit updates the outdated links to the Beetle board and
CMSIS-DAP websites.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis cd887a9a90 boards: stm32f072b_disco: Update outdated link
This commit updates the oudated link to the "SK Pang CAN breakout
board" (with MCP2561FD transceiver) product page.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis fc497336c1 boards: stm32f072_eval: Remove outdated links
The STM32F072-EVAL board is now obsolete and the related documents are
no longer available on the official website.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis d4633054cb boards: serpente: Update outdated links
The "Serpente" documentation base URL changed.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 5b830b4747 boards: rm1xx_dvk: Update outdated link
This commit updates the outdated link to MCP23S08 datasheet.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 70d203d2a3 boards: ronoth_lodev: Update outdated links
This commit removes the invalid links to "STMicro STM32L073RZ" in the
board documentation.

It also updates an outdated link to the "AcSIP S76S Product Information
Brief".

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 6aa6f4a37b boards: msp_exp432p401r_launchxl: Remove outdated links
This commit removes all links in the board documentation that are no
longer available.

The MSP432 series is now obsolete and TI seems to have intentionally
removed these links.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 25faa0c114 boards: mps2_an521: Update outdated links
This commit updates all outdated links in the mps2_an521 board
documentation.

Some links updated here were not completely broken (redirects worked),
but they did not redirect to the correct page in the documentation, so
they were also updated to point to the correct page.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 6eca267eb3 boards: mm_swiftio: Update outdated link
This commit updates the outdated SwiftIO API reference link.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis ce004aa5ff boards: gd32: Update outdated links
This commit updates the outdated links for the GD32 boards.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 25fb729b8c boards: efr32mg_sltb004a: Update outdated schematic link
This commit updates the outdated schematic link for the board.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 7f3c5bf6ab boards: efr32_radio: Update outdated links
This commit updates the outdated schematic and product links for the
efr32_radio boards.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00
Stephanos Ioannidis 744ab510bd boards: efm32pg_stk3402a: Update outdated schematic link
This commit updates the outdated schematic link for the board.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-09-29 12:20:14 +02:00