Commit Graph

469 Commits

Author SHA1 Message Date
Sylvio Alves
95b916d104 drivers: wifi: esp32: fix reconnect issue
Device won't reconnect automatically even if
AP station is available. This fix adds the carrier event, indicating
that network is present again enabling DHCP bound event.
Also, internal wifi event callback was added into wifi
driver to enable proper event handling.

Update west.yml to bring exposed wifi event callback.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>

Fixes #33843
2021-05-27 08:23:06 -05:00
Krzysztof Chruscinski
9b69036500 manifest: update segger
Update segger with RTT version that support no multithreading.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-05-27 13:33:02 +02:00
Ioannis Glaropoulos
90f4b5e745 manifest: update TF-M with latest upstream
The TF-M update brings in the latest PSA crypto headers,
after TF-M switched formally to MBedTLS 2.26.0. It also
brings in some important fixes for cache enabling in nRF
platforms.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-05-26 18:58:15 -05:00
Anas Nashif
108129cf7d tracing: fix conflict with RTT locking
Make custom RTT locking configurable and select it where it is needed.
When using RTT for tracing we want to use the default locking.

Update both segger and tracerecorder modules to support that.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-05-25 07:36:38 -05:00
Robert Lubos
33043dca93 manifest: Update OpenThread revision
Update OpenThread revision, to introduce fixes for the OpenThread
configuration cache variables behaviour, making them up-to-date
with the actual Kconfig configuration.

Fixes #34233

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2021-05-25 07:34:42 -05:00
Anas Nashif
3b19598dae sof: do not get mainmenu from SOF project
Do not get the mainmenu title from SOF by splitting Kconfig the same way
we do it in Zephyr.

Fixes #35553

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-05-24 13:06:59 -05:00
Andrzej Puzdrowski
772b790e4a manifest: update MCUboot
* boot_serial: allow to build when CONFIG_MULTITHREADING=n
* allow to not provide scratch area definition if scratch
algorithm is not used.

fixes #35048

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-05-19 10:50:06 +02:00
Sylvio Alves
4996604d45 west.yml: esp32: bugfixes and improvements
Fix SPIRAM implementation on HAL side

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-05-13 22:03:39 -04:00
Ioannis Glaropoulos
410b895411 mbedtls: minor update, to fix the README file
Minor update to the mbedtls module repo, to
get the fix for the README file.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-05-11 12:58:49 -05:00
Ioannis Glaropoulos
4b4dd22a41 manifest: mbedtls: fix west pointer to module SHA
Fix manifest pointer for mbedtls to the main branch tip,
instead of the PR head.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-05-09 15:24:23 -05:00
Ioannis Glaropoulos
f9b2e986ff manifest: update mbedtls cleaning up the zephyr specific files
Update the mbedtls module pointer, effectively
cleaning up the zephyr files from the module
repository and moving them to zephyr module
directory.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-05-09 09:59:22 -05:00
Ioannis Glaropoulos
505b03018c Revert "mbedtls: kconfig: MBEDTLS_USER_CONFIG_FILE default without a prompt"
This reverts commit 47fb09210b.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-05-09 09:59:22 -05:00
Anas Nashif
0e3771bc82 modules: add segger module locally, and update to 3.30
Move Zephyr related files into modules/ and update to 3.30

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-05-08 17:06:24 -04:00
Torsten Rasmussen
47fb09210b mbedtls: kconfig: MBEDTLS_USER_CONFIG_FILE default without a prompt
This commit removes the prompt from MBEDTLS_USER_CONFIG_FILE unless
MBEDTLS_USER_CONFIG_ENABLE is true.

This fixes issues where other parts would specify a default value for
MBEDTLS_USER_CONFIG_FILE that would become stuck and not updated if
user re-configured the system using menuconfig.

Disabling the prompt ensures that only when a user specifically enables
MBEDTLS_USER_CONFIG_ENABLE and specify a custom user value in
MBEDTLS_USER_CONFIG_FILE the setting will be fixed.

Also updates the manifest with related change in the mbedtls project.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-05-08 07:11:00 +02:00
Anas Nashif
1af037f477 modules: enable percepio tracerecorder for tracing
Add support for percepio tracealyzer.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-05-07 22:10:21 -04:00
Anas Nashif
168e9ed6c2 sof: update SOF tree
Update tree to and address work queue deprecation.

