Commit Graph

136 Commits

Author SHA1 Message Date
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
Erwan Gouriou 716580377f west.yml: Update hal_stm32 with latest STM32Cube packages
Update hal_stm32 to new version including latest STM32Cube packages.
Includes the following:
- stm32cube: update stm32wb to version V1.3.0 (commit 374333f)
- stm32cube: update stm32g0 to version V1.3.0 (commit e209cea)
- stm32cube: update stm32f0 to version V1.11.0 (commit 08833e5)
- stm32cube: update stm32f3 to version V1.11.0 (commit 2a412a4)
- stm32cube: update stm32h7xx cube version to V1.5.0 (commit a08d1dc)
- stm32cube: update stm32f2xx cube version to V1.8.0 (commit b4226d5)
- stm32cube: update stm32f1xx cube version to V1.8.0 (commit a515c67)

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-01-15 08:39:05 -06:00
Henrik Brix Andersen 2461d6996c west: update openisa hal
Update the OpenISA HAL to pull in Timer/PWM module source if enabled.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-01-13 09:12:34 -06:00
Francois Ramu 6252387f00 west.yml: update hal stm32g4xx module
This updates the stm32cube/stm32g4xx/drivers
to wa the issue #21715

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2020-01-10 16:10:40 +01:00
Ulf Magnusson 53e12e8a11 west.yml: Update ci-tools to add misc. new CI checks
Gets these commits in:

    check_compliance.py: Detect refs to undef. symbols in samples and
    tests

    Extend the check for references to undefined Kconfig symbols to also
    detect undefined symbols in samples and tests.

    Samples and tests were skipped due to using separate Kconfig trees,
    which hid the symbols defined in them. Work around it by grepping
    for Kconfig symbol definitions in them instead.

    Keep properly parsing the main Kconfig tree, as it's needed to see
    symbol names that are stitched together with the Kconfig
    preprocessor.

    ------------------------------------------------------------------

    check_compliance.py: Detect bad header comments and other nits

    Add a generic kitchen-sink Nits test for various minor nits that
    aren't already covered by tools like checkpatch.pl and pylint. So
    far checks this:

     - Header comments in Kconfig files

     - Missing newlines at the end of various source files (probably a
       bad editor setting)

     - Leading/trailing blank lines in files

    ------------------------------------------------------------------

    check_compliance.py: Kconfig: Flag redundant $ZEPHYR_BASE in
    'source'

    'source's like

        source "$(ZEPHYR_BASE)/Kconfig.zephyr"

    can be simplified to

        source "Kconfig.zephyr"

    since $srctree already points to the Zephyr root.

    Flag it in the Nits test.

    This also avoids absolute paths showing up in some places.

    ------------------------------------------------------------------

    check_compliance.py: Improve error reporting for Git commands

    Similar improvements to
    https://github.com/zephyrproject-rtos/zephyr/pull/21577. No custom
    potentially-missing working directory is used here, but always
    including the exception message still feels more robust.

    Use err() instead of sys.exit() in git(), and have it include the
    command name, which is helpful in logs.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-01-10 08:17:37 -05:00
Ryan QIAN b4d774a66d west: update the head of hal_nxp
- to get the update hal_nxp from PR #13

Signed-off-by: Ryan QIAN <jianghao.qian@nxp.com>
2020-01-09 16:29:22 -06:00
Alberto Escolar Piedras f57df16011 manifest: Add EDTT to manifest
Add the EDTTool to the manifest.
This tool is used for conformance testing of the BLE stack

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2020-01-08 20:35:17 +01:00
Maureen Helm 960779a622 west.yaml: Update hal_nxp to MCUXpresso SDK 2.7.0
Updates hal_nxp to pick up MCUXpresso SDK 2.7.0 for all available SoCs.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2020-01-08 07:59:00 -06:00
Manivannan Sadhasivam c8d12610c7 west: Add LoRaMac-node module
Add LoRaMac-node module support to make use of Semtech LoRaWAN stack
and LoRa drivers.

Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
2019-12-21 12:20:24 +01:00
Daniel Leung 250041f4c8 west.yml: add hal_xtensa as a module
This adds hal_xtensa as a module.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2019-12-18 20:24:18 -05:00
Krzysztof Chruscinski 48ca5b703a west.yml: Update hal_nordic to align to clock_control
hal_nordic required update in ieee802154 radio driver which
is controlling the clock.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2019-12-18 16:50:11 +01:00
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