Commit graph

158 commits

Author SHA1 Message Date
Robert Lubos bae792098c west.yml: Update OpenThread revision
OT revision was by mistake set to a wrong commit. Now it should
point to the latest merge commit (up to the upstream commit ab9c0a4).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-03-20 14:23:19 +01:00
Carles Cufi 4181d41643 ext: hal: Remove Altera HAL from the tree and use a module
Use an external Altera HAL repo instead of keeping a copy in ext/hal.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-03-20 09:07:16 -04:00
Carles Cufi ba0aea3cd3 arm: Remove CMSIS from the tree and use a module
Use an external CMSIS repo instead of keeping a copy in ext/hal.

Closes #23373

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-03-19 22:32:38 +01:00
Parthiban Nallathambi b2d020bdbf soc: arm: nxp: kinetis: k6x: add K66F support
Add MK66F18 series support with MK66FN2M0VMD18 part.

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
2020-03-19 15:58:08 -05:00
Carles Cufi 4043cb23f1 Revert "west: Update hal_nordic to pull/29/head"
This reverts commit 39d5827e97.

Pull Request #23437 was merged by mistake with an invalid manifest.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-03-19 18:45:13 +01:00
Carles Cufi 1d10b9bc3c Revert "west: Point mcuboot to JuulLabs-OSS/mcuboot#682"
This reverts commit 36f199160b.

Pull Request #23437 was merged by mistake with an invalid manifest.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-03-19 18:45:13 +01:00
Oleg Zhurakivskyy 36f199160b west: Point mcuboot to JuulLabs-OSS/mcuboot#682
Temporary point mcuboot to JuulLabs-OSS/mcuboot#682
to check if mcuboot can be upgraded.

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2020-03-19 15:47:53 +01:00
Oleg Zhurakivskyy 39d5827e97 west: Update hal_nordic to pull/29/head
There's a circular dependency with hal_nordic while
merging build assert macros.

Point hal_nordic to PR where the changes are present
so that CI can proceed.

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2020-03-19 15:47:53 +01:00
Robert Lubos e9445aef24 west.yml: Update OpenThread revision
Update OpenThread revision (up to commit ab9c0a4 upstream).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-03-18 16:53:12 +01:00
Patrik Flykt 397d2b9a76 west: Update required net-tools revision
Net-tools revision a1fcd0c5949095194b26e6fb45768073bb3fd9de
is needed for running mqtt_publisher network sample test scripts.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
2020-03-17 13:14:41 +02:00
Dominik Ermel 08c8dc7e27 subsys/mgmt: Enabling mynewt-core version of tinycbor
This PR provides changes that are required after replacing Tinycbor
with copy of source code from mynewt-core.
The Tinycbor has been replaced with mynewt-core version to reduce
maintenance effort; by replacing it the Zephy specific changes have been
reduced to small patch over mynewt codebase.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2020-03-17 11:58:18 +01:00
Miguel Azevedo 61d56b4c53 mgmt: Added Kconfig values and west.yml changes for mcumgr new version
The new version of mcumgr adds a few new Kconfig values, so
this commit adds them on Zephyr side.
This commit also updates west.yml so it points to the latest
changes on mcumgr's repo.

Signed-off-by: Miguel Azevedo <miguellazev@gmail.com>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-03-11 10:11:31 +01:00
Andrzej Głąbek 3e93f9f67d modules: hal: nordic: Fix translation of peripheral symbols
Update the hal_nordic module revision, to apply the following changes:

nrfx_config: Fix translation of symbols for _S or _NS only peripherals

For peripherals with only one type of access available (either secure
or non-secure), the common symbol translation scheme cannot be used
as it leads to mapping to non-existing symbols (e.g. NRF_FICR_NS).
Instead, use fixed translations for these symbols (e.g. NRF_FICR to
NRF_FICR_S, only for secure images).

nrfx_config: Add missing _S/_NS symbol translations for nRF5340/nRF9160

Add translations of names with _S and _NS suffixes for peripheral
access symbols that are available for a given chip but were not used
so far in any nrfx HAL or driver, to make the lists of translations
complete and consistent.