Fixes #34948
Fixes #34880

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-05-07 16:51:25 -05:00
Andrzej Puzdrowski
41dd425196 manifest: update MCUboot
- bootutil_public: allow to confirm padded image without
  copy-done flag
- Configure mimxrt106x_evk boards

fixes #34683

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-05-07 11:10:01 -05:00
Aurelien Jarno
0ede57ee52 modules: stm32: Update HAL to fix SPI low power consumption
Update the STM32 HAL to fix the SPI pin configuration in order to reduce
power consumption in STOP mode.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2021-05-07 13:10:23 +02:00
Ioannis Glaropoulos
a4a1123e80 manifest: update trusted-firmware-m to latest upstream
Synchronize TF-M to the latest ustream main branch.
This brings TF-M support for BL5340 Dev Kit in Zephyr.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-05-06 22:17:35 +02:00
Andrzej Głąbek
3d609d7e5a modules: hal_nordic: Update nrfx to version 2.5.0
Update the hal_nordic module revision, to switch to nrfx v2.5.0.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2021-05-06 17:46:14 +02:00
Jedrzej Ciupis
0923e32fe7 drivers: ieee802154: Udpate nRF IEEE 802.15.4 radio driver
This commit updates the revision of hal_nordic component
and introduces necessary changes to the IEEE 802.15.4 driver
to match latest nRF IEEE 802.15.4 radio driver API.

Signed-off-by: Jedrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
2021-05-06 08:46:47 -05:00
Mahesh Mahadevan
af10c06885 west.yml: NXP changes to relocate RT600 power driver to SRAM
This change allows updating the flash clock settings from the
power driver.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2021-05-05 22:28:44 -05:00
Gerson Fernando Budke
a0466a6757 west.yml: Sync hal_cypress
Sync hal_cypress to allow use of SCB[spi] and SCB[i2c] APIs.

Signed-off-by: Gerson Fernando Budke <gerson.budke@atl-electronics.com>
2021-05-05 16:01:28 +02:00
Arnaud Pouliquen
86dcb644e1 west.yml: Update openamp for v2021.04 release
Update to a newer openamp v2021.04 release

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2021-05-05 12:26:33 +02:00
Arnaud Pouliquen
28c7f46564 west.yml: Update libmetal for v2021.04 release
Update to a newer libmetal v2021.04 release

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
2021-05-05 12:26:33 +02:00
Dominik Ermel
fb1ae4d155 west.yml: Update mcumgr revision
The mcumgr version has been updated to 0.2.0

Commits affecting Zephyr that are included with the new revision:
    62009e0 img_mgmt_state_set_pending: corrected error handling
	    (bug fix)

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2021-05-04 16:51:28 +02:00
Gerard Marull-Paretas
df6844a6ef manifest: update mcuboot
Update mcuboot to latest revision.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2021-05-03 11:55:43 +02:00
Sylvio Alves
180e61a32e west.yml: esp32: update hal to support bluetooth
Bring hal updates to add bluetooth support

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-04-30 16:51:30 -04:00
Robert Lubos
10a2687afe manifest: Update OpenThread revision
Update OpenThread revision with the latest version from the upmerge.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2021-04-30 12:55:02 -05:00
Lauren Murphy
a010d9152d modules: add tensorflow
Adds Kconfig option enabling TensorFlow Lite Micro support.
Updates manifest with TensorFlow module.

Signed-off-by: Lauren Murphy <lauren.murphy@intel.com>
2021-04-29 08:35:57 -04:00
Jose Alberto Meza
5e1502e816 west: Microchip HAL update
Add GIRQ source definitions
ECIA register structure update
Add missing ADC register field defines
Fix GPIO alternate function field mask
Add Analog comparator register defines

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2021-04-27 21:37:51 -04:00
Øyvind Rønningstad
b220374633 CMakeLists.txt: Add support for running PSA tests
Add necessary libs and files to the build
Add support for new kconfigs
Add Zephyr-only implementations of tfm_log and tfm_ns_interface.
Add zephyr_tfm_psa_test.c for easily running PSA tests.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2021-04-20 16:13:40 +02:00
Sylvio Alves
f59cba3315 west.yml: update hal version to remove libhal
updated hal to remove pre-built libhal
Moved windowspill to IRAM

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-04-19 13:04:51 -04:00
Krzysztof Chruscinski
be80109719 manifest: Temporary point to sof repo with MAX workaround
Point to commit which contains temporary fix for sof redefining
MAX macro.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-04-19 10:59:23 -04:00
Pieter De Gendt
add98e766a drivers: flash: Support i.MX FlexSPI NOR driver with XIP
This change allows writing to the flash while running in XIP mode,
and enables mcuboot or NVS settings to be used on i.MX RT socs.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-04-15 16:26:39 -05:00
Andrzej Puzdrowski
13883c76f3 manifest: mcuboot update
- added an option to use GPIO to enable USB DFU.

