Commit Graph

98 Commits

Author SHA1 Message Date
Ulf Magnusson
429dde19c6 west.yml: Update ci-tools to whitelist STACK_SIZE
Get this commit in, needed to pass CI with the doc changes in this PR:

    check_compliance.py: Add STACK_SIZE to Kconfig symbol whitelist

    Needed for https://github.com/zephyrproject-rtos/zephyr/pull/20722.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-18 11:53:36 +01:00
Torsten Rasmussen
5a703c8d58 cmake: use zephyr_library_app_memory for mem partition placement
This commit removes the hard coded mbed TLS library name
`lib..__modules__crypto__mbedtls.a` in top-level CMakeLists.txt file
and instead uses zephyr_library_app_memory function.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2019-12-17 13:05:36 -05:00
Robert Lubos
31ee76d248 net: openthread: Move OT CMake configuration into OT repo
Follwing the convention in Zephyr, all CMake configuration related to
a module, should be placed within the module repostiory.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2019-12-17 18:08:09 +02:00
Andrzej Puzdrowski
ce753ea491 manifest: add reference to mcuboot project
MCUBoot is the bootloader on which zephyr DFU solutions
base. It is worth to reference certain compatible version
of this external project. So fare it was expected that
mcuboot works with zephyr in master to master relation. This patch
starts to give the user real information about compatible version.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2019-12-16 20:00:32 +01:00
Robert Lubos
649ec80c9e net: openthread: Update OpenThread version and better CMake integration
OpenThread recently introduced CMake build system into its repostiory
so we no longer need autotools to build OpenThread libraries and can
integrate them natively.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2019-12-16 11:08:09 +02:00
Maureen Helm
72e0080e56 drivers: serial: Rename lpc usart shim driver
Renames the lpc usart shim driver to more accurately reflect the
flexcomm hardware IP and to prepare for instantiating it on an SoC
outside the LPC family.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-12-13 18:45:54 +01:00
Alberto Escolar Piedras
dfed64c2a4 nrf52_bsim: Use HW models from new west module
Fetch HW models from a new west module.
And, remove all pre-west glue which was used to:
 * Fetch them in CI
 * Validate their vesion
 * Modify the include path and link to them

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2019-12-11 11:33:02 +01:00
Erwan Gouriou
f5080ce015 modules: stm32 hal: Rename USE_STM32_HAL_CRYPT and _CRYPT_EX
Cf https://github.com/zephyrproject-rtos/hal_stm32/pull/29

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-12-10 12:44:10 -05:00
Kumar Gala
f562478819 west.yml: Update modules for include fixes
Update west.yml to point to newer versions of fatfs, nffs, and mcumgr
to pull in fixes for using proper include files.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-12-10 08:39:37 -05:00
Jan Van Winkel
ef6ac67573 modules: gui: Updated LVGL version to v6.1.1
Updated LVGL module revision to support LVGL v6.1.1

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
2019-12-09 15:07:28 -06:00
Vincent Wan
a39e640dbe west.yml: update hal_ti to include build for TI Power Manager
Updating west.yml to point to the TI HAL repo updated with the Power
Manager.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2019-12-09 09:28:01 -06:00
Ulf Magnusson
13120f7313 west.yml: Update ci-tools to run the (e)dtlib test suites in CI
Get this commit in:

    check_compliance.py: Run the dtlib/edtlib test suites on Python 3.5

    Will work once
    https://github.com/zephyrproject-rtos/zephyr/pull/20597 is in. CI
    uses Python 3.5, so they have been skipped until now.

That PR is in now.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-14 07:56:33 -06:00
Bartosz Sokolski
ecb09931df manifest: update manifest for hal_nordic
Update Zephyr manifest so it picks the tip of hal_nordic.

Signed-off-by: Bartosz Sokolski <bartosz.sokolski@nordicsemi.no>
Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-11-13 10:33:38 -06:00
Alex Porosanu
7dd5149739 ext: hal: openisa: sync with updates for BLE SW LL
There are a couple of commits that are needed for
the BLE SW LL to function properly on the VEGABoard:
- TRNG entropy driver
- GenFSK radio enablement + configuration