This commit corrects also the translation of NRF_I2S symbol for nRF5340
whose name for this SoC contains also the index 0 (so it needs to be
handled similarly like NRF_PDM0 is).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-03-10 17:21:27 +01:00
Andrzej Głąbek 668d401293 modules: hal: nordic: Define NRFX_ASSERT as __ASSERT_NO_MSG
Update hal_nordic's revision, so that NRFX_ASSERT uses __ASSERT_NO_MSG
directly, not through the assert macro that comes from from libc,
as the definition of the latter might be different when some specific
libc version is used, and this could generate troubles.

Replace also uses of assert() with __ASSERT_NO_MSG() in nrfx driver
shims that use this macro without including the corresponding header
file (i.e. that implicitly rely on assert.h being included from
nrfx_glue.h, which is no longer the case).

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-03-10 17:21:27 +01:00
Daniel Leung 7f2996b061 west: update Microchip HAL to latest version
This includes the following changes:
- modules: Fix bugs in ECIA and PECI headers
- modules: Fix bug in MEC1501 TACH header
- mec1501: fix bits for setting 10-bit ADC resolution

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2020-03-06 19:29:09 +02:00
Francois Ramu ff072bc816 west.yml: update hal stm32g4xx and stm32l4R/stm32l4S modules
This updates the stm32cube drivers to fix the issue on sysclock

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2020-02-26 12:21:04 -06:00
Wolfgang Puffitsch c3ee7d26d1 manifest: EDTT: update manifest to point to new revision in EDTT
Update EDTT so ATT reads filter on the CID.

Signed-off-by: Wolfgang Puffitsch <wopu@demant.com>
2020-02-26 15:03:51 +01:00
Andries Kruithof a8703b83f4 manifest: EDTT: update manifest to point to new revision in EDTT
For passing the EDTT tests pass/fail criteria needs to be updated,
which is done starting with the revision referenced in the updated
manifest

Signed-off-by: Andries Kruithof <Andries.Kruithof@nordicsemi.no>
2020-02-25 16:13:17 +01:00
Andrzej Puzdrowski 5e4d06cfd1 manifest: mcuboot 1.5.0 revision
Introduce exact 1.5.0 mcuboot release version
Difference to previous reference:
- imgtool: fix passing --erased-val with 0xff value
- mcuboot internal sim patches (not affected zephyr)
- release note ect.
- introduced default recovery trigger pin configuration for nRF5340

** No mcuboot embedded C code changes at all. **

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-02-21 13:58:37 +02:00
Cristi Caciuloiu 9f7cccc90f bluetooth: controller: openisa: update west.yml to point to HAL
Encryption support for Vega board needs updated HAL/openisa
3b54187649

Signed-off-by: Cristi Caciuloiu <cristian.caciuloiu@nxp.com>
2020-02-18 12:34:27 +02:00
Anas Nashif 223826179c ci: do not run Documentation/License for ci-tools
Those checks are now being run using GH actions. ci-tools was changes to
support excluding modules and stopping them from reporting pending
status.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-02-17 12:42:27 -05:00
Alberto Escolar Piedras 0e95b9fe28 manifest: EDTT: Update to latest version with HCI command fixes
Includes fixes to HCI commands,
which are necessary for
https://github.com/zephyrproject-rtos/zephyr/issues/22085
see:
https://github.com/EDTTool/EDTT/pull/11

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2020-02-17 19:03:12 +02:00
Vincent Wan c0a1a64228 west.yml: hal_ti: fix SemaphoreP_create/construct to initialize count
Updating west.yml to point to fixed versions of SempahoreP_create/
SemaphoreP_construct that correctly initialize the semaphore count.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-02-12 08:21:13 -06:00
Andrzej Puzdrowski f02fdd2d7b manifest: mcuboot version with fixed USB recovery
Since zephyrproject-rtos/zephyr#20375
Need to enable USB by the mcuboot code explicitly.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-02-08 10:01:47 +02:00
Flavio Ceolin 707858eed1 west.yml: update mbedtls to latest stable release
Bump mbedTLS version to 2.16.4

