Commit Graph

756 Commits

Author SHA1 Message Date
Martin Jäger 2590a7aa98 lorawan: upgrade to LoRaMAC-node v4.6.0
This release contains some bug fixes and improvements.

See below link for details:
https://github.com/Lora-net/LoRaMac-node/releases/tag/v4.6.0

Signed-off-by: Martin Jäger <martin@libre.solar>
2022-08-03 05:02:57 +01:00
Fabio Baltieri 68feb6f7f2 west: update chre, hal_nordic, hal_silabs and sof
Update various modules to the latest upstream, this is to include the
latest header prefix fixes.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-08-02 16:41:41 +01:00
Kumar Gala 85be569e2e manifest: update mcuboot module
Pull in upstream change for devicetree updates

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-02 07:16:56 -05:00
Christoph Coenen 81694a25ed segger: Resolve circular include dependencies
Zephyr kernel is dependent on trace.
Trace is dependent on segger rtt.
Segger rtt MUST NOT be dependent on zephyr kernel.

Move lock functions from header into c file to avoid circular
dependency. This fix needs an update of the segger repository.

Fixes #43887.

Signed-off-by: Christoph Coenen <ccoenen@baumer.com>
2022-08-02 13:09:21 +02:00
Georgios Vasilakis a5b31f4d85 manifest: psa-arch-tests to commit: f4fc244
New watchdog timer configuration for Nordic
devices.

Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no>
2022-08-02 09:12:45 +02:00
Kumar Gala ba0dc008ff manifest: Update lvgl
Update lvgl for devicetree updates.

Remove Kconfig symbols that don't exist anymore since these values are
coming from devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-01 18:03:01 +02:00
Fabio Baltieri a5c53bb466 manifest: update mcuboot module
Update mcuboot rev to c216d34bd57d04946263bfdd8e3b084ac41058e4.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2022-07-29 08:58:18 -05:00
Sylvio Alves bab6776fb5 west.yml: update hal_espressif for wifi clean up
Updates hal_espressif to bring wifi malloc code
organization and clean up.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-07-29 14:11:00 +02:00
Gerard Marull-Paretas 511b632344 manifest: update hal_ti
Update hal_ti module to pull improvements on how required definitions
are passed to the build.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-07-28 20:51:55 +02:00
Anas Nashif 0687a610b9 manifest: update xtensa hal
This will include a change that modifies SoC names and uses a consistent
scheme.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2022-07-25 16:50:24 -04:00
Felipe Neves aae701d2c1 manifest: update zscilib module
which fixes integral windup in mahony filter.

Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
2022-07-22 07:53:31 -04:00
Nikodem Kastelik 295e0e35b9 manifest: Update hal_nordic revision to use nrfx 2.9.0
Pull in new nrfx version that integrates MDK 8.47.0

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
2022-07-20 14:07:29 +00:00
Lucas Tamborrino 8407909ebc west.yml: hal_espressif: update to latest revision
Includes MCPWM pinctrl support and source files.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2022-07-14 10:29:26 +02:00
Eduardo Montoya afced9cf85 manifest: openthread upmerge up to commit `2ce3d3b`
Regular OpenThread upmerge.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2022-07-12 15:12:09 +00:00
Pieter De Gendt f73ff469da manifest: nanopb: upmerge to version 0.4.6
The upstream version 0.4.6 was tagged. Upmerge the zephyr branch.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2022-07-11 14:15:06 +02:00
Robert Lubos 815ebc316e net: openthread: Move glue code into module directory
Move OpenThread's glue code along with the Kconfig files that configure
OpenThread stack itself into module directory.

Update the maintainers file to reflect this change.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-07-11 11:00:12 +02:00
Yuriy Vynnychek 52bef18c3b west.yml: updated hal_telink to new commit (ADC driver)
Updated hal_telink to new commit with B91 ADC driver suport.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-07-08 11:07:18 +02:00
Piotr Dymacz b9d68086bb manifest: hal_ti: update module
This update brings the following changes from 'hal_ti':

  b00ac9b simplelink: cc13x2_cc26x2: include flash driverlib sources
  bcc5286 zephyr: kconfig for CC13x2P / CC26x2P variants
  c54f72e zephyr: kconfig for CC13x2 / CC26x2 custom RF HWAttrs
  b6ca1ac cc13x2_cc26x2: update to TI SimpleLink SDK 4.40.04.04