As such, make sure that the commit in the manifest
points to the appropriate SHA in the hal/openisa
repo.

Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com>
2019-11-08 15:38:57 +01:00
Andrzej Głąbek
cf92c31e02 modules: hal_nordic: Update nrfx to version 2.0.0
Update the hal_nordic module revision to switch to nrfx 2.0.0.
Add Kconfig options that enable to use the newly introduced nrfx
drivers in Zephyr.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-11-08 14:54:12 +01:00
Maureen Helm
261a1bfa70 soc: nxp_imx: Remove CLOCK_CONTROL_IMX_CCM config
There is no imx ccm shim driver in drivers/clock_control. This config
was only used to conditionally compile nxp hal drivers, even though the
imx6/7 soc init always needs them.

Updates the nxp hal to unconditionally compile the ccm drivers and
removes the unnecessary config symbol.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-11-07 15:55:49 -06:00
Benjamin Valentin
aa45d7ad77 west.yml: update hal_atmel for SAMD5x/SAME5x
Update hal_atmel to include vendor files for SAMD5x/SAME5x.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-11-06 21:18:00 -06:00
Stephanos Ioannidis
afe6dab155 west.yml: Update hal_nxp revision.
Remove unnecessary inclusion of offsets_short.h in the LPC54114
start-up code.

See zephyrproject-rtos/hal_nxp#17.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2019-11-06 16:07:32 -08:00
Ulf Magnusson
917da19eae west.yml: Update ci-tools to run pylint on scripts/sanitycheck
Get this commit in:

    check_compliance.py: Run pylint on scripts/sanitycheck

    https://github.com/zephyrproject-rtos/zephyr/pull/20212 fixes the
    last pylint warnings in the script. Once that one is in, this can be
    merged.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-05 18:57:34 -05:00
Karsten Koenig
ee2dd7322f drivers: spi: rv32m1: Add driver for RV32M1 LPSPI
Add SPI driver and bindings for LPSPI peripheral for the RV32M1 SOC.
Based heavily on the existing mcux LPSPI driver.

Signed-off-by: Karsten Koenig <karsten.koenig.030@gmail.com>
2019-11-04 14:11:18 -06:00
Wentong Wu
dd9480913e logging: add syst format output
Add syst format output support for existing logging system.

Fixes: #19841.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
2019-10-29 10:18:51 +01:00
Robert Lubos
83bb911a21 net: openthread: Update OpenThread version
Use the newest version of the OpenThread project, as updated in
https://github.com/zephyrproject-rtos/openthread/pull/2.

Introduce the following fixes along with the update (they're squashed to
retain bisectability of OT samples):

* Update configs and flags used
	Some OT configs were renamed, some new were introduced that Zephyr port
	needs to set.

* Add entropy platform driver
	OpenThreads `random` platform subsystem was replaced with `entropy`
	subsystem which is supposed to serve as an entropy source for the
	generic OpenThread's random generator.

* Halt OT thread when OT command is processed
	OpenThread can currently be processed from two threads - a
	genuine OpenThread thread and shell thread, which processes CLI
	commands. This could cause trouble, when context was switched
	during OT command processing (i.e. switched to process an incomming OT
	message, while still in unfinished command handler).

	In result, it was not possible to turn the commissioner role on via
	CLI, as the commissioner petition response was handled before the
	Commissioner::Start function finished its execution (if the
	petitioner is also the network leader, all messages are passed
	internally within the stack).

	Fix this by suspending the OT thread for the time of an OT command
	processing.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2019-10-28 13:00:56 +02:00