Origin: ARMmbed/mbedTLS
License: Apache-2.0
URL: https://github.com/ARMmbed/mbedtls/releases/tag/mbedtls-2.16.4
commit: 39e2c0eeb6501980764793e8d54c49c0a42bde48

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2020-02-07 22:52:41 +02:00
Vincent Wan ecd1eaef0e west.yml: update hal_ti to include build for TI RF driver
Modifying west.yml to point to the TI HAL repo updated with the RF
driver and associated changes in the DPL.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-02-07 12:23:08 -06:00
Anas Nashif 8ec53cf870 west.yml: hal_nxp: update to latest state of module
Update to the latest merged commit in the module and remove reference to
pull request which was merged by mistake.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-02-06 20:38:07 -05:00
Kumar Gala 7bfc98e6e1 flash: nxp_lpc: Fix build issue with LPC Flash driver
The flash driver wasn't getting built in the NXP HAL.  Pull in version
of HAL that fixes that.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-02-06 19:18:51 -05:00
Andrzej Puzdrowski 92b0ae1965 manifest: mcuboot upgrade
Upgraded mcuboot to version which have following issue
fixed:
Redundant 'source "$(ZEPHYR_BASE)/Kconfig.zephyr"
in 'boot/zephyr/Kconfig'

Within this version upgrade the default swap algorithm for nRF devices
was changed to `move swap` instead of `swap using scratch`.

Mcuboot start using new non-deprecated GPIO labels

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-02-05 12:40:19 +01:00
Peter Bigot df7366871f west.yml: update mcuboot to use non-deprecated GPIO flags
Upcoming deprecation will produce build failures as long as the
deprecated flags are used.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-02-05 12:00:36 +01:00
Gerson Fernando Budke e937ef652b west.yml: update hal_atmel for SAM4E/SAMV71
Update hal_atmel to include vendor files for SAM4E and SAMV71 series.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2020-02-04 08:56:19 -06:00
Patrik Flykt cf5d2e07ca west: Update required net-tools revision
Net-tools revision 4bff01084d225996e4aae84b98be5969e2f9f33d
is needed for running network sample test scripts.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
2020-02-03 09:04:12 -05:00
Alberto Escolar Piedras cd98c8a8cf manifest: EDTT: Update to latest version
Get latest EDTT version, which includes a fix for
LL/CON/MAS/BV-23-C regarding the feature set bitmask
check.

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2020-01-31 18:36:40 +01:00
Andrzej Głąbek 40175fd3bd modules: hal: nordic: Fix nrfx log messages
Update revision of the hal_nordic module, so that `uint32_t` arguments
are casted to `unsigned long` in nrfx log messages.
This is done  to avoid warnings about providing an argument of type
`uint32_t` (which is `unsigned int`) where a `long unsigned int` one
is expected.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-01-30 15:50:03 +01:00
Christian Taedcke 4ead400d79 arm: exx32: Add Silabs EFM32JG12B soc files
The Silicon Labs EFM32 Jade Gecko MCU includes:

    * Cortex-M3 core at 40MHz
    * up to 1024KB of flash and 256KB of RAM
    * multiple low power peripherals

This is basically the same as the EFM32 Pearl Gecko, but with an ARM
Cortex-M3 core instead of a Cortex-M4F.

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2020-01-30 07:06:54 -06:00
Kumar Gala 05ced0e79c west.yml: Update ci-tools
Update ci-tools to pickup a number of fixes and improvements.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-01-29 21:35:14 -06:00
Andrzej Głąbek 7899b1f5b6 modules: hal_nordic: Update nrfx to version 2.1.0
Update the hal_nordic module revision, to switch to nrfx 2.1.0.

Because the list of peripherals for nRF5340 has changed as follows:
- SPIM2 has been renamed to SPIM4
- SPIM2-3, SPIS2-3, TWIM2-3, TWIS2-3, and UARTE2-3 have been added
a couple of related corrections needed to be applied in dts and Kconfig
files, plus the spi_nrfx_spim driver has been extended with the support
for SPIM4.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-01-29 15:00:45 +01:00
Ulf Magnusson 2172e0d6d0 west.yml: Update ci-tools to avoid Kconfiglib-related false positive
Adds this commit, needed to avoid a false positive warning when running
pylint on genrest.py:

    The KconfigCheck test in check_compliance.py uses
    scripts/kconfig/kconfiglib.py from Zephyr, and nothing else needs
    Kconfiglib to be installed from PyPI either.

    Installing the old 10.30.0 version of Kconfiglib makes pylint
    generate a warning-turned-error for genrest.py, because it uses a
    the suppress_traceback parameter to Kconfig.__init__(), which was
    added later.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-28 17:26:11 -05:00