The b00ac9b ("simplelink: cc13x2_cc26x2: include flash driverlib
sources") is required by recently introduced on-chip flash driver
for CC13xx/CC26xx series.

Fixes: #47461
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-07-08 09:37:43 +02:00
Mahesh Mahadevan 2d54229f6c west.yml: Update NXP HAL to get the latest SDK
Update the NXP HAL SDK

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2022-07-07 14:45:07 -05:00
Eduardo Montoya ae65096fe7 manifest: openthread upmerge up to commit `7e7da0e2`
Regular OpenThread upmerge.

Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>
2022-07-07 17:58:02 +00:00
Andrey Borisovich 283953b090 manifest: hal_xtensa: updates to new ace family definitions
Updated hal_xtensa module with new xtensa definitions
for intel_adsp_ace1x soc family.

Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
2022-07-06 15:11:07 -04:00
Yves Vandervennet 934f53202e west.yml: updating the manifest to pick up the latest in the NXP HAL
This changes the commit of the nxp_hal repo

Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
2022-07-05 16:32:42 -05:00
Yonatan Schachter 7797eb63c3 west.yml: hal_atmel: Add include directory only for atmel devices
The main CMakeLists.txt for hal_atmel adds an include directory
without checking that the module is enabled. This causes ALL Zephyr
builds to have modules/hal/atmel/include in their included
directories. This commit updates west.yml to point to a fix for
this issue.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2022-07-05 16:18:08 -04:00
Alexandre Duchesne b4034adec7 hal: gigadevice: Update gd32f4xx to firmware 3.0.0
Fix to support gd32f4xx update to firmware 3.0.0

Signed-off-by: Alexandre Duchesne <alexandre.duchesne@rtone.fr>
2022-07-04 18:07:51 +02:00
Kumar Gala e2044f0c3b west.yml: hal_atmel: Update for winc1500 warning fix
Update hal_atmel repo to get fix for a compiler warning in the
winc1500 driver.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-04 16:50:20 +02:00
Seppo Takalo 71d1b277cb manifest: Pull latest net-tools
New configurations have been added to the net-tools repository
so pull in the latest one.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2022-07-04 16:25:08 +02:00
Torbjörn Leksell 63db5f8e34 Modules: Percepio TraceRecorder: Update module from v4.6.0(RC1) to v4.6.3
This update updates the TraceRecorder module from version v4.6.0
(RC1) to v4.6.3. This update fixes some minor bugs where
deleted threads werent removed from the thread table. This
update is also in preparation for updates which changes
some trace hook arguments in Zephyr.

The update to v4.6.3 also improves syscall tracing by
including the id and name as parameters when logging
these events.

Signed-off-by: Torbjörn Leksell <torbjorn.leksell@percepio.com>
2022-07-04 16:16:02 +02:00
Steven Lemaire c40dc7d380 drivers: entropy: gecko: add driver using Secure Element module of EFR32
Some EFR32 SoCs use a secure element subsystem to manage
security features (i.e., TRNG, secure bootloader or cryptographic
functions).

This driver relies on the SE Manager high-level API provided by Silicon
Labs. The API interacts with the SE subsystem, provides helper functions
to achieve cryptographic operations and ensures that only one operation
is running at a time by using mutexes and semaphores.

Instead of relying on the SE Manager from Silicon Labs, one could
recreate the behaviour of the Manager and put the code in the crypto
driver folder and create a dependency for other drivers using the crypto
manager (e.g., keys, entropy).

I went for the SE Manager API as it is already there and supported by
Silicon Labs.

Tested using the random subsystem.

Signed-off-by: Steven Lemaire <steven.lemaire@zii.aero>
2022-07-04 15:47:35 +02:00
Øyvind Rønningstad c1a9866c86 west.yml: Update zcbor to v. 0.5.1
lwm2m: Regenerate lwm2m_senml code from the CDDL description.
Reapply manual changes.
Create a sh script to perform the regeneration.

tests: zcbor_bulk: Adapt to zcbor 0.5.1
zcbor_new_decode_state() now has no return value.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2022-07-04 15:13:42 +02:00
Bartosz Bilas 1c3c79979e manifest: hal_nxp: update hal revision to pull in xbara driver
It includes XBARA Inter-Peripheral Crossbar Switch driver.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
2022-07-01 16:23:11 +00:00
Carlo Caione 2bdd4c9836 manifest: libmetal: Bump version
To fix support for ARM64.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2022-07-01 11:36:33 +02:00
Lucas Tamborrino 4afd321dde west.yml: hal_espressif: updates to latest revision
Includes LEDC pinctrl support and source files.

Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
2022-06-29 14:48:25 +00:00
Andrzej Puzdrowski d17c75d294 manifest: update mcuboot
MCUboot was synchronized up to upstream:
1270880d2f717f9019742f5c450441aaf0504164

- boot_serial: refactoring and optimalization (mainly afects
  progressive erase implementation)
- migrate includes to <zephyr/...>
- switched DFU detection GPIO-pin configuration to be done through DTS.
  That pin is assigned thanks to `mcuboot-button0` pin-alias.
- boot_serial: Fix echo command code no longer compiling
- Added MCUboot status callback support, see `CONFIG_MCUBOOT_ACTION_HOOKS`
  Kconfig option.
- reworked LED usage, prefer DTS mcuboot-led0 alias over bootloader-led0
  alias
- Added initial support for leverage RAM-LOAD mode with the zephyr-rtos
  port
- boot_serial: Upgrade from cddl-gen 0.1.0 to zcbor 0.4.0

- imgtool: Added support for providing the signature by 3rd party

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-06-29 10:26:19 +02:00
Lukasz Maciejonczyk bc9bc7702e manifest: openthread upmerge to commit: 5cfbcfc
Regular OpenThread upmerge.

Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
2022-06-23 15:52:34 -05:00
Sylvio Alves 5a7585a387 west.yml: esp32c3: update hal to enable built-in jtag
ESP32C3 has built-in USB JTAG interface and this PR enables it
in HAL.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2022-06-23 15:51:31 -05:00
Rubin Gerritsen 0f84a57705 manifest: Update nrf_hw_models revision
Mostly includes minor maintainability updates:
- ci: Add building the HW models as a github workflow
- irq_sources: Remove unneeded irq_sources.h
- irq_ctrl: Define IRQ names inside HW models
- HW_models: NRF_RADIO: Set missing NRF_RADIO states
- HW_models: NRF_RADIO: Disable radio state while RXDISABLE
- HW_Models: NRF_PPI: Enable ppi task and event for TIMER0 CH3

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2022-06-23 14:35:26 +02:00
Krzysztof Chruscinski 59a0e5e645 manifest: Update lvgl
Update lvgl after removal of log_strdup function.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-06-23 13:42:23 +02:00
Andrzej Głąbek 2ddc0a6c17 manifest: Update hal_nordic revision
Pull in a fix in the nrfx_qspi driver for a problem with incorrect
status returned by `nrfx_qspi_mem_busy_check()`.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2022-06-23 11:49:10 +02:00
Keith Packard 0984aedf68 libc/picolibc: When !TLS, use zephyr errno
For targets without thread local storage, we need to use the builtin
per-thread errno support provided by Zephyr as the multi-thread errno
support provided in picolibc relies on TLS.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-23 09:16:32 +02:00
Martí Bolívar f49d11d310 civetweb: remove obsolete code
This code has gone unmaintained and bugs continue to be reported
against it. We do not have the resources as a project to maintain this
in "odd fixes" mode, and nobody has stepped up to maintain it [1], so
sadly this must be removed for now.

If anyone would like to see civetweb supported in upstream Zephyr
again, they are welcome to add it back, as long as they promise to
maintain it going forward.

Many thanks to everyone who has contributed to civetweb support in
Zephyr while it was here. So long and thanks for all the fish.

Fixes: #45807
Fixes: #43910
Fixes: #34226
Fixes: #46743

[1] https://lists.zephyrproject.org/g/devel/message/8466

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-06-22 08:26:13 -07:00
Keith Packard d0c75f3b96 lib/libc: Add picolibc support (aarch32, aarch64 and RISC-V) [v21]
Picolibc is a fork of newlib designed and tested on embedded systems. It
offers a smaller memory footprint (both ROM and RAM), and native TLS
support, which uses the Zephyr TLS support.

By default, the full printf version is included in the executable, which
includes exact floating point and long long input and output. A
configuration option has been added to switch to the integer-only
version (which also omits long long support).

Here are some size comparisons using qemu-cortex-m3 and this application
(parameters passed to printf to avoid GCC optimizing it into puts):

void main(void)
{
    printf("Hello World! %s %d\n", CONFIG_BOARD, 12);
}

                       FLASH    SRAM
    minimal             8696    3952
    picolibc int        7600    3960
    picolibc float     12304    3960
    newlib-nano int    11696    4128
    newlib-nano float  30516    4496
    newlib             34800    6112

---

v2:
	Include picolibc-tls.ld

v3:
	Document usage in guides/c_library.rst and
	getting_started/toolchain_other_x_compilers.rst

v4:
	Lost the lib/libc/picolibc directory somehow!

v5:
	Add PICOLIBC_ALIGNED_HEAP_SIZE configuration option.
	Delete PICOLIBC_SEMIHOST option support code

v6:
	Don't allocate static RAM for TLS values; TLS
	values only need to be allocated for each thread.

v7:
	Use arm coprocessor for TLS pointer storage where supported for
	compatibility with the -mtp=cp15 compiler option (or when the
	target cpu type selects this option)

	Add a bunch of tests

	Round TLS segment up to stack alignment so that overall stack
	remains correctly aligned

	Add aarch64 support

	Rebase to upstream head

v8:
	Share NEWLIB, NEWLIB_NANO and PICOLIBC library configuration
	variables in a single LIBC_PARTITIONS variable instead of
	having separate PICOLIBC_PART and NEWLIB_PART variables.

v9:
	Update docs to reference pending sdk-ng support for picolibc

v10:
	Support memory protection by creating a partition for
	picolibc shared data and any pre-defined picolibc heap.

v11:
	Fix formatting in arch/arm/core/aarch64/switch.S

v12:
	Remove TLS support from this patch now that TLS is upstream
	Require THREAD_LOCAL_STORAGE when using PICOLIBC for architectures
	that support it.

v13:
	Merge errno changes as they're only needed for picolibc.
	Adapt cmake changes suggested by Torsten Tejlmand Rasmussen

v14:
	Update to picolibc 1.7 and newer (new stdin/stdout/stderr ABI)

v15:
	Respond to comments from dcpleung:
	* switch kernel/errno to use CONFIG_LIBC_ERRNO instead of
          CONFIG_PICOLIBC
	* Add comment to test/lib/sprintf as to why the %n test
	  was disabled for picolibc.

v16:
	Switch picolibc to a module built with Zephyr. This eliminates
	toolchain dependencies and allows compiler settings for Zephyr
	to also be applied to picolibc.

v17:
	Provide Zephyr-specific 'abort' implementation.
	Support systems with MMU

v18:
	Allow use of toolchain picolibc version.

v19:
	Use zephyr/ for zephyr headers

v20:
	Add locking
	Use explicit commit for picolibc module

v21:
	Create PICOLIBC_SUPPORTED config param. Set on arc, arm, arm64,
	mips and riscv architectures.

Signed-off-by: Keith Packard <keithp@keithp.com>
2022-06-22 13:15:55 +02:00
Gerard Marull-Paretas 9d08e4fba0 manifest: update hal_gigadevice
Pull latest changes that include common HAL headers.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2022-06-22 18:41:19 +09:00
Glauber Maroto Ferreira 7e1baee44b west.yml: hal_espressif: updates to latest revision
Updates hal_espressif's revision to include:
- latest pinctrl definitions.
- support for building ESP32C3 USB driver

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
2022-06-16 11:27:49 +02:00
Artur Hadasz 2094bfa183 drivers: ieee802154: nrf5: Fix DRX_ADJUST workaround
This PR introduces a fix for DRX window being triggered to early during
CSL. Fixes were also introduced in the nrf 802154 radio
driver, so removed the unneeded DRX_ADJUST constant.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
2022-06-13 12:09:57 +02:00
Bartosz Bilas 53768606da manifest: hal_nxp: update hal revision to pull in adc etc driver
It includes ADC External Trigger Control driver.

Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
2022-06-10 09:48:50 +02:00
Andrzej Puzdrowski 0b9f0a45ab manifest: MCUboot update
bring fix from mcu-tools/mcuboot:

- espressif:esp32: Move app entry point call back to
  iram_loader_seg region

fixes #45349
fixes #46093

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-06-05 14:48:08 +02:00
Yuriy Vynnychek d0e07b6552 west.yml: updated hal_telink to new commit (BLE controller)
Updated hal_telink to new commit with B91 BLE controller suport.

Signed-off-by: Yuriy Vynnychek <yura.vynnychek@telink-semi.com>
2022-06-05 14:45:10 +02:00
Andrzej Puzdrowski afceecb2d3 manifest: MCUboot update
bring fixes from mcu-tools/mcuboot

- disables CONFIG_USB_DEVICE_REMOTE_WAKEUP as it is unsupported by MCUboot
- fix CONFIG_MCUBOOT_INDICATION_LED usage
- bootutil: zephyr: Fix not including tinycrypt path when needed
- bootutil: zephyr: Fix not linking with mbedtls when needed
- boot: zephyr: add Kconfig for arm cortex-m that implements a cache

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2022-05-27 15:21:57 -07:00
Erwan Gouriou ce0b918b50 west.yml: hal_stm32: Use remap info in stm32f1 pinctrl nodes names
Fixes #45916

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-05-25 11:20:21 -07:00
Gerard Marull-Paretas 8b8d7b99ce manifest: update lvgl revision
Latest revision fixes compilation of LVGL when
CONFIG_LEGACY_INCLUDE_PATH=n.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-05-25 14:19:18 +02:00