Commit graph

605 commits

Author SHA1 Message Date
Sebastian Bøe
9b234404a5 manifest: Update TF-M repos from 1.4.1 to 1.5.0
Update all three TF-M repos from 1.4.1 to 1.5.0.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2022-01-04 12:33:23 +01:00
Aleksandr Khromykh
241b477f93 test: bsim: set bsim hw head on fixed version
Set bsim hw repo head on the version with fixed warnings

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2022-01-03 20:35:20 +01:00
Andrzej Głąbek
f0ef6c6fea manifest: Update hal_nordic revision to fix nrfx_pwm driver
Update the hal_nordic module revision to fix a copy-paste bug in
the nrfx_pwm driver that prevents PWM pins from being configured.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2021-12-23 11:21:13 +01:00
Andries Kruithof
fca65843b9 Bluetooth: controller: inclusive naming for EDTT
Update the testnames according to the Bluetooth 5.3 specification
for inclusive naming

Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
2021-12-22 17:49:36 +01:00
Andrzej Puzdrowski
7c42e8a83c manifest: mcuboot update
Synch up to upstream:
1eedec3e79

- fixed the build issue caused by removal of CONFIG_SYSTEM_CLOCK_DISABLE
property (within drivers: timer: implementation cleanups #37435)
- always call sys_clock_disable() in main since the empty
sys_clock_disable() callback is provided if the platform doesn't
support system clock disable capability.
- bootutil: Close flash_area after failure to read swap status information
- fixed status offset calculation in case of scratch area
- fixed include path for reboot.h header.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-12-21 17:12:15 +01:00
Nikodem Kastelik
a6b3e7d2bb modules: hal_nordic: Update nrfx to version 2.7.0
Update the hal_nordic module revision, to switch to nrfx v2.7.0.

nrfx 2.7.0 includes the option to skip GPIO and PSEL register
configuration which is needed for aligning shims with pinctrl.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2021-12-17 13:04:35 +01:00
Pooja Ganesh
150b82ff23 littlefs : Upgrade west to v2.4.1
Upgrade littlefs to v2.4.1 in west

Signed-off-by: Pooja Ganesh <poojamg@amperecomputing.com>
2021-12-16 15:27:26 +01:00
HaiLong Yang
2ff0db2b6b manifest: update hal_gigadevice
Upgrade to gd32f405xx pinconfigs fix revision.

Signed-off-by: HaiLong Yang <cameledyang@pm.me>
2021-12-16 10:13:48 +01:00
Alex Sergeev
4c8bdd8992 west: Update hal_stm32 to 5ca535df5874d1f9ab931265a2b1f691b76df9ce
PR hal_stm32 PR #116 avoids ethenet descriptor leak with enabled
timestamping.

Signed-off-by: Alex Sergeev <asergeev@carbonrobotics.com>
2021-12-13 22:19:25 -05:00
Andrzej Puzdrowski
80b0f1943b manifest: update MCUboot
Mcuboot was synchronized with its upstream project to:
05143ce236

- Fixed serial recovery skipping on nrf5340
- Fixed issue which caused that progressive's erase feature
was off although was selected by Kconfig (introduced by #42c985cead)
- Added check of reset address in incoming image validation phase,
see CONFIG_MCUBOOT_VERIFY_IMG_ADDRESS
- Allow image header bigger than 1 KB for encrypted images
- Fixed build with image encryption using RSA
(issue introduced by migration to mbedTLS 3.0.0)
- stm32: watchdog support
- many documentation improvements

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-12-13 20:33:31 -05:00
HaiLong Yang
ea15b92a45 manifest: update hal_gigadevice
Update the hal_gigadevice revirsion which support gd32f3x0 HAL.

Signed-off-by: HaiLong Yang <cameledyang@pm.me>
2021-12-13 20:27:30 -05:00
Lukasz Maciejonczyk
02c8f35de4 manifest: update openthread
update openthread

Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
2021-12-09 11:04:49 -06:00
Sebastian Bøe
8270a8fcab manifest: Patch mbedtls
Include permanent patch needed by TF-M.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2021-12-09 11:01:39 -06:00
Mahesh Mahadevan
9ba8fcc216 west.yml: Update NXP HAL to add mcux-sdk
Use the mcux-sdk github repo to get SDK drivers

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2021-12-09 09:18:10 -06:00
Sylvio Alves
f00a0a9e06 drivers: pinmux: esp32: use rtcio to control pull up/down
Set pinmux driver to use RTCIO interface for to handle
dedicated IOs pull-up/down configuration.
Without this, some GPIOS won't have pull-up enabled
properly.

Also, current implementation automatically disables
output pin when input pin is set. It also performs the
oppositte. This PR changes it only to enable what is
requested, either input or output.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-12-08 17:19:21 -05:00
Pieter De Gendt
4d161a3b23 drivers: counter: NXP SNVS rtc: Add support for NXP imx SNVS RTC
Adds a driver using the SNVS high power and optionally low power
RTC instances. A device specific function `mcux_snvs_rtc_set` is
provided to update the current counter value.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-12-07 09:45:43 -06:00
Krzysztof Chruscinski
7e0f1d08e4 modules: hal_nordic: Update nrfx to version 2.6.0
Update the hal_nordic module revision, to switch to nrfx v2.6.0.

nrfx 2.6.0 includes extended API in nrfx_gpiote which can be
used by the zephyr shim.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-12-02 09:55:48 +01:00
Erwan Gouriou
ed47bc8ba3 west.yml: hal_stm32: Use new stm32f1 -pinctrl.dtsi
Following the change in remap information encoding/decoding in
stm32 pinmux driver, use new -pinctrl.dtsi which use the matching
remap information encoding.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-11-23 10:37:01 -05:00
Øyvind Rønningstad
449cb60815 samples: Add TF-M sample for custom secure partitions
The sample implements a dummy ARoT (Application Root of Trust) partition
in TF-M and calls it from the app.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2021-11-22 22:19:41 -05:00
Glauber Maroto Ferreira
c5857dc0cd soc: esp32s2: SPIRAM: remove unused configs
and updates hal_espressif's revision.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-11-20 11:57:38 -05:00
Gerson Fernando Budke
7fba91f383 modules: hal_gigadevice: Set directories to lowercase
This rework module hal_gigadevice to be compliance with rule
that requires firmware libraries directories names be lowercase.
This rule was created at hal_gigadevice/README and it is not
a Zephyr general rule. This only affect how hal_gigadevice is
used.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-11-20 11:54:08 -05:00
Gerard Marull-Paretas
aead2bc942 manifest: update hal_gigadevice
Update hal_gigadevice, required to make F4XX HAL available.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2021-11-18 17:42:57 +01:00
Carlo Caione
80be68a50e west.yml: Bump open-amp to v2021.10.0
Change the manifest to pickup the new versions for libmetal and
open-amp.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-11-17 10:25:07 -06:00
Dominik Ermel
1593357dde manifest: Remove mcumgr from manifest
The commit removes mcumgr library, as module, from west.yml
manifest, as the mcumgr library source is now kept within Zephyr
source code tree.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2021-11-16 10:45:57 +01:00
Eduardo Montoya
68d34e4adb openthread: upmerge up to commit c02d1110
Regular upmerge.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2021-11-15 14:45:08 -05:00
Christopher Friedt
b00619118d west.yml: sof: update audio/sof for long atomic_t
The audio/sof Zephyr module needed print specifiers updated
for the transition from `int` to `long` for `atomic_t`
which supports 32-bit atomics and also 64-bit atomics.

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-11-15 09:59:01 -05:00
Felipe Neves
b50cb2a537 drivers: counter: esp32: add support for esp32c3
to the unified esp32 counter driver.

Signed-off-by: Felipe Neves <felipe.neves@espressif.com>
2021-11-11 19:14:15 -05:00
Devaraj Ranganna
c3e5899658 samples: psa_crypto: Create Certificate Signing Request
This is a first step towards demonstrating provisioning of X.509
certificates. The device certificate signing request is created using
Mbed TLS X.509 APIs. The elliptic curve key `SECP256R1` used to sign the
CSR is generated inside TF-M and Mbed TLS is configured to use TF-M for
crypto services. This approach will ensure that private key never
leaves secure side.

The CSR is encoded in JSON and is printed on the console.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@linaro.org>
2021-11-09 19:57:28 -05:00
Andrzej Puzdrowski
addfef959a manifest: mcuboot upgrade
MCUboot was synchronized with the upstream SHA:
a9c6d8495e4dbe7d02edf14bb8a9fa1d4e955c0

This version is post MCUboot v1.8.0 version.
It contain a few small fixes more than mentioned release.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-11-09 19:53:59 -05:00
Kevin Townsend
a8c9cf0b0a west.yml: Add zscilib reference
Adds a reference to zscilib, now that it's available under
zephyrproject-rtos/zscilib.

Signed-off-by: Kevin Townsend <kevin@ktownsend.com>
2021-11-08 19:11:31 -05:00
Johann Fischer
b52c60188d manifest: update hal_nordic revision
Updates hal_nordic revision to fix spurious USBPWRRDY events.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2021-11-04 19:24:10 -04:00
Sylvio Alves
27e44acda1 clock: esp32: unify clock control for all espressif socs
This joins all clock control handling to same source
by using hal clock functions. It also brings ESP32C3
clock support.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-11-04 15:21:26 -04:00
Sylvio Alves
d5aa5c2a77 drivers: esp32: uart: use hal functions
In order to have Espressif SoCs working with
the same uart drivers, all low level functions
are now replaced to hal_espressif HAL calls.

This also changes pinmux, gpio and uart
init order to meet its dependencies.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-11-03 16:47:32 -04:00
Daniel DeGrasse
c0cee4fb5c boards: Add support for NXP RT1160 EVK
Add baseline support for mimxrt1160_evk Cortex M4 and M7 cores
UART shell, synchronization, and hello world have all been verified to
build and run correctly.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2021-11-03 16:18:25 -04:00
Felipe Neves
0a0fed7879 drivers: spi: esp32: add esp32c3 support
to the esp32 spi unified driver

Signed-off-by: Felipe Neves <felipe.neves@espressif.com>
2021-11-01 21:47:26 -04:00
Joakim Andersson
dda3a5ad0d modules: tfm: Split trusted-firmware-m repository
Split the zephyr project maintained repository trusted-firmware-m into
forks of the individual upstream repositories.

https://git.trustedfirmware.org/TF-M/trusted-firmware-m.git
Upstream: TF-Mv1.4.1
Additions:
zephyr: module: Add zephyr module file
trusted-firmware-m: platform: lpcxpresso55s69: Update SDK

https://git.trustedfirmware.org/TF-M/tf-m-tests.git
Upstream: 51ff2bdfae043f6dd0813b000d928c4bda172660
Additions:
zephyr: module: Add module file for tf-m-tests

https://github.com/ARM-software/psa-arch-tests.git
Upstream: 60faad2ead1b967ec8e73accd793d3ed0e5c56bd
Additions:
zephyr: module: Add module file for psa-arch-tests
psa-arch-tests: Allow overriding of toolchain file

The organization of folders remain the same with the following
exceptions:
Moved:
root folder moved from modules/tee/tfm to modules/tee/tf-m to avoid
problems with west update.
zephyr/module.yml to trusted-firmware-m/zephyr/module.yml and
${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR} points to what was previously
${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/trusted-firmware-m.
Added:
psa-arch-tests/zephyr/module.yml and ${ZEPHYR_PSA_ARCH_TESTS_MODULE_DIR}
tf-m-tests/zephyr/module/ and ${ZEPHYR_TF_M_TESTS_MODULE_DIR}
Removed:
init-git.sh
README.rst

Fixes: #39353

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2021-11-01 11:20:06 -04:00
Henrik Brix Andersen
b7b538a6b3 manifest: Update CANopenNode to include v1.3 heartbeat consumer fixes
Update the CANopenNode library to latest upstream branch v1.3-master
to bring in hearbeat consumer fixes.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2021-11-01 07:57:35 -05:00
Glauber Maroto Ferreira
1af506dd32 soc: riscv: esp32c3: drivers: flash: add support
to host SPI Flash driver.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-10-28 06:47:21 -04:00
Gerson Fernando Budke
6d8c03422c modules: Add gigadevice hal module
This add access to modules/hal/gigadevice with three firmware
libraries by updating west.yaml file:

 - GD32E10X ARM (Cortex-M4F)
 - GD32F403 ARM (Cortex-M4F)
 - GD32VF103 RISC-V (Nucleisys Bumblebee core)

It introduce module/hal_gigadevice, which contains all Cmake
and Kconfig rules to build GigaDevice SoCs into zephyr main
tree.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-10-28 11:17:25 +02:00
Damian Krolik
e8c7e026e7 openthread: upmerge up to commit afcfb7ac
Regular upmerge on October 25th 2021.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
2021-10-26 19:32:27 -04:00
Yuval Peress
f6f24a2a79 modules: Add fff mocking framework
Issue #38643

Introduce a more powerful and well established mocking framework
into Zephyr. It also allows running the actual FFF tests using the
zephyr SDK and ztest framework to ensure compatibility.

As per TSC meeting, the fff.h header was directly added to
subsys/testsuite/include/. As per the guidelines, the file is exactly
the same as it is in FFF's library, but re-styled with clang-format.

The west.yml entry was added using the "ci" group and filtered by
default. (note that the tests will break until the CI actually
specifies that the group is needed).

Signed-off-by: Yuval Peress <peress@google.com>
2021-10-22 09:43:13 -04:00
Sylvio Alves
944b6d0486 soc: esp32: use same rom func prefix
This sets esp32 to use common rom functions
prefix among SoCs.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-10-21 10:55:45 -04:00
Iuliana Prodan
c0fcd35531 manifest: update hal_xtensa
Update hal_xtensa for i.MX8MP SoC overlay support.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2021-10-20 19:08:50 -04:00
Dominik Ermel
74ad99198d west.yml: Update mcumgr revision
Commits affecting Zephyr that are included with the new revision:
    12b496e Add IMG_MGMT_FRUGAL_LIST configuration option;
    18c628d cborattr: fixes missing error handling;
    2e385b6 zephyr: Fix usage of zephyr_img_mgmt_flash_area_id.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2021-10-19 11:45:32 +02:00
David Brown
93f7a48e0d manifest: Use Mbed TLS 3.0 based on upstream
Use a new branch of Mbed TLS 3.0 based on the upstream history rather
than our local version with a different directory layout.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-10-18 09:51:06 -05:00
Daniel Baluta
193ffabd0b west.yml: Update SOF revision
Update SOF module revision to latest main to fix
SOF support for i.MX8MP with Zephyr.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2021-10-17 11:50:16 -04:00
Pieter De Gendt
30cd046760 manifest: hal_nxp: Port lpi2c fix from mcux sdk
Update west manifest to port an upstream lpi2c fix to zephyr.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-10-14 16:31:41 -04:00
Sylvio Alves
9e97b3b0f0 west.yml: wpa_supplicant update due to mbedtls 3.0.0
Espressif wpa_supplicant depends on mbedtls. Due to latest
update to 3.0.0, a few updates were needed to be compliant
with api changes.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-10-14 01:51:28 -04:00
Glauber Maroto Ferreira
7468121f19 esp32s2: drivers: spi: add driver support
and hooks to spi_loopback test.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-10-10 14:52:41 -04:00
David Brown
c209dbfafd manifest: Update dependencies for Mbed TLS 3.0
This updates Mbed TLS to 3.0 as well as trusted-firmware-m and mcuboot
to versions that also support this version.

Signed-off-by: David Brown <david.brown@linaro.org>
2021-10-07 14:02:40 -05:00