Patch required as wait_for_usb_dfu() function started to
take time argument since was #30015 merged.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2021-04-15 12:25:15 +02:00
Kumar Gala
e7487e9657 west.yml: update NXP HAL for MKW40Z pin dtsi data
Update NXP HAL repo to pull in MKW40Z dtsi pin data file.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-14 09:06:36 -05:00
Ioannis Glaropoulos
bf41373bf1 trusted-firmware-m: update to upstream release v.1.3.0
Update TF-M module to the upstream release v1.3.0.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2021-04-13 13:01:21 -04:00
Jukka Rissanen
aaaef987a7 net: doc: Add info about net-capture.py script
Added net-capture.py script to net-tools project. The script
can be used to view and save the captured network traffic to
pcap file.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2021-04-12 22:15:02 -04:00
Francois Ramu
3d329870c1 west.yml: Update hal_stm32 with recent cube packages
STM32Cube updates:

    stm32cube: update stm32l5 to version V1.4.0
    stm32cube: update stm32l4 to version V1.17.0
    stm32cube: update stm32g4 to version V1.4.0
    stm32cube: update stm32f7 to version V1.16.1
    stm32cube: update stm32f4 to version V1.26.0
    stm32cube: update stm32g0 to version V1.4.1
    stm32cube: update stm32h7 to version V1.9.1
    stm32cube: update stm32mp1 to version V1.4.0

    update stm32cube/common_ll

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2021-04-12 11:46:12 -04:00
Kumar Gala
e5dc03fce3 west.yml: update NXP HAL for pin dtsi data
Update NXP HAL repo to pull in dtsi pin data files.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2021-04-08 17:08:33 -05:00
Pieter De Gendt
b6979736ca modules: nanopb: introduce new module
Add the nanopb library and generator tools as a module.
Nanopb is a small code-size Protocol Buffers implementation in ansi C.
It is especially suitable for use in microcontrollers,
but fits any memory restricted system.

Nanopb home: https://jpa.kapsi.fi/nanopb/

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-04-08 14:57:55 +02:00
Pieter De Gendt
acca3c126c mcux flexspi: move bus driver to drivers/memc
Initially the flexspi device only supported a flash driver for
external NOR flash. As the controller supports HyperBus devices,
which can be either volatile or non-volatile, the driver iss moved
to drivers/memc.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2021-04-02 10:36:22 -05:00
Jukka Rissanen
490911167d modules: net-tools: Use updated tunneling conf file
Use the fixed tunneling zeth-tunnel.conf file from net-tools
project.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2021-04-02 07:24:06 -04:00
Rafał Kuźnia
859952f590 modules: hal_nordic: add new nrf-802154 glue cmake
Update revision of hal_nordic which introduces new radio driver
integration scheme.

The glue cmake has been updated to use the new integration scheme
for the nrf-802154 component.

Added config option to exclude radio driver in hal_nordic from the
build process. This allows the radio driver to be supplied from
other sources.

Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-04-01 14:08:08 +02:00
Jukka Rissanen
36be096c43 net: virtual: Add virtual network interface support
This can be used to implement tunneling, VPN etc. The virtual
interfaces can be chained together to support multilayer
network interfaces.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2021-03-29 07:40:24 -04:00
Øyvind Rønningstad
847c31352b west.yml: Upmerge TFM to tag TF-Mv1.3.0-RC1
Upmerge tf-m module to upstream tag
TFMv1.3.0-RC1.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2021-03-26 09:32:56 +01:00
Glauber Maroto Ferreira
4634400e36 west.yml: update to support spi_flash operations
Add support to spi_flash operations

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2021-03-23 07:53:19 -05:00
Sylvio Alves
e21c1b9e51 west: esp32: update hal library
Removed wifi legacy calls

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2021-03-19 17:27:40 +02:00
Anas Nashif
9b84921340 hal_ti: update to use k_ms_to_ticks_ceil32
z_ms_to_ticks is deprecated, so use k_ms_to_ticks_ceil32.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2021-03-19 11:22:17 -04:00