Commit graph

909 commits

Author SHA1 Message Date
Mariusz Poslinski 5027f55a12 manifest: openthread upmerge up to commit 1f1a826
Regular OpenThread upmerge.

Added new configs:
CONFIG_OPENTHREAD_TCP -> OT_TCP
CONFIG_OPENTHREAD_DNS_QUERY_UPSTREAM -> OT_DNS_QUERY_UPSTREAM
CONFIG_OPENTHREAD_MESH_DIAG -> OT_MESH_DIAG

Signed-off-by: Mariusz Poslinski <mariusz.poslinski@nordicsemi.no>
2023-03-11 19:44:43 +01:00
Alberto Escolar Piedras b91aa2e28c manifest: EDTT: Update to latest version
Just a minor fix in the edtt which mostly avoids
flooding the logs with exceptions in some error cases.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-03-09 11:17:43 +01:00
Przemyslaw Bida 589ca1f2d9 manifest: hal_nordic: bump version of hal_nordic to e9eca1e.
This commit bumps version of hal nordic to introduce newer radio driver.

Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
2023-03-08 11:07:22 +01:00
Daniel DeGrasse b95d5cb43c manifest: update NXP HAL revision
Update revision of NXP HAL to add support for MIPI DSI and MCUX LCDIF
drivers.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-03-04 09:19:26 +01:00
Joakim Andersson 77c149b9b8 manifest: Update PSA arch test with timeout and crypto test 221 fix
Crypto test-case 221 has a false negative, not passing because the ECC
family is disabled, not because of the key length.

Increase the timeout for the nRF5340/nRF9160 devices.
RSA keygen will sometimes take more than 90 seconds

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-03-04 09:18:56 +01:00
Dominik Ermel 0cbc488b1e west.yml: Reset MCUboot revision due to history overwrite
The commit resets MCUboot revision after zephyrproject-rtos/mcuboot
main branch has been overwritten with mcuboot/mcuboot main.

The reset has been done due to MCUboot fork history, in Zephyr,
has been broken and contained duplicate commits.

For details look at issue: #55303.

The reset of MCUboot also requires update to following repositories:
  trusted-firmware-m

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2023-03-02 18:23:38 +01:00
Nazar Palamar ae196defa0 west.yml: Update hal_infineon revision
Get blob support for cm0+ in hal_infineon

Updated revision of hal_infineon to:
8485083ad91d3e2cc5d706da3464716718a6a42e

Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
2023-03-01 11:44:57 +01:00
Lucas Tamborrino 9f46db90c8 west: hal_espressif: Update to latest revision
Add support for several esp32s3 support on HAL, such as:

* I2C
* SPI
* Timer
* WDT
* LEDC
* MCPWM
* PCNT

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2023-02-28 14:44:47 +01:00
Sylvio Alves 873ad32a5c soc: esp32c3: fix SPIRAM SD3 pin
Fix spiram WP_SD3 pin reference as that should be checked from efuse
values in case no customized number is set.

Fixes #54005

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-02-28 12:47:56 +01:00
Sylvio Alves bbd40b85c0 soc: esp32s3: add base source content
This brings esp32s3 linker, DTS and all
necessary files to allow the soc support.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-02-27 19:41:33 +01:00
Keith Packard 0e70b36c9f modules/picolibc: Include picolibc with clang+cmake build fixes
Picolibc upstream has several fixes in the cmake build scripts that are
useful when compiling with clang. Move the picolibc revision forward to
include all of those changes.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-02-23 19:37:39 -06:00
Artur Hadasz 505b60fc9d manifest: update hal_nordic revision
This commit updates hal_nordic revision to bring the latest changes in
nRF IEEE 802.15.4 radio driver.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2023-02-22 16:46:15 +01:00
Alberto Escolar Piedras 56a813f1f4 manifest: nRF HW models, update to version with EGU
Use the latest HW models which include the EGU peripheral

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-02-22 16:15:20 +01:00
Alberto Escolar Piedras e20862f0e8 tests: bsim_bt: edtt tests: Use latest EDTT without the bridge
The latest EDTT does not use the bridge anymore.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-02-22 12:17:42 +01:00
Przemyslaw Bida 164ec8ba63 manifest: openthread: openthread upmerge to 242c7cc
Regular openthread upmerge.

Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
2023-02-20 13:24:07 +01:00
Troels Nilsson c57095740f Tests: Bluetooth: Update EDTT and add new test cases
Updates EDTT to newest version and adds the new test cases

