Commit graph

586 commits

Author SHA1 Message Date
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
Flavio Ceolin 4e6cfb67f9 modules: mbedTLS: Bump mbedTLS to 3.0
Bump mbedTLS version.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2021-10-07 14:02:40 -05:00
Martí Bolívar 51f8588fb8 west.yml: allow users to easily add more modules
Import any manifest files in a new 'submanifests' directory into
west.yml.

This lets users define custom zephyr modules or easily override
built-in modules by dropping their own manifest files into
submanifests/some-user-file.yaml.

Provide an example and a README with links to the relevant
documentation in 'submanifests' to get users started.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-10-07 13:45:42 +02:00
Dominik Ermel af696293dc west.yml: Update mcumgr revision
Commits affecting Zephyr that are included with the new revision:
    47fdde0 Fix missing else in configuration;
    30cf9fe zephyr: Fix BUILD_ASSERT failing build with correct number
            of images.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-10-06 19:44:09 -04:00
Felipe Neves ed55ee95e9 boards: riscv: esp32c3: added button support
in samples for esp32c3 devkitm_board using GPIO9

Signed-off-by: Felipe Neves <felipe.neves@espressif.com>
2021-10-05 19:24:38 -04:00
Dominik Ermel 7183fd7026 west.yml: Update mcumgr revision
Commits affecting Zephyr that are included with the new revision:
    edb485c samples/smp_svr/zephyr: Increase main stack size;
    c0cb989 zephyr: Do not use CONFIG_IMG_MGMT_UPDATABLE_IMAGE_NUMBER
            directly;
    10cda4e zephyr: Fix assert when image number out of range;
    347a418 zephyr: Fix erase command failing for multi-image
            configuration;
    e06e772 zephyr: Fix possible memory leak in
            img_mgmt_impl_write_image_data;
    345caab img_mgmt: fix callback parameter values.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2021-10-05 19:20:51 -04:00
Sebastian Bøe 3884931e16 manifest: OpenThread update
Update OpenThread to the latest changes.

OpenThread is now compatible with both mbedtls 2 and 3.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2021-10-01 11:37:38 +02:00
Felipe Neves 6020afe46a soc: riscv: esp32c3: update west version
to enable wifi subsystem for esp32c3, also
update the linker with proper wlog sections.

Signed-off-by: Felipe Neves <felipe.neves@espressif.com>
2021-09-30 06:39:55 -04:00
Vinayak Kariappa Chettimada b3f31f567b manifest: EDTT: Update revision
Update revision of EDTT tools.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2021-09-30 11:47:57 +02:00
Sylvio Alves e47eeec810 toolchain: esp32: define target toolchain
In order to retrieve TOOLCHAIN_NAME from Kconfig,
generic.cmake points to any toolchain as a
boilerplate implementation. Now, target.cmake file handles
proper toolchain selection.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-09-28 20:06:25 -04:00
Glauber Maroto Ferreira b7c987fe0e west: update hal revision
to latest version that supports clock_control
driver for esp32s2 SoC.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-09-27 22:02:08 -04:00
Anas Nashif 0f0cb1a5aa tracing: percepio: update to v4.5.1
A bug fix release with many zephyr with the most significant being a
workaround for the RTT issue we had in the previous release, fixing
the locking problem which could
result in garbled data when using high frequency processors.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-09-17 20:21:16 -04:00
Andrzej Puzdrowski 031ed1859b manifest: mcuboot update
MCUboot fork was updated in order to bring bugfixes from its
upstream:
- introduce MCUBOOT_CPU_IDLE() for support low power single thread
(fixes single thread power consumption)
- Allow not working secondary image device and boot form primary
device if image available
- fixes memory alignment of the RAM buffer that is used to temporarily
store data during swap.
- update devicetree py package lib files include path in assembly
- serial recovery: cbor_encoder: fix str encoding macros
- zephyr: Kconfig: fix board references
- do not set defaults for LOG_IMMEDIATE Kconfig
- boot: Do not use `irq_lock()` if using arm cleanup
- Kconfig: fix deadlock on cryptolib selectors

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-09-16 17:39:36 -04:00
Henrik Brix Andersen 79952ad774 manifest: update hal_nxp
Update the NXP HAL to bring in fix for the FlexCAN driver on the NXP
Kinetis MKE1xF.

Fixes: #38442

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2021-09-14 15:47:18 -05:00
Erwan Gouriou 3bd1233391 west.yml: hal_stm32: Fix stm32u5 hal license
Fix missing license in stm32u5 hal files.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-09-12 08:57:27 -04:00
Glauber Maroto Ferreira 9ebca5b439 west: update hal revision
to latest version.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-09-06 10:02:57 -04:00
Erwan Gouriou 4ec03e0f2b west.yml: hal_stm32: Fix unused var in stm32f4 hal
Update west manifest to enjoy the fix.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-09-02 07:27:52 -05:00
Stephanos Ioannidis a22cd59b9e west.yml: Update to CMSIS-DSP 1.9.0 (CMSIS 5.8.0)
Update the version of CMSIS-DSP to 1.9.0 which is part of the CMSIS
5.8.0 release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2021-08-30 18:17:47 +02:00
Przemyslaw Bida f77c7dc2c8 manifest: Regular upmerge to bring the openthread CSL fixes.
Periodic upmerge of OpenThread.

Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
2021-08-30 13:32:53 +02:00
Iuliana Prodan fcfe597e5d manifest: update sof module
Update SOF module to latest main to fix
SOF with Zephyr on i.MX.

Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
2021-08-28 23:27:02 -04:00