Commit graph

247 commits

Author SHA1 Message Date
Andrzej Głąbek 48b693596e modules: hal_nordic: Fix minor issues
Update the hal_nordic module revision to include the following commits:
- CMakelists: missing "src" in one path
- nrfx_glue: Fix NRFX_PPI_GROUPS_USED_BY_BT_CTLR definition

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-07-09 16:57:04 +02:00
Kumar Gala fec3c6984e west.yml: Update to pull in TFM v1.1-rc2
Update to sync with TFM v1.1-rc2 which adds support for the LPC55S69 and
STM32L5 SoCs.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-07-09 08:34:25 -05:00
Erwan Gouriou f7b8175be9 west.yml: Update hal_stm32 to include License root file
Update hal_stm32 module in master manifest to include
latest changes around License information

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-07-09 08:16:19 -05:00
Andreas Sandberg 6a4ebe5949 drivers: lora: Add SX126x LoRa radio support
Add support for the SX126x series of LoRa radios using the
LoRaMAC-Node HAL.

This driver currently makes the following assumptions:

  * DIO1 is used as an interrupt line.

  * There is an RF switch selecting between the TX and RX ports and
    that switch is controlled by DIO2.

  * There is either no TCXO or the TCXO is controlled by DIO3.

Specifically, the limitations above mean that modules that use GPIOs
to control the RF switch are currently not supported. Support for such
modules would need changes to the LoRaMAC-Node code.

Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
2020-07-02 08:32:37 -04:00
Saravanan Sekar 4a5a165e0c soc: arm: add support for nuvoton numicro m48x series
Add initial support for nuvoton numicro m48x SoC series, basic
init and uart functionality are covered with gpio and clock
directly relies on HAL.

Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
2020-07-01 21:09:25 +02:00
Andrzej Puzdrowski 322742b83c manifest: update mcuboot to upmerged to upstream 33fbef5
MCUBoot was synchronized with upsteram
https://github.com/JuulLabs-OSS/mcuboot/commit/33fbef5

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-07-01 08:19:08 -05:00
Marek Porwisz 83f7f81d8d net: openthread: New build options for OpenThread
Some options were available in the options.cmake but were not reflected
in Kconfig.
Added possibility to enable additional configuration options for OT.
Some of the options were left commented out as those options are not
yet supported e.g. require Thread 1.2 or require shim changes.
As openthread has gazillion configuration options that are passed as
define value, created generic option for passing any number of those
values separated with space.

Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>
2020-06-30 07:48:08 -04:00
Frank Li d7279b14eb west.yml: Update nxp hal to fix spi interrupt issue
Updates the nxp hal to incorporate a fix
for other interrupts treated as a transfer completion.

Signed-off-by: Frank Li <lgl88911@163.com>
2020-06-25 16:01:16 -05:00
Peter Bigot 1105aa521c west: update to fix littlefs report configuration problem
Reference an updated head that removes references to reporting
infrastructure when reporting is disabled.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-25 15:09:28 +02:00
Carles Cufi 363d3e53bc manifest: hal_stm32: Replace pull reference with SHA
This was merged with the pull reference by mistake.

Fixes #26424.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-06-25 12:10:33 +02:00
Giancarlo Stasi 82a08a7678 drivers: clock: stm32: fix Flash latency & clock settings for MSI & HSE
According to RM, when increasing the CPU frequency, the new number of
wait states to the Flash latency bits must be written and verified
before modifying the CPU clock source and/or the CPU clock prescaler,
to prevent NMI to occur; when decreasing the CPU frequency, after.
Tested with STM32L462 SOC and MSI with several frequencies, both
increasing and decreasing. HSE built, not tested.

Signed-off-by: Giancarlo Stasi <giancarlo.stasi@nexxiot.com>
2020-06-23 17:32:38 +02:00
Robert Lubos d780458bc6 net: openthread: Update OpenThread revision
Regular upmerge with some fixes needed after changes in the upstream
OpenThread.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-06-22 17:09:10 +02:00
Andrzej Puzdrowski a0c9202906 manifest: update mcuboot to upmerged to upstream 9b48d08
MCUBoot was synchronized with upsteram
https://github.com/JuulLabs-OSS/mcuboot/commit/9b48d08

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-06-12 17:07:17 +02:00
Maureen Helm cf0587c3ec west.yml: Make nxp hal a zephyr_library
Stops leaking long source paths in build directories and makes them
deterministic.