Sebastian Bøe
0e0f358f21 west: mbedtls: Updated mbedtls revision
Updated mbedtls reference to take in:
  native: debug: Set speed optimization if ASAN is used
  (zephyrproject-rtos/mbedtls#4)

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-10-25 12:38:31 +02:00
Erwan Gouriou
e3b07f3466 west.yml: Update hal_stm32 version
Make of use "make stm32cube a zephyr_library()"


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-10-24 12:47:56 -05:00
Andrzej Głąbek
83708567c9 modules: hal_nordic: Update nrfx to version 1.8.1
Update nrfx to the recently released version. See
https://github.com/NordicSemiconductor/nrfx/blob/v1.8.1/CHANGELOG.md
for a list of changes that this version introduces.

Origin: nrfx
License: BSD 3-Clause
URL: https://github.com/NordicSemiconductor/nrfx/tree/v1.8.1
commit: ecc3616b8ea766ba0c921681258463696ad47930
Purpose: Provide peripheral drivers for Nordic SoCs
Maintained-by: External

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-10-23 11:09:37 +02:00
Dominik Ermel
37ef7655ec west.yml: Update reference to TinyCBOR
Reviewed here: https://github.com/zephyrproject-rtos/tinycbor/pull/8

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2019-10-22 15:55:18 -05:00
Armando Visconti
dc9e297e09 modules/hal_st: Align sensor drivers to stmemsc HAL i/f v1.02
Align all sensor drivers that are using stmemsc (STdC) HAL i/f
to new APIs of stmemsc v1.02.

Requires https://github.com/zephyrproject-rtos/hal_st/pull/3

Signed-off-by: Armando Visconti <armando.visconti@st.com>
2019-10-17 13:07:50 -05:00
Karl Palsson
18d236fc21 west.yml: Update hal_stm32 for L151xB fixes
See also https://github.com/zephyrproject-rtos/hal_stm32/pull/22

Signed-off-by: Karl Palsson <karlp@etactica.com>
2019-10-16 14:42:54 -05:00
Carles Cufi
b595087b33 manifest: Update the revision of tinycbor
Point to the current revision at the tip of the tinycbor repo after
merging https://github.com/zephyrproject-rtos/tinycbor/pull/7.

Fixes #19629.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2019-10-16 13:05:21 +02:00
Richard Osterloh
24be45f235 ext: hal: st: stm32cube: Add HAL for the STM32G4x series
This commit adds the STM32CUBE HAL for STM32G4x series MCUs.

Signed-off-by: Richard Osterloh <richard.osterloh@gmail.com>
2019-10-04 18:44:24 -07:00
Kumar Gala
664166e531 modules: hal: nxp: update for LPC55S69 SDK update
Update to for LPC55S69 SDK 2.6.3 release.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-09-27 13:41:13 -07:00
Andrzej Głąbek
2fbeb0d321 modules: hal_nordic: Enable extended SPIM features only when needed
These features are available only for SPIM3 and when they are enabled
but this instance is not, the compilation fails. So they cannot be
enabled by default (as currently), but only when it is actually needed
(and possible).

Update the module revision to fix the issue in nrfx_config_nrf52840.h.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2019-09-26 19:13:41 +02:00
Tom Burdick
6a708e625d arch: kinetis: Add support for k2x
This adds support for Kinestis K22

Co-authored-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Co-authored-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Co-authored-by: Tom Burdick <thomas.burdick@gmail.com>
Signed-off-by: Tom Burdick <thomas.burdick@gmail.com>
2019-09-25 02:18:38 -07:00
Andrzej Głąbek
c24c463328 soc: nordic: Include <nrfx.h> instead of <nrf.h> from <soc.h>
This change is done so that there is no need to additionaly include
<nrfx.h> before <soc/nrfx_coredep.h> (what might be a bit surprising)
and so that <nrfx_config.h> doesn't need to be include separately for
nRF SoCs requiring a special mapping of peripheral accessing symbols.

This commit removes also no longer needed inclusions and updates
the hal_nordic module with required minor correction of nrfx_glue.h.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-09-24 16:20:16 +02:00
Ulf Magnusson
b5fad77554 west.yml: Update ci-tools to always show checkpatch warnings
Get these commits in, which together make it so that warnings from
checkpatch.pl are always shown, even when the check succeeds.

 - Commit 72f74d7 ("check_compliance.py: Add support for informational
   messages")

 - Commit 9d46f5b ("check_compliance.py: Always show warnings from
   checkpatch.pl")

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-22 09:36:57 -04:00
Andrzej Głąbek
97e38c226c modules: hal: nordic: Remove dependency on DT from NRF_* mappings
Update the module revision so that the following commit becomes
effective:

* nrfx_config_nrf9160: Remove dependency on DT from NRF_* mappings

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-09-20 17:16:35 +02:00
Anas Nashif
075794cc78 west: remove qmsi module
No users of this module after dropping quark platforms.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2019-09-18 11:06:18 -05:00
Ulf Magnusson
47175499fe west.yml: Update ci-tools to treat all .py files as Python
Get commit 343b5c7 ("check_compliance.py: Treat all .py files as Python
in pylint check") in.

libmagic doesn't consider the filename, and mis-detects kconfiglib.py as
HTML for example. Treat all files ending in .py as Python, and only use
libmagic for other files.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-18 10:58:21 +02:00
Robert Lubos
063fefd15d net: openthread: Use Zephyr's mbedTLS instead of compiling own
So far OpenThread compiled it's own, internal copy of mbedTLS library.
This commit changes this behavior by using Zephyr's mbedTLS instance
appropriately configured for OpenThread needs.

Generic mbedTLS config file was used in this case, so that application
can still configure remaining parts of mbedTLS for it's own needs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2019-09-17 20:07:58 +08:00
Ulf Magnusson
ab3165791b west.yml: Update ci-tools to broaden pylint check and fix formatting
Get these ci-tools commits into CI runs:

 - Commit 3a08069 ("check_compliance.py: pylint: Detect Python files not
   ending in .py")

 - Commit 2184bb4 ("check_compliance.py: Fix formatting mess-up for
   error messages")

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-16 23:53:16 -05:00
Daniel Leung
36a780c5bb west.yml: update hal_microchip to latest revision
This adds HAL headers for peripheral devices on MEC1501.

Fixes #18539
Fixes #18540

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2019-09-16 09:05:46 -05:00
Paul Sokolovsky
5e2ec2244b manifest: mbedtls: Update to pick latest config-tls-generic.h
Following recent config patches were merged:
* https://github.com/zephyrproject-rtos/mbedtls/pull/1
config: Allow to enable OpenThread optimizations for mbedTLS
* https://github.com/zephyrproject-rtos/mbedtls/pull/3
configs: config-tls-generic.h: Add CONFIG_MBEDTLS_ECDSA_DETERMINISTIC

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2019-09-16 11:55:32 +02:00
Kumar Gala
c481f8e2e4 modules: Update ci-tools to latest for status check report
The latest ci-tools reports the shippable job number in the status
check.  This is useful if we have an error or something to be able
to find the logs.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-09-13 19:19:41 -05:00
Kumar Gala
2cad8d20ee ci: updates to fix pylint commit test
Update to CI image 0.9.1 to have pylint installed.  Bump ci-tools sha
that re-enables running the pylint test.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2019-09-13 10:00:16 -05:00
Ulf Magnusson
d8866e1567 modules: Update ci-tools so that the latest tests run in CI
This extra step is needed after updating the ci-tools repo now, or the
latest tests won't run.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-09-13 02:14:47 -05:00
Marti Bolivar
f15648ee9d west.yml: point civetweb at the zephyrproject-rtos GH fork
We don't want to point anything outside of the Zephyr GitHub
organization. Let's point at the recently created zephyr fork instead.

Details on how this will be managed going forward, according to
standard project policy:

https://docs.zephyrproject.org/latest/guides/modules.html

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
2019-09-12 12:07:48 +08:00
Filip Brozovic
a63b759598 west.yml: update hal_nxp revision to support Kinetis K8x
Update hal_nxp revision in order to add support for Kinetis
K8x series SoCs

Signed-off-by: Filip Brozovic <fbrozovic@gmail.com>
2019-09-11 09:23:28 -05:00
Jan Van Winkel
2bed6759a4 west: gui: Updated lvgl to V6.0.2
Updated west manifest to take in lvgl V6.0.2

Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
2019-09-10 06:42:21 -05:00
Andrzej Głąbek
916bf0e682 modules: hal: nordic: Update the module revision
Update the module revision so that the following commits become
effective:

* nrfx_config: Use common mappings of Kconfig options to nrfx macros
* nrfx_config: Unify the way of enabling instances in nrfx drivers
* nrfx_config: Add missing mappings of Kconfig option symbols
* CMakeLists: Add missing inclusions of driver implementation files

The above changes require a minor correction in the nrf91/soc.h file,
so it is also modified in this commit.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-09-10 13:23:44 +02:00
Maureen Helm
5687dc828e west.yaml: Update hal_nxp to MCUXpresso SDK 2.6.x
Updates hal_nxp to pick up the latest MCUXpresso SDK version available
for all SoCs.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2019-09-09 17:52:54 -05:00