Update _controller_tests_inner.sh to support using packet inspection
and the new low-level device feature in EDTT

Build configs for the BSim test apps updated to support extended
advertising

Signed-off-by: Troels Nilsson <trnn@demant.com>
2023-02-20 09:54:54 +01:00
Guillaume Gautier 9af2a37b80 west.yml: Use latest STM32 HAL
Use latest STM32 HAL to have the new STM32F1xx PWM inputs.
Also update the existing boards with correct new PWM outputs definition

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-02-19 20:47:01 -05:00
Kevin Townsend a79d2089a8 manifest: tf-m: Disable initial attestation
Includes changes to allow Zephyr to avoid building the initial
attestation service at build time.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2023-02-11 07:59:06 +09:00
Chris Friedt e43b1696c2 manifest: add entry for zephyrproject-rtos/thrift
Add a manifest entry pointing to Zephyr's fork of `apache/thrift`.

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2023-02-09 20:30:21 +09:00
Erwan Gouriou cd33ba9a6e west.yml: tf-m: Fix SAU configuration on U5
Fix SAU configuration on U5 to allow non secure application to use
end of flash which is not used by secure.

Fixes #53231

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2023-02-09 11:14:05 +01:00
Kevin Townsend 186cd65160 manifest: Update to TF-M 1.7.0 and MBedTLS 3.2.1
Update TF-M from 1.6.0 to 1.7.0
Update MBedTLS from 3.1.0 to 3.2.1.

Updates the cmake wrapper for changes introduced in TF-M 1.7.0.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Signed-off-by: David Brown <david.brown@linaro.org>
2023-01-27 14:25:30 -05:00
Keith Packard 67db251f14 modules: Update picolibc to 1.8
Picolibc version 1.8 was recently released. This release includes
a bunch of patches made to support Zephyr.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-01-26 21:34:12 -05:00
David Leach cde1573619 drivers: entropy: use non-cache intermediate buffer for RNG
The CAAM hardware needs to read RNG values into a non-cache
buffer. Since the contract to Zephyr RNG functions do not
require non-cache buffers, we use an intermediate non-cache
buffer to retrieve results.

Added a Kconfig to control the size of the intermediate buffer.

Fixes #53035

Signed-off-by: David Leach <david.leach@nxp.com>
2023-01-26 09:46:20 -06:00
Alberto Escolar Piedras 26349193ab manifest: Use latest HW models with AES_CCM HEADERMASK support
Feature needed for BT LE Audio ISO encryption

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-01-26 09:29:18 +01:00
Alberto Escolar Piedras 8a5273525e nrf52_bsim: Convert from a nRF52832 to a nRF52833
The nRF HW models have been updated to correspond to a 52833 instead
of a 52832. Let's follow them.

The motivation for the change is to enable proper BIS encryption support
(for BT LE Audio ISO).

Changes:

* Point in manifest to latest HW models

* SOC_COMPATIBLE_NRF52832 has been removed, and SOC_COMPATIBLE_NRF52833
added in its place (with no uses at this point)

* Where SOC_COMPATIBLE_NRF52832 was used to set encryption like for a 52832
(to avoid using the MAXPACKETLENGHT), we set the condition to just
SOC_NRF52832.
Note: The MAXPACKETLENGHT register exists in the new simulated nrf52833,
thought it does nothing.

* In the BLE ctrl LLL radio HAL, all macros are renamed accordingly
(timings are NOT changed).

* Board dts definition now refers to the 52833 soc definition. New 52833
features set as not supported by now.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-01-26 09:29:18 +01:00
Marc Desvaux d90a447d56 west.yml: Get STM32 PTP clock hal modification
Get STM32 PTP clock hal on ETH_STM32_HAL_API_V2

Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
2023-01-24 14:34:34 +00:00
Joakim Andersson 8377ed9dfc manifest: pull mcuboot change for sys_clock_disable refactor
Pull mcuboot change which refactor sys_clock_disable to only be called
when the system clock driver supports this feature.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-01-20 20:02:20 +01:00
Erwan Gouriou b8917cdbf6 drivers: ethernet: stm32f7: Enable use of HAL V2 API
Point to the modified version of hal_stm32 which allow to use
ETH HAL V2 on stm32F7.
Update zephyr driver to allow it.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2023-01-20 13:03:27 +00:00
Dominik Ermel ca0da43107 manifest: Update FAT FS revision to fix STRINGIZE redefinition
The commit bring FAT FS driver update with ffconf.h that
removes STRINGIZE redefinition.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2023-01-18 08:57:35 -08:00
Maciej Baczmanski 59325d1fe6 manifest: openthread upmerge up to commit a1979fd
Cleanup of Kconfig and CMakeLists for openthread module.