When building samples/hello_world for frdm_k64f, this changes the build
directories from:

build
└── zephyr
└── CMakeFiles
    └── zephyr.dir
	└── home
	    └── maureen
		└── zephyrproject
		    └── modules
			└── hal
			    └── nxp
				└── mcux
				    ├── devices
				    │   └── MK64F12
				    │       └── fsl_clock.c.obj
				    └── drivers
					└── kinetis
					    └── fsl_uart.c.obj

to:

build/
└── modules
└── nxp
    └── lib..__modules__hal__nxp.a

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2020-06-12 11:13:08 +02:00
Maureen Helm a0152bbae2 west.yml: Make openisa hal a zephyr_library
Stops leaking long source paths in build directories and makes them
deterministic.

When building samples/hello_world for rv32m1_vega_ri5cy, this changes
the build directories from:

build/
└── zephyr
└── CMakeFiles
    └── zephyr.dir
	└── home
	    └── maureen
		└── zephyrproject
		    └── modules
			└── hal
			    └── openisa
				└── vega_sdk_riscv
				    └── devices
					└── RV32M1
					    └── drivers
						├── fsl_clock.c.obj
						└── fsl_lpuart.c.obj
to:

build/
└── modules
└── openisa
    └── lib..__modules__hal__openisa.a

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
2020-06-12 11:13:08 +02:00
Andreas Sandberg ec9ce92d1f modules: stm32: Update HAL to add STM32L0 USB
Update the STM32 HAL to include the stm32l0xx_ll_usb HAL in the
build. This enables USB device support on STM32L0 devices.

Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>
2020-06-11 13:11:59 -05:00
Eduardo Montoya fc1d0635df net: l2: openthread: Add config option to enable OpenThread ref. device
This option enables specific features used by Thread Certification
reference devices.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2020-06-08 21:41:40 +03:00
Kumar Gala ee6fa31af6 west.yml: Update modules for C99 types
Pull in various module updates for C99 type change

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-06-08 08:23:57 -05:00
Flavio Ceolin 4379fc06ed mbedtls: Bump to 2.16.6 version
Update mbedTLS version.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2020-06-02 15:24:36 +02:00
Vincent Wan 7df12bea9e west.yml: hal_ti: build files necessary for ieee8021504 driver
Building a couple more files from the SimpleLink SDK in order to support
the ieee8021504 driver for CC13xx/CC26xx.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-05-19 17:28:29 +02:00
Joakim Andersson b7af4ffdb0 west.yml: Update hal_nordic to fix compilation issue with nrfx_nvmc
Update hal_nordic to fix compilation issue with nrfx_nvmc, compilation
issue for NRF_UICR not defined in non-secure build.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-05-18 19:07:25 +02:00
Andrzej Puzdrowski 9691491607 manifest: mcumgr bugfix upgrade
fixes #24706

Fixed issue of possible try to erase non page aligned
size of flash while serving image write command.
The new version has this bug fixed.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-05-15 20:53:02 +02:00
Kumar Gala f03633294b west.yml: Update mcumgr/mcuboot to pickup changes to match new dts
Update mcumgr/mcuboot for changes to DT_FLASH_AREA -> FLASH_AREA macros.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-05-13 21:22:53 +02:00
Andrzej Głąbek 8a7ece2198 nrf_radio_802154: Use chosen zephyr,entropy to get entropy device
Update the hal_nordic module revision, so that the following commit
becomes effective:

nrf_radio_802154: Use chosen zephyr,entropy to get entropy device