Erwan Gouriou 76380b7498 west.yml: hal_stm32: stm32 hci lib update
Update hal_stm32 for STM32WB HCI lib update to v1.3.0

cf https://github.com/zephyrproject-rtos/hal_stm32/pull/35

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-01-28 13:06:57 -06:00
Robert Lubos 7e7f05546d modules: nordic: Allow separate nRF 802.15.4 radio driver build
So far, nRF 802.15.4 radio driver build was dependent on the 802.15.4
subsystem in Zephyr. While this was a reasonable approach for samples,
it prevented the radio driver from being built as a standalone entity,
which could be useful in some applications (e. g. running core nRF
802.15.4 radio driver tests with Zephyr).

Resolve this, by providing a separate set of Kconfigs for the radio
driver, therefore allowing to build it as a separate entity. The 802154
subsystem simply enables the radio driver module in this case.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-28 15:18:42 +01:00
Peter Bigot 0bb4e5bb6c west.yml: update hal_nxp to use full path to driver headers
Zephyr-specific files in mcux break when the drivers subdirectory is
no longer present in the include path.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-01-27 12:25:05 -06:00
Peter Bigot da98c896b3 west.yml: update mcuboot to use full path to driver headers
Zephyr-specific files in mcuboot break when the drivers subdirectory
is no longer present in the include path.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-01-26 17:52:12 +01:00
Peter Bigot a74f3490dc west.yml: update mcumgr to use full path to flash.h header
A Zephyr-specific file breaks when the drivers subdirectory is no
longer present in the include path.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-01-26 17:52:12 +01:00
Oane Kingma e91da4ae45 soc/arm/silabs_exx32: Add support for EFM32GG11B SoC
This commit adds support for the Silicon Labs EFM32GG11B
series of SoCs.

Signed-off-by: Oane Kingma <o.kingma@interay.com>
2020-01-24 10:28:33 -06:00
Audun Korneliussen 917afdf89d subsys/fs/fatfs: Add kconfig option for FAT LFN (Long Filename)
ELM FatFS implementation supports LFN, enabled via ffconf.h
configuration file. Additionally, code page (character set),
max file name length, and memory mode (LFN working buffer location)
are configurable options closely related to LFN.
Without LFN filenames are restricted to 8.3 filename format.

Add kconfig options to expose following FatFS configurations:
enable LFN, specify max filename length, specify code page
(character set), specify LFN working buffer location.

Signed-off-by: Audun Korneliussen <audun.korneliussen@nordicsemi.no>
2020-01-23 17:50:19 +01:00
Robert Lubos 78169e7885 west.yml: Update hal_nordic to get recent 802.15.4 radio driver
The radio driver was updated in the hal_nordic repository, hence the
manifest update.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-22 14:58:40 +01:00
Andrzej Puzdrowski 69c0c43029 manifest: remove nffs reference
NFFS support repository reference was removed
as unneeded anymore by removal of NFFS support in the codebase.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-01-21 15:32:47 +01:00
Henrik Brix Andersen ef33cb6d43 modules: add CANopenNode
Include the CANopenNode CANopen stack as a module in Zephyr.
CANopenNode is licensed under the Apache-2.0 license.

This fixes #15278.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2020-01-20 17:17:23 +01:00
Ulf Magnusson 4e85006ba4 dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf}
generated_dts_board.h is pretty redundant and confusing as a name. Call
it devicetree.h instead.

dts.h would be another option, but DTS stands for "devicetree source"
and is the source code format, so it's a bit confusing too.

The replacement was done by grepping for 'generated_dts_board' and
'GENERATED_DTS_BOARD'.

Two build diagram and input-output SVG files were updated as well, along
with misc. documentation.

hal_ti, mcuboot, and ci-tools updates are included too, in the west.yml
update.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-17 17:57:59 +01:00
Robert Lubos b3a1ede830 net: openthread: Use settings subsystem
OpenThread settings implementation built on top of Zepyhr settings
submodule.

With this solution, OpenThread settings are identified with keys of
the following format: `ot/id/instance`, where `id` is assigned by
OpenThread stack, and `instance` is a 32-bit random number, both in
hex. The implementation makes use of `settings_load_subtree_direct`
function to iterate over settings instances. This allows the
OpenThread settings layer to be a fully transparent shim layer between
OpenThread/Zephyr APIs.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-01-16 17:12:47 -06:00