Added build flags:
- `OT_15_4`
- `OT_ANYCAST_LOCATOR`
- `OT_BACKBONE_ROUTER_DUA_NDPROXYING`
- `OT_BACKBONE_ROUTER_MULTICAST_ROUTING`
- `OT_BORDER_ROUTING`
- `OT_BORDER_ROUTING_COUNTERS`
- `OT_FIREWALL`
- `OT_MESSAGE_USE_HEAP`
- `OT_NAT64_TRANSLATOR`
- `OT_TX_BEACON_PAYLOAD`

Renamed flags:
- `DATSET_UPDATER` to `DATASET_UPDATER`
- `CONFIG_OPENTHREAD_BORDER_ROUTING_NAT64`
to `CONFIG_OPENTHREAD_NAT64_BORDER_ROUTING`

Rearranged flags in alphabetical order.
Signed-off-by: Maciej Baczmanski <maciej.baczmanski@nordicsemi.no>
2023-01-18 12:14:59 +01:00
Tomasz Moń e326c58399 usb: device: Do not cancel transfers on suspend
Cancelling transfers on suspend contradicts Universal Serial Bus
Specification Revision 2.0, 9.1.1.6 Suspended:
  * When suspended, the USB device maintains any internal status,
    including its address and configuration.

The internal status definitely includes any pending USB transfers.
If there is a class that wants to cancel transfer on suspend, then the
cancel should be initiated by the class, not the device stack itself.

Update hal_nordic to a version that does not abort all endpoints at
suspend. It seems that aborting endpoints on suspend in nrfx driver was
the actual reason why transfers were canceled on suspend.

Remove transfer retriggering on resume from CDC ACM and Bluetooth class
implementations because transfers are no longer cancelled on suspend.
Other classes do not have any suspend related workarounds implemented.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-01-18 11:48:13 +01:00
Daniel DeGrasse 47271ce8be treewide: update usage of zephyr_code_relocate
Update usage of zephyr_code_relocate to follow new API. The old method
of relocating a file was the following directive:

zephyr_code_relocate(file location)

The new API for zephyr_code_relocate uses the following directive:

zephyr_code_relocate(FILES file LOCATION location)

update in tree usage to follow this model. Also, update the NXP HAL SHA,
as NXP's HAL uses this macro as well.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-01-17 18:08:37 +01:00
Stephanos Ioannidis cf211aa7af treewide: Update deprecated CONFIG_LIB_CPLUSPLUS usages
This commit updates all deprecated `CONFIG_LIB_CPLUSPLUS` usages to:

* check if the Zephyr minimal C++ library is enabled using
  `CONFIG_MINIMAL_LIBCPP` instead of relying on the
  `CONFIG_LIB_CPLUSPLUS`-based inference.

* select `CONFIG_REQUIRES_FULL_LIBCPP` when there exists a component-
  level C++ standard library dependency. This allows a component to
  declare C++ standard library dependency without designating a
  specific libray implementation.

* select the correct type of C++ standard library implementation to use
  through one of the `CONFIG_LIBCPP_IMPLEMENTATION` choices.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2023-01-13 17:42:55 -05:00
YuLong Yao 30f310d4f8 west: hal_gigadevice: add gd32a50x hal code
add gd32a50x hal code

Signed-off-by: YuLong Yao <feilongphone@gmail.com>
2023-01-12 21:45:38 +01:00
Daniel DeGrasse 6554eb7cfa manifest: update NXP HAL
Update NXP HAL to latest revision. Commit
3e4406d98272dd53d623e4df8cc96ee040120312 within the NXP HAL broke builds
for some NXP platforms, so this manifest update will allow Zephyr to
skip that broken SHA.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-01-12 13:19:34 -06:00
Lucas Tamborrino 42b1453200 manifest: hal_espressif: Update to latest revision
Update hal_espressif to latest revision

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2023-01-12 19:09:01 +01:00
Henrik Brix Andersen 16552e86d9 manifest: update CANopenNode to fix SDO block transfer CRC function
Update CANopenNode revision to fix the CRC calculation for SDO block
transfers.

Fixes: #52479

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2023-01-11 09:39:57 +01:00
Jamie McCrae fd4090819a tinycbor: Remove deprecated/obsolete module
This removes the tinycbor module and replaces references in it
e.g. in sample text to use the zcbor replacement.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2023-01-10 09:26:12 +01:00
Guillaume Gautier 5bdea1f022 west.yml: Update west.yml with latest STM32 HAL version
Update west.yml with latest STM32 HAL version

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-01-09 10:15:52 +01:00
Joakim Andersson 3c4783042e manifest: Update TF-M to use upstream patch for MBedTLS build warnings
Update TF-M version which remove the downstream patch and replaces it
with the upstream TF-M patch for masking MBedTLS build warning of
unused const variable.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2023-01-06 22:33:37 +09:00
Manuel Arguelles 492e196e8a drivers: gpio: rename S32 to NXP S32
Following updates previously done for other drivers, rename all
occurrences of S32 to NXP S32 to avoid ambiguity.

Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
2023-01-04 16:51:38 +01:00
Sylvio Alves cff71c8d2b driver: systimer: increase esp32c3 tick resolution
hal_espressif systimer HAL calls are based on 1MHz reference.
This changes systimer driver to allow max clocking reference of 16MHz
and increases soc tick resolution by reducing min delay interval.

This also sets all ESP32-C3 socs to 16MHz hardware cycles reference.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2023-01-04 14:24:25 +01:00
Felipe Neves 745ace8d56 west: update manifest to the new zscilib revision.
Signed-off-by: Felipe Neves <felipe.neves@linaro.org>

west: format manifest to the correct notation.

Co-authored-by: Kevin Townsend <kevin@ktownsend.com>
2023-01-04 10:36:22 +01:00
Daniel DeGrasse a5994dbd1a drivers: memc: don't relocate MEMC functions unless CONFIG_FLASH=y
Only relocate memc driver when CONFIG_FLASH=y.
CONFIG_FLASH_MCUX_FLEXSPI_XIP previously was dependent on
CONFIG_FLASH, but the scope of this Kconfig has changed.

Due to this, the memc driver now must have two checks, as it should not
relocated when the driver is being used for a memory controller that does
not expose the flash driver interface.

Since the NXP HAL also relocates the underlying FlexSPI driver
using a similar check, it is updated in this commit as well.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2023-01-03 12:20:39 -06:00
Piotr Jasiński ceb7ca7e80 modules: build segger debugmon code with config
Updated segger module CMake to build code added by
https://github.com/zephyrproject-rtos/segger/pull/14 when relevant
config is provided.

Signed-off-by: Piotr Jasiński <piotr.jasinski@nordicsemi.no>
2022-12-28 12:00:46 +01:00
HaiLong Yang 213ec2e8dd manifest: upgrade hal_gigadevice
Upgrade hal_gigadevice to add gd32l23x hal.

Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
2022-12-28 10:37:52 +01:00
Quang Bui Trong 17d86aed80 drivers: watchdog: add support for NXP S32 S32ZE
Add driver shim for the NXP S32 SWT module.

Signed-off-by: Quang Bui Trong <quang.buitrong@nxp.com>
2022-12-27 10:36:42 +01:00
Sylvio Alves 8a52f9a835 hal_espressif: remove base64 redefinition
WPA supplicant includes custom base64.c file with no need.

Fixes #53129

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-12-22 10:59:48 +01:00
Carles Cufi c22df526e0 manifest: hal_nxp: Replace PR with SHA
The previous PR had been merged mistakenly, and it contained a reference
to a PR. Point to a SHA instead now that
https://github.com/zephyrproject-rtos/hal_nxp/pull/213 has been merged.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2022-12-21 21:34:07 +01:00
Paweł Czarnecki 1d5a387637 west.yml: hal_silabs: update hal version
This bumps the hal_silabs in order to add initial support for
EFR32BG22 SoCs

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
2022-12-20 22:50:19 +01:00