Use the label property of the node pointed by "zephyr,entropy" chosen
entry as the name of the entropy device to bind to. The pointed node
does not necessarily need to be a "nordic,nrf-rng" compatible one, what
was incorrectly assumed when CONFIG_ENTROPY_NAME was replaced in commit
5505d0baa66a89848f643120fafad232876df695.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2020-05-13 16:29:59 +02:00
Anas Nashif 8cde5ff848 ci: update ci-tools repo sha
This should fix an issue with setting labels. A label was renamed and
ci-tools did not handle the error.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2020-05-11 16:35:48 -04:00
Karl Zhang fec5ed6077 trusted-firmware-m: Add initial plumbing for TFM
This commits adds a config option to build a PSA trusted-firmware-m
(TF-M) application image for the secure processing environment, and
configures the Zephyr application image for the non-secure processing
environment. The secure and non-secure environment images will be
linked together via the veneer function table that is produced as an
artifact of the TF-M build process.

Signed-off-by: Karl Zhang <karl.zhang@linaro.org>
2020-05-09 16:21:51 +02:00
Parthiban Nallathambi b687d76d09 soc: arm: add infineon_xmc series support
Add infineon xmc series with XMC4500 support. XMC series comes with,
- CPU operates upto 120MHz
- 3 RAM (PSRAM1 - code, DSRAM1 - data and DSRAM2 - communiation)
- upto 1MB flash

init: clock control & gpio is not done, so SoC initialization directly
relies on HAL. Core operating clock is stored in no_init section, which
is kept under DSRAM1. Only DSRAM1 is used until clock support. Using
PSRAM1 and DSRAM1 needs adaptation in linker script - planned for next
revision.

Note: SystemInit cannot be consumed directly due to vector table +
HAL linker dependency.

Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
2020-05-09 14:21:44 +02:00
Scott Worley 0ac4409f44 modules: Fix HAL eSPI OOB transfer size defines
Fixed masking defines for eSPI OOB RX and TX transfer
length registers. The transfer length fields are 13 bit.
The incorrect defines masked 14 bits.

Signed-off-by: Scott Worley <scott.worley@microchip.com>
2020-05-09 07:18:54 -04:00
Erwan Gouriou 9df7979d3b west.yml: hal_st: Make it a zephyr library.
Depends on zephyrproject-rtos/hal_st/pull/4

Fixes #19614

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-05-09 13:08:42 +02:00
Erwan Gouriou 6ea53792f4 modules: stm32: Rename lib Kconfig symbol
Both ST and STM32 modules where using same HAS_STLIB Kconfig
symbol.
Now that each module is createing is own lib, we need to be able
to distinguish libs.

Depends on zephyrproject-rtos/hal_stm32/pull/52

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-05-09 13:08:42 +02:00
Wentong Wu 4bab17f71e west.yml: update mipi-sys-t to latest version.
Move syst initialization code to zephyr tree and add
more useful fields (payload length and timestamp) in
SyS-T message packet.

Signed-off-by: Wentong Wu <wentong.wu@intel.com>
2020-05-08 17:47:30 +02:00
Mieszko Mierunski b90cd759db hal: nrf: Integrate nRFX 2.2.0 release
Change west.yml nordic hal module to point to 2.2.0 nrfx version.

Signed-off-by: Mieszko Mierunski <mieszko.mierunski@nordicsemi.no>
2020-05-08 15:00:41 +02:00
Robert Lubos 2c2771970e modules: mbedtls: Update mbedTLS commit and apply fixes
Update mbedTLS commit along with the following fixes:

* Fix naming inconsistencies in some cipher modes, to match core mbedTLS
  configs
* Add Kconfig to enable CTR cipher mode

Fixes #22421

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-05-07 23:46:08 -05:00
Robert Lubos 34922fbb72 west.yml: Update OpenThread revision
Regular upmerge.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-05-07 23:27:49 -05:00
Andrei Gansari 284fbf0bf3 west.yaml: update hal_nxp for entropy device
Updated west.yaml to the hal_nxp commit which enabled entropy
drivers for LPC family.

Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
2020-05-07 23:25:31 -05:00
Vincent Wan cdf780b3c6 west.yml: Update hal_ti for cc13x2/cc26x2 to SimpleLink SDK 4.10.00.78
Update west.yml to point to hal_ti with the latest changes
from TI SimpleLink SDK 4.10.00.78 for CC13x2/CC26x2.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-05-07 23:25:14 -05:00
Andrzej Puzdrowski 1d34dd88c3 manifest: update mcuboot to 1.6.0-rc2
MCUBoot was synchronized with upsteram tag v1.6.0-rc2
version.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-05-07 17:12:09 -05:00
Andrzej Puzdrowski 8da94d06db manifest: update mcuboot to 1.6.0-rc2
MCUBoot was synchronized with upsteram tag v1.6.0-rc2
version.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-05-07 19:47:19 +02:00
Carles Cufi 415a61a91f manifest: Update the TI HAL module
Update the TI HAL module so that it points to a revision that has been
ported to the new timeout API.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2020-05-07 11:01:55 +02:00
Alex Porosanu 7922889b54 west.yml: hal_nxp: update HAL reference for MCUX TPM driver
Sync the NXP HAL commit in west with the one that enables
the TPM driver in HAL.

Signed-off-by: Alex Porosanu <alexandru.porosanu@nxp.com>
2020-05-06 11:33:37 -05:00
Dominik Ermel 28a6829b74 west.yml: Snapshot update of mcumgr from upstream
This commit updates mcumgr with latest snapshot from upstream.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2020-05-06 11:14:00 +02:00
Arnaud Pouliquen 3a16788afe west.yml: update open_amp and libmetal to v2020.04.0
Updates OpenAMP lib modules to v2020.04.0 release

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
2020-05-05 09:59:16 -05:00
Henrik Brix Andersen 915734536b west.yml: Update NXP HAL to include LPC55S16 support
Pull in change to NXP HAL to include LPC55S16 SoC support.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-05-01 10:11:01 -05:00
Vincent Wan 39be994654 west.yml: Update hal_ti to update cc32xx to SimpleLink SDK 4.10.00.07
This is to update west.yml to point to hal_ti with the latest changes
from TI SimpleLink SDK 4.10.00.07 for CC32xx.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-05-01 07:48:34 -05:00
Kumar Gala 7cda550c20 west.yml: Update hal_ti for devicetree fix for msp432p4xx
As part of devicetree update to new devicetree.h  We Need to convert
as use of  DT_ARM_CORTEX_M4F_CLOCK_FREQUENCY to
DT_PROP(DT_PATH(cpus, cpu_0), clock_frequency) in the hal_ti for the
msp432p4xx SoCs.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-30 14:29:50 -05:00
Kumar Gala 893961fe9d west.yml: mcuboot: Update DT macros to new devicetree.h
Update DT usage in mcuboot to utilize new macro style defined in
devicetree.h

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-30 12:13:55 -05:00
Erwan Gouriou 4008960afc boards: nucleo_wb55rg: Update HCI lib to version 1.5
Update STM32WB HCI lib support to version 1.5.0.
Additionally provide a doc section to clarify compatibility
with stm32wb wireless co-processor binaries.


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2020-04-28 09:09:40 -05:00
Patrik Flykt 190705960d scripts: net: Add SOCKS 5 to MQTT TLS sample test
Start SOCKS5 proxy in the net-tools Docker image and run MQTT TLS
tests with SOCKS enabled. Since the MQTT TLS server is already
running as of the previous test, start only the danted daemon.

Rely on mosquitto MQTT port being handled by the Docker image
configuration file instead of specifying it on the command line.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
2020-04-28 10:29:17 +03:00
Vincent Wan 36d27f90ef west.yml: hal_ti: include proper posix/time.h
Updating west.yml to point a fix to include proper time.h header in
the HAL. This should fix an issue where clock_gettime() is not
correctly called due to recent change to make it into a system call.

Signed-off-by: Vincent Wan <vincent.wan@linaro.org>
2020-04-25 13:33:34 -05:00
Stephanos Ioannidis d687836d6c west.yml: Update CMSIS module for CMSIS-DSP 1.8.0
This commit updates the west.yml to pull in the newly added CMSIS-DSP
1.8.0 library.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-04-22 12:08:28 -05:00