Update Zephyr fork of MCUboot to revision:
736234caa5ee0b3090cf02e5af0c2dc798aa4beb
Brings following Zephyr relevant fixes:
- c7aa2c0 boot_serial: Fix issues with single slot mode/encrypted
images
- 6ba46c0 boot_serial: Fix issue with queued commands
- 274547c bootutil: PSA Crypto ECDSA enablement
- 8f8fbf9 zephyr: Fall back to minimal C library
- 5c5222f boot_serial: Fix include
- b847a33 espressif: use minimal libc as default for ESP32 boards
- 480b97f boot_serial: Fix missing point if using snprintf
- 3790f5f boot: zephyr: use indication LED also in timeout based
recovery
- 0035c33 zephyr: Provide third image cases for direct image
upload
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Synchronizes with the new upstream RX/TX timestamp definition in
OpenThread based on the standard's SFD.
This change is synchronized with the upstream OpenThread implementation
via west.yml.
Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
This commit:
* adds the `CONFIG_SOC_GECKO_SERIES0` Kconfig option for Gecko Series 0
SoCs
* selects the proper `CONFIG_SOC_GECKO_SERIESx` option where it's currently
missing
Fixes#62806.
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
New nrfx revision fixes issue in the PWM driver causing build
errors due to invalid include when workaround for anomaly 109
is enabled.
Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
Add a MBOX driver wrapper around the NXP MU, simular to
the existing wrapper around the NXP S32 MRU. This allows Zephyr IPC
to work based on the MU, on a number of NXP boards.
Also update the SHA of NXP HAL to enable the Kconfig for this driver.
Signed-off-by: Yicheng Li <yichengli@google.com>
The percepio module change removes unused kernel ports from the
zephyr version of the percepio module.
Signed-off-by: Aron Lander <aron.lander@percepio.com>
This commit adds the DFM (DevAlert target side code) module and
moves the TraceRecorder module into the percepio module, which
results in the TraceRecorder module definition being removed
from the west manufest and module definition within zephyr.
Signed-off-by: Aron Lander <aron.lander@percepio.com>
Make HCI driver compatible to the updated versions of the
EFR32 Bluetooth library BLOBs consisting of:
* libbluetooth_controller
* libbgcommon
* librail
Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
Updates the TI hal modules to include the following fixes in Zephyr's
ClockP API implementation:
* The unused stubs.h header was removed.
* The ClockP implementation contained some cruft due to an incomplete
migration from the ms based to the tick based kernel timer API.
* The ClockP implementation assumed timeouts and periods to be given in
ms although TI's API always expected ticks.
* A fix for a major conversion bug in TI's own usage of the ClockP API
throughout the SimpleLink framework is included.
Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
update west to fetch acpica PR 882 for running CI job. This is a temp
commit to verify CI job and will update with latest commit once acpica
PR get merged into mainline.
Signed-off-by: Najumon B.A <najumon.ba@intel.com>
In this board, there are eight PWM channels from
EMIOS 0 CH0 --> EMIOS 0 CH7 that can be used to
generate PWM pulse to outside of the board.
Moreover, there are three RGB leds that can use
PWM pins for blinking, faded leds
Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
Update TF-M version with fix for build with shared boot data enabled,
i.e. CONFIG_TFM_MCUBOOT_DATA_SHARING=y.
Regression from: 485fa940aa
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
* In Zephyr: The HW models now include N interrupt controllers
The interrupt handling code needs to target one controller
specifically.
* Update the HW models module to
57b61a9a2da75c860f15ca79522b24d57992df2c
Including the following:
* 57b61a9 INT CNTRL: Generalize to N controllers
* 1ea8194 nrf_bsim_redef.h: Add first definitions for nrf5340
* 5f81ee9 irq_ctrl: Lower a bit HW event priority
* 0986acc RNG: Add nrf53 variant in model
* 09345da RNG: Generate level interrupts instead of pulse ones
* f9b7c7a DPPI: Add first version
* 62dabd3 HW models: Initial peripheral adaptation for multi-int_cntr
* f54b59d HW models: Adding initial nrf5340 structure
* fb1edd9 HW models: Use HW types definitions only where neded
* 2744f4c Add basic support for variants
* a5f79cd nrf_bsim_redef.h: Remove unnecessary redefinitions
* 2c781dd HW_models: Improve includes
* bdb0a08 minor: Remove non-ASCII characters from source
* b5e95bd RADIO: Corrected note about MAXLEN and CRCINC behaviour
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Update SNVS pin names in RT11xx DTSI files to align with new pin data
generated for the RT1176 and RT1166 processors. This pin data is stored
within the NXP HAL, so the SHA of the HAL is also updated by this
commit.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
- fix i2c hang issue
- switch hpet/i2c/uart/gpio to use osxml generated header files for
IP registers
- spi dma support
Signed-off-by: Dong Wang <dong.d.wang@intel.com>
Update Zephyr fork of MCUboot to revision:
11ecbf639d826c084973beed709a63d51d9b684e
Brings following Zephyr relevant changes and fixes:
- 11ecbf63 zephyr: use cmsis_core.h header
- da65db00 zephyr: Provide slot definitions for three images
- 2c61caf6 bootutil: Move flash_area_id_to_image under ifdef
- 904d0c46 bootutil: Add DirectXIP version of boot_set_next
- 2a874b6e zephyr: Do not build in debug mode
- 258a6c7d bootutil: Fix support for more than 2 flash areas
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
The Xtensa HAL has been updated with the following changes:
* Removed intel_s1000 overlay files as it is no longer needed.
* Fix uninitialized variable warning in xthal_v2p()
* Add config and overlay files for dc233c core so we can use
QEMU with this core to test MMU code.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Convert the nrf52_bsim board, to use the native simulator
as its engine.
This means some of the functionality the board included
before is now handled by the native simulator, including
the overall program main and CPU/HW scheduling.
Note that this board remains separate from the native_sim
board, even if both use the native simulator.
Also update the nRF HW models component to a new version
which has been converted into an extension for the
native simulator.
After this change, it becames also possible to build
the nrf52_bsim with an embedded C library, and to
use with it the Zephyr POSIX API shim.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The CMSIS module glue code was part of arch/ directory. Move it to
modules/cmsis, and provide a single entry point for it: cmsis_core.h.
This entry header will include the right CMSIS header (M or A/R).
To make this change possible, CMSIS module Kconfig/CMake are declared as
external, allowing us to add a new Zephyr include directory.
All files including CMSIS have been updated.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
The nRF HW models have been updated to include the following
fixes and improvements:
* RADIO: Handle MAXLEN and other related improvements
* PPI: Added 2 notes about status and shortcommings
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Align all sensor drivers that are using stmemsc (STdC) HAL i/f
to new APIs of stmemsc v2.3
Requires https://github.com/zephyrproject-rtos/hal_st/pull/16
Signed-off-by: Armando Visconti <armando.visconti@st.com>
The existing heap starts at the beginning of SPIRAM which is also occupied
by the WiFi stack if CONFIG_ESP32_WIFI_NET_ALLOC_SPIRAM is enabled. This
results in memory corruption.
Update the linker description to add a _spiram_heap_start symbol and add a
KConfig size option to allow the SPIRAM stack to be correctly located and
sized. Requires matching commit in hal_espressif.
Fixes: 61359
Signed-off-by: Eric Holmberg <eric.holmberg@northriversystems.co.nz>
This enables the power management for Intel ISH. It supports D0i1,
D0i2, D0i3 power saving modes for ISH.
Signed-off-by: Leifu Zhao <leifu.zhao@intel.com>
The change is to update the location of the NXP HAL license file (BSD-3)
to the root of the NXP HAL repo.
Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
Implement the sys_poweroff hook for all ESP32 SoCs based on the previous
SOFT_OFF implementation.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
The nRF HW models have been updated to include the following
fixes and improvements:
* TIMER: Fix bogus events/interrupts if shorts where used
* PPI: Handle well an event triggering a task twice
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Update trusted-firmware-m to 1.8.0, mbedtls to 3.4.0, and tf-m-tests to
1.8.0. Includes minor cmake changes due to file renames and such, as well
as adjusting the return type of a callback function that has changed since
the previous version of trusted-firmware-m.
Signed-off-by: David Brown <david.brown@linaro.org>
SiLabs' sleeptimer driver supports several hardware peripherals, of
which the counter driver so far only supports the RTCC-based variant.
This patch adds support for the SYSRTC-based sleeptimer implementation,
which is required for Gecko SoCs that do not have an RTCC module.
Signed-off-by: Markus Fuchs <markus.fuchs@ch.sauter-bc.com>
The Zephyr-specific Segger SystemView configuration was not used as
the same file was available inside the external Segger module with
higher import priority.
Fixes the regression by moving the SystemView configuration to the same
place in the external module where RTT configuration already resides and
thereby creates a canonical include path to avoid further regressions of
the same kind.
Fixes: #61133
Signed-off-by: Florian Grandel <fgrandel@code-for-humans.de>
This version introduces support for the syscalls extension,
which greatly reduces the amount of bandwidth being used
for tracing syscalls.
Signed-off-by: Aron Lander <aron.lander@percepio.se>
Add initial support for NXP S32 GMAC/EMAC:
- it's a copy-implementation with DMA data buffers and buffer
descriptors in non-cached memory (buf len and ring size configurable)
- PHY interface selection only implemented for S32K3 devices as it is
SoC-specific
- no PHY driver integration, it works as a fixed link with speed/duplex
configured through devicetree
- supports multicast hash filtering, promiscuous mode, MAC loopback
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
The nRF HW models have been updated to include the following
fixes and improvements:
* TIMER: Add missing HAL function override
* TIMER: Added notes about minor differences
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The nRF HW models have been updated to include the following
fixes and improvements:
* RADIO: Bugfix if DISABLE or STOP during first us of TxStart
* File opening: Create folders if missing
* TIMER: Completed, including all count functionality
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Update uoscore-uedhoc repository to the latest revision.
Align uoscore tests with the API changes.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This adds basic support for 'B' revision of the Silicon Labs EFR32BG
BRD4184 (Thunderboard BG22) board. Due to missing drivers, some of the
on-board peripherals are currently unsupported:
- Silicon Labs Si7021 relative humidity and temperature sensor
- Vishay VEML6035 ambient light sensor
- Knowles SPK0641HT4H-1 MEMS microphones
- TDK InvenSense ICM-20648 6-axis inertial sensor
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Enable all channels that available connector on board.
ADC0 channel 6 on precision group with normal end chain
callback.
ADC1 channel 2 on precision group with normal end of
conversion callback.
ADC2 channels 3, 4, 5 on precision group with normal end
of conversion callback.
Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
Reuse existing MCUX-based shim driver for FlexCAN.
Enable flexcan0 for Zephyr canbus to run tests.
Signed-off-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
When `nrfx_pwm_stopped_check()` was called multiple times it was
returning incorrect value after second and next calls.
Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
The nRF HW models have been updated to include the following
fixes and improvements.
* RADIO: Improve T_IFS support, and fix for low latency mode
* docs: Miscelaneous improvements
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The NXP S32 QSPI controller acts as an interface to up to two serial
flash memory devices, each with up to eight bidirectional data lines,
depending on the platform. It is based on a LUT enginee to interface
through commands with different memory types including flash NOR and
Hyperram.
This patch adds support for the QSPI in S32K344 which supports a single
memory device (side A) with up to four bidirectional data lines and SDR
only. Nevertheless, the memory controller is implemented flexible enough
to be extended to support more feature-rich QSPI blocks.
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Refactor the ESP32 target SOCs together with
all related boards. Most braking changes includes:
- changing the CONFIG_SOC_ESP32* to refer to
the actual soc line (esp32,esp32s2,esp32s3,esp32c3)
- replacing CONFIG_SOC with the CONFIG_SOC_SERIES
- creating CONFIG_SOC_FAMILY_ESP32 to embrace all
the ESP32 across all used architectures
- introducing CONFIG_SOC_PART_NUMBER_* to
provide a SOC model config
- introducing the 'common' folder to hide all
commonly used configs and files.
- updating west.yml to reflect previous changes in hal
Signed-off-by: Marek Matej <marek.matej@espressif.com>
Updates the west manifest to add an LVGL shell with initial memory
statistics and monkey testing support.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
Update trusted-firmware-m to 1.8.0, mbedtls to 3.4.0, and tf-m-tests to
1.8.0. Includes minor cmake changes due to file renames and such, as well
as adjusting the return type of a callback function that has changed since
the previous version of trusted-firmware-m.
Signed-off-by: David Brown <david.brown@linaro.org>
Add Nuvoton numaker series flash memory controller(FMC) with erase,
read & write features of soc-flash. Also update Nuvoton manifest
to include zephyrproject-rtos/hal_nuvoton#6.
Signed-off-by: cyliang tw <cyliang@nuvoton.com>
Update STM32Cube packages:
update stm32c0 to cube version V1.1.0
update stm32f2 to cube version V1.9.4
update stm32h5 to cube version V1.1.0
update stm32l1 to cube version V1.10.4
update stm32u5 to cube version V1.3.0
update stm32wb to cube version V1.17.0
update stm32wba to cube version V1.1.0
Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
Update Zephyr fork of MCUboot to revision:
6a8746d7acd75ff81fb6888d7776f412663f7897
Brings following Zephyr relevant fixes:
- 6a8746d boot_serial: fix image number handle in image upload
request
- f2cb550 boot_serial: fix misuse of 'matched' param from
zcbor_map_decode_bulk()
- 82feb9a boot_serial: Fix showing images that are not valid
- 61962b9 bootutil: fix FIH int conversion for security_cnt
- e6e4801 zephyr/boot_serial_extension: Fix zcbor header path
- a5db515 bootutil/crypto: SHA256 abort function return state
- 0361ad3 bootutil/crypto: SHA256 init functions should return a
status
- f92a219 bootutil/crypto: Fix minor typos in comments for RSA
modules
- 4854700 bootutil: Add image_index to additional logging messages
- 2f85b7e bootutil/crypto: Fix the common.h header
- c321a70 bootutil/crypto: Add a crypto backend for SHA256 based
on PSA Crypto APIs
- 02bf072 bootutil/crypto: Refactor the RSA signature verification
and encryption
- ba5fb1c bootutil: Add image_index to common prints
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
The nRF HW models have been updated to include the following
fixes and improvements.
* GPIO & GPIOTE: Add HW models, including PPI connections and HAL glue.
* NRF_NVMC: Avoid segfault on double call of cleanup
* BLECrypt_if: Avoid segfault on double call of cleanup
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The S32K3 MCUs are 32-bit Arm Cortex-M7-based microcontrollers with a
focus on automotive and industrial applications. The S32K344 features
a lock-step core, internal flash, RAM and TCM with ECC.
Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
Co-authored-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
Update the bsim top manifest repo and all its subrepos
to bsim release 2.2.1.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The nRF HW models have been updated to include the following
fixes and improvements.
* PPI: add support for nrf_ppi_group_enable
* BLECrypt: Widen search for crypto library
* Makefile: Switch to gnu11 from c11 due to HAL
* NVMC: Minor fixes in command line options descriptions
Which enable more 15.4 functionality with the nrf driver
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This allows the MIPI Sys-T library to be built with minimal C
library. This is due to lack of support for wchar in our
minimal C library. This simply tells the library to skip any
wchar support.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Due to a limitation in the west import feature,
a project cannot both have an import and be part of a group.
Moreover, when a project has an import and is not filtered
out, it is required for that project to be present
for most west commands to work.
As the bsim project is not filtered by default,
it causes trouble for users who never run a
west update but try to use west further.
To work around this issue, let's disable the import
in the bsim project, and instead replicate its content
inside Zephyr's main manifest.
Having a replica of the babblesim manifest content
is likely to cause some confusion in users,
wrt to which version of components they are using.
So whenever west supports both imports and groups, or another
simple and nicer way of working around this, it should be used.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Update LVGL revision with performance tuning options, including the
following:
- Enable forcing LVGL to perform a full display refresh on every update
- Enable custom alignment and linker section location of LVGL
framebuffers.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit enabled the Silicon Labs Bluetooth interface driver on the
EFR32BG27 SoC series in the Kconfig.
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This udpates the manifest SHA to use the latest Xtensa HAL
commit which is to support building intel_adsp_ace15_mtpm
using Zephyr SDK.
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit adds BLE support to the `efr32xg24_dk2601b` board. It also
modifies the SiLabs BT HCI driver to accomodate the EFR32xG24 SoC
series.
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This fixes an issue related to SPIRAM and DRAM_1 region
access. It is possible that the application crashes due to
invalid pointer value.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Update Zephyr fork of MCUboot to revision:
2878eb4e32fabc14bc391c3221cbf285064d9db4
Brings following Zephyr relevant fixes:
- ec2ac82c boot/zephyr: switch main return type to 'int'
- 67693442 boot: zephyr: esp32: zephyr port
- 0a1ef372 bootutil/crypto: Move BOOTUTIL_CRYPTO_ECDSA_P256_HASH_SIZE
into common
- 10529d30 bootutil/crypto: Have a single ECDSA verification module
- 966ac818 bootutil/crypto: Extend ECDSA to support P384 curve
- 25390ad5 bootutil/crypto: Have a single ECDSA abstraction file
- cf36d670 bootutil/crypto: Add license disclaimer to ecdsa_p256.h
- 557451d2 bootutil/crypto: Add a generic signature validation module
for ECDSA
- c725cee1 docs: Add release note snippet for ECDSA TLV
- 30978516 sim: Remove curve specific ECDSA TLVs
- 6205c10f sim: Add generic ECDSA TLV support
- 5704174c imgtool: Add generic ECDSA TLV support
- b08e77e0 bootutil: Create new generic ECDSA TLV
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Update to the latest NRF HW models which include
models of the NVMC and UICR peripherals,
as well as some other (very) minor fixes.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
KSGEN and CRYPT tasks and corresponding events weren't compiled
for boards with nRF51 SoCs due to change in HAL.
Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
This commit adds the Gecko IADC driver and support for it to the
efr32bg_sltb010a board.
Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
Signed-off-by: Roman Dobrodii <rdobrodii@antmicro.com>
This commit adds the SiLabs Bluetooth HCI driver. It also enables this
BLE HCI driver on the efr32bg_sltb010a board.
Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
To facilitate users experience, fetch the required
BabbleSim components using the west manifest.
Until now, users would need to either use the Zephyr
docker image, or fetch bsim on their own.
For many years there has been a request to automate this
process. This is the first step.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
HAL API changes in ethernet and pwm
SoC RT595 power management code change
west.yml update
Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
With -ffreestanding disabled, Zephyr SDK 0.15.0 generates a potentially
uninitialized variable warning that appears to be a false positive. Pull
in the upstream version of the module which contains the fix.
Signed-off-by: Keith Packard <keithp@keithp.com>
Introduce PINT driver, for NXP pin interrupt and pattern match engine.
The driver currently supports only the pin interrupt feature of the
PINT.
Add DTS entires for the PINT on LPC and RT devices that support this
peripheral, and remove the interrupt defintions that are PINT specific
from the GPIO module on these devices.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Among other things, this update brings:
* C++ improvements
* float16 support
* Improved docs
* -Wall and -Wconversion compliance
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
In d540cf8877 I tried to optionally enable the cache management
functions in Open-AMP introducing a new CONFIG_OPENAMP_WITH_DCACHE
symbol.
This is not working. Introduce a proper fix to have this actually
working correctly as intended.
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
The nRF9161 is technically a SiP (System-in-Package) that consists of
the nRF9120 SoC and additional components like PMIC, FEM, and XTAL,
so for nrfx/MDK the nRF9120 SoC is to be selected as the build target,
but since the nRF9161 is what a user can actually see on a board, using
only nRF9120 in the Zephyr build infrastructure might be confusing.
That's why in the top level of SoC definitions (for user-configurable
options in Kconfig, for example) the nRF9161 term is used and nRF9120
underneath.
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
Move the Segger RTT module Kconfig to modules/segger/kconfig. The Segger
debug library is not a driver and should not reside under drivers/debug.
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
Update to the latest HW models which include models
of the TEMP peripheral
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Align all sensor drivers that are using stmemsc (STdC) HAL i/f
to new APIs of stmemsc v2.02. Please note that now a new function
callback, mdelay(), must be provided in case the stmemsc HAL requires
to wait for a certain amount of milliseconds before or after some
special operations.
Requires https://github.com/zephyrproject-rtos/hal_st/pull/13
(merged as 5948f7b3304f1628a45ee928cd607619a7f53bbb)
Signed-off-by: Armando Visconti <armando.visconti@st.com>
Updates MCUboot to commit 6902abb from upstream which includes:
6902abb zephyr: Create common boot serial enter function
35941fe boot: zephyr: Add pin reset serial recovery entrance method
fd79db3 zephyr: boot: serial_recovery: Add no application entrace
method
b3e3ce3 boot: zephyr: serial_recovery: Add boot mode enter ability
e5c57dd boot_serial: Only have build number if non-zero
8a3b32c bootutil: Refactor signature verification
4e07d8f docs: add release note snippet for dumpinfo
ca56135 imgtool: Add 'dumpinfo' command
c050573 docs: Add release note for p224 removal
75c7c31 sim: Remove P224 curve references
3d92a6c imgtool: Remove P224 curve references
206b914 bootutil: Remove P224 curve
a97f009 Update readme for next dev version
23d2883 Update to version 1.10.0
cdf9de0 doc/readme-zephyr: document the serial recovery
4e9d86a doc: Added serial recovery documentation
827118f boot: serial_recovery: Add image hash support
f5e7753 boot_serial: support fragmentation for outgoing SMP packets
569b1d6 Update to version 1.10.0-rc1
d2dfa1b docs: Create release notes for 1.10.0 release
4337fee docs: Describe the release note snippet requirement
d4184eb docs: Setup template for release note process
1090d8f zephyr: Check zephyr,uart-mcumgr as candidate for serial
recovery
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
The init infrastructure, found in `init.h`, is currently used by:
- `SYS_INIT`: to call functions before `main`
- `DEVICE_*`: to initialize devices
They are all sorted according to an initialization level + a priority.
`SYS_INIT` calls are really orthogonal to devices, however, the required
function signature requires a `const struct device *dev` as a first
argument. The only reason for that is because the same init machinery is
used by devices, so we have something like:
```c
struct init_entry {
int (*init)(const struct device *dev);
/* only set by DEVICE_*, otherwise NULL */
const struct device *dev;
}
```
As a result, we end up with such weird/ugly pattern:
```c
static int my_init(const struct device *dev)
{
/* always NULL! add ARG_UNUSED to avoid compiler warning */
ARG_UNUSED(dev);
...
}
```
This is really a result of poor internals isolation. This patch proposes
a to make init entries more flexible so that they can accept sytem
initialization calls like this:
```c
static int my_init(void)
{
...
}
```
This is achieved using a union:
```c
union init_function {
/* for SYS_INIT, used when init_entry.dev == NULL */
int (*sys)(void);
/* for DEVICE*, used when init_entry.dev != NULL */
int (*dev)(const struct device *dev);
};
struct init_entry {
/* stores init function (either for SYS_INIT or DEVICE*)
union init_function init_fn;
/* stores device pointer for DEVICE*, NULL for SYS_INIT. Allows
* to know which union entry to call.
*/
const struct device *dev;
}
```
This solution **does not increase ROM usage**, and allows to offer clean
public APIs for both SYS_INIT and DEVICE*. Note that however, init
machinery keeps a coupling with devices.
**NOTE**: This is a breaking change! All `SYS_INIT` functions will need
to be converted to the new signature. See the script offered in the
following commit.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
init: convert SYS_INIT functions to the new signature
Conversion scripted using scripts/utils/migrate_sys_init.py.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
manifest: update projects for SYS_INIT changes
Update modules with updated SYS_INIT calls:
- hal_ti
- lvgl
- sof
- TraceRecorderSource
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
tests: devicetree: devices: adjust test
Adjust test according to the recently introduced SYS_INIT
infrastructure.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
tests: kernel: threads: adjust SYS_INIT call
Adjust to the new signature: int (*init_fn)(void);
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
We're already using all of the relevant changes from 1.8.1, but it's good
to use a released version instead of an intermediate revision.
Signed-off-by: Keith Packard <keithp@keithp.com>
FixPoint1616_t is typedef'd to uint32_t. The result of dividing two
variables of that type is also unsigned. Passing an unsigned value to abs
doesn't make sense.
Cast the value to int32_t in case the computaton of diff1_mcps generates a
negative result so that xTalkCorrection doesn't end up with a huge value.
Signed-off-by: Keith Packard <keithp@keithp.com>
This update removes the LITTLE_ENDIAN/__LITTLE_ENDIAN defines in all of the
chip-specific headers as those conflict with usage of these macros in
picolibc.
Signed-off-by: Keith Packard <keithp@keithp.com>
Update Zephyr fork of MCUboot to revision:
143485e35b8da7d234677d8920a28f5ea03f6d09
Brings following Zephyr relevant fixes:
143485e3 zephyr: Add missing Kconfig dependencies for USB DFU
16f3de56 imgtool: fix boot_magic when -e big and max-align > 8
259d989f bootutil: Fix erase of trailer when located in scratch area
e8294b2a boot_serial: Add packed to struct
68dcc0ee zephyr: single_loader: Switch to flash_area_get_sector
069aea48 zephry: Add flash_area_get_sector
9551b6ef boot: zephyr: Remove deprecated GPIO Kconfig entries
dc8ef879 zephyr: serial_recovery: Use Zephyr manifest zcbor files
e026c367 imgtool: sign: allow using 16-bit custom TLVs from valid range
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This update includes the following:
* Add ESP32-S3 support
* Modify BT heap to use system heap instead of custom heap,
which adds ~13kB of RAM to application.
Fixes#55653#54131
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Revert the locally fixed issues for the zephyr 3.3.0 release and
replace them with the official fixes submitted upstream.
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
- Added Cmakefiles for modules\hal_infineon\btstack-integration\,
where handle generation of Bluetooth include blob from HCD binary.
- Supported following device/modules:
-- CYW43012/MURATA-1LV module
-- CYW4343W/MURATA-1DX module
-- CYW43439/MURATA-1YN module
-- CYW4373/STERLING-LWB5plus module
- Added possibility to use user provided BT Firmware HCD file via
kconfig (path must be defined in
CONFIG_CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB)
- Updated top makefile
Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
Add support for BeagleConnect Freedom, a TI CC1352P7 based development
board with enclosure and antenna featuring BLE and SubGHz wireless, 2x
mikroBUS sockets, external flash, light, temperature/humidity sensors,
USB-to-UART bridge, buzzer and battery charger.
See https://beagleconnect.org for details.
Previous closed pull requests:
* https://github.com/zephyrproject-rtos/zephyr/pull/38718
* https://github.com/zephyrproject-rtos/zephyr/pull/36703
Cc: Chris Friedt <chris@friedt.co>
Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
Signed-off-by: Vaishnav Achath <vaishnav@beagleboard.org>
Signed-off-by: Erik Larson <erik@statropy.com>
Signed-off-by: Yadnik Bendale <yadnik22@gmail.com>
Signed-off-by: Baozhu Zuo <zuobaozhu@gmail.com>
Product URL: https://www.ti.com/product/CC1352P7
Datasheet : https://www.ti.com/lit/ds/symlink/cc1352p7.pdf
Features:
Powerful 48-MHz Arm® Cortex®-M4F processor
* 704KB flash program memory
* 256KB of ROM for protocols and library functions
* 8KB of cache SRAM
* 144KB of ultra-low leakage SRAM with parity for
high-reliability operation
* Dual-band Sub-1 GHz and 2.4 GHz operation
Updates:
* Remove CC1352P7_LaunchXL due to compliance checks
* Add CC1352P7 updates
* Update hal_ti for CC1352P7 support
* Remove blank line at end of modules/Kconfig.simplelink
* Split struct and typedef for pinctrl_soc_pin/pinctrl_soc_pin_t
* Reference cc13x2_cc26x2/pinctrl_soc.h
* Reference cc13x2_cc26x2/soc.h
Signed-off-by: Vaishnav Achath <vaishnav@beagleboard.org>
Update to the latest nrf52 HW models which include
a multitude of updates, including support for 802.15.4 in the
radio.
NOTE!: Requires the updated Babblesim v2 dev-phy API,
with the new Rx continuation on header evaluation mechanism.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This updates west.yml to pull the version of picolibc that includes both
the patches in #54391 as well as the fix providing compatibility for the
'deprecated' attribute when using GCC versions before 4.5, such as the GCC
based XCC compiler. Changes for 'weak' attributes were added to avoid using
inline asm statements for compilers that support the necessary attributes.
This commit is synchronized with Zephyr SDK:
https://github.com/zephyrproject-rtos/sdk-ng/pull/650
Signed-off-by: Keith Packard <keithp@keithp.com>
Update nanopb to the latest released version 0.4.7.
This fixes a recurring issue where the python-protobuf breaks with
the protoc compiler and forces a pure python implementation.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit updates revision of hal_nordic repository to bring the
latest changes in IEEE 802.15.4 driver.
Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
Just a minor fix in the edtt which mostly avoids
flooding the logs with exceptions in some error cases.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Crypto test-case 221 has a false negative, not passing because the ECC
family is disabled, not because of the key length.
Increase the timeout for the nRF5340/nRF9160 devices.
RSA keygen will sometimes take more than 90 seconds
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
The commit resets MCUboot revision after zephyrproject-rtos/mcuboot
main branch has been overwritten with mcuboot/mcuboot main.
The reset has been done due to MCUboot fork history, in Zephyr,
has been broken and contained duplicate commits.
For details look at issue: #55303.
The reset of MCUboot also requires update to following repositories:
trusted-firmware-m
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
Get blob support for cm0+ in hal_infineon
Updated revision of hal_infineon to:
8485083ad91d3e2cc5d706da3464716718a6a42e
Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
Add support for several esp32s3 support on HAL, such as:
* I2C
* SPI
* Timer
* WDT
* LEDC
* MCPWM
* PCNT
Signed-off-by: Lucas Tamborrino <lucas.tamborrino@espressif.com>
Fix spiram WP_SD3 pin reference as that should be checked from efuse
values in case no customized number is set.
Fixes#54005
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Picolibc upstream has several fixes in the cmake build scripts that are
useful when compiling with clang. Move the picolibc revision forward to
include all of those changes.
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit updates hal_nordic revision to bring the latest changes in
nRF IEEE 802.15.4 radio driver.
Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
Updates EDTT to newest version and adds the new test cases
Update _controller_tests_inner.sh to support using packet inspection
and the new low-level device feature in EDTT
Build configs for the BSim test apps updated to support extended
advertising
Signed-off-by: Troels Nilsson <trnn@demant.com>
Use latest STM32 HAL to have the new STM32F1xx PWM inputs.
Also update the existing boards with correct new PWM outputs definition
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
Includes changes to allow Zephyr to avoid building the initial
attestation service at build time.
Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
Fix SAU configuration on U5 to allow non secure application to use
end of flash which is not used by secure.
Fixes#53231
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Update TF-M from 1.6.0 to 1.7.0
Update MBedTLS from 3.1.0 to 3.2.1.
Updates the cmake wrapper for changes introduced in TF-M 1.7.0.
Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Signed-off-by: David Brown <david.brown@linaro.org>
Picolibc version 1.8 was recently released. This release includes
a bunch of patches made to support Zephyr.
Signed-off-by: Keith Packard <keithp@keithp.com>
The CAAM hardware needs to read RNG values into a non-cache
buffer. Since the contract to Zephyr RNG functions do not
require non-cache buffers, we use an intermediate non-cache
buffer to retrieve results.
Added a Kconfig to control the size of the intermediate buffer.
Fixes#53035
Signed-off-by: David Leach <david.leach@nxp.com>
The nRF HW models have been updated to correspond to a 52833 instead
of a 52832. Let's follow them.
The motivation for the change is to enable proper BIS encryption support
(for BT LE Audio ISO).
Changes:
* Point in manifest to latest HW models
* SOC_COMPATIBLE_NRF52832 has been removed, and SOC_COMPATIBLE_NRF52833
added in its place (with no uses at this point)
* Where SOC_COMPATIBLE_NRF52832 was used to set encryption like for a 52832
(to avoid using the MAXPACKETLENGHT), we set the condition to just
SOC_NRF52832.
Note: The MAXPACKETLENGHT register exists in the new simulated nrf52833,
thought it does nothing.
* In the BLE ctrl LLL radio HAL, all macros are renamed accordingly
(timings are NOT changed).
* Board dts definition now refers to the 52833 soc definition. New 52833
features set as not supported by now.
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
Pull mcuboot change which refactor sys_clock_disable to only be called
when the system clock driver supports this feature.
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Point to the modified version of hal_stm32 which allow to use
ETH HAL V2 on stm32F7.
Update zephyr driver to allow it.
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
Cancelling transfers on suspend contradicts Universal Serial Bus
Specification Revision 2.0, 9.1.1.6 Suspended:
* When suspended, the USB device maintains any internal status,
including its address and configuration.
The internal status definitely includes any pending USB transfers.
If there is a class that wants to cancel transfer on suspend, then the
cancel should be initiated by the class, not the device stack itself.
Update hal_nordic to a version that does not abort all endpoints at
suspend. It seems that aborting endpoints on suspend in nrfx driver was
the actual reason why transfers were canceled on suspend.
Remove transfer retriggering on resume from CDC ACM and Bluetooth class
implementations because transfers are no longer cancelled on suspend.
Other classes do not have any suspend related workarounds implemented.
Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
Update usage of zephyr_code_relocate to follow new API. The old method
of relocating a file was the following directive:
zephyr_code_relocate(file location)
The new API for zephyr_code_relocate uses the following directive:
zephyr_code_relocate(FILES file LOCATION location)
update in tree usage to follow this model. Also, update the NXP HAL SHA,
as NXP's HAL uses this macro as well.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit updates all deprecated `CONFIG_LIB_CPLUSPLUS` usages to:
* check if the Zephyr minimal C++ library is enabled using
`CONFIG_MINIMAL_LIBCPP` instead of relying on the
`CONFIG_LIB_CPLUSPLUS`-based inference.
* select `CONFIG_REQUIRES_FULL_LIBCPP` when there exists a component-
level C++ standard library dependency. This allows a component to
declare C++ standard library dependency without designating a
specific libray implementation.
* select the correct type of C++ standard library implementation to use
through one of the `CONFIG_LIBCPP_IMPLEMENTATION` choices.
Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
Update NXP HAL to latest revision. Commit
3e4406d98272dd53d623e4df8cc96ee040120312 within the NXP HAL broke builds
for some NXP platforms, so this manifest update will allow Zephyr to
skip that broken SHA.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This removes the tinycbor module and replaces references in it
e.g. in sample text to use the zcbor replacement.
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Update TF-M version which remove the downstream patch and replaces it
with the upstream TF-M patch for masking MBedTLS build warning of
unused const variable.
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Following updates previously done for other drivers, rename all
occurrences of S32 to NXP S32 to avoid ambiguity.
Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
hal_espressif systimer HAL calls are based on 1MHz reference.
This changes systimer driver to allow max clocking reference of 16MHz
and increases soc tick resolution by reducing min delay interval.
This also sets all ESP32-C3 socs to 16MHz hardware cycles reference.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Signed-off-by: Felipe Neves <felipe.neves@linaro.org>
west: format manifest to the correct notation.
Co-authored-by: Kevin Townsend <kevin@ktownsend.com>
Only relocate memc driver when CONFIG_FLASH=y.
CONFIG_FLASH_MCUX_FLEXSPI_XIP previously was dependent on
CONFIG_FLASH, but the scope of this Kconfig has changed.
Due to this, the memc driver now must have two checks, as it should not
relocated when the driver is being used for a memory controller that does
not expose the flash driver interface.
Since the NXP HAL also relocates the underlying FlexSPI driver
using a similar check, it is updated in this commit as well.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
The previous PR had been merged mistakenly, and it contained a reference
to a PR. Point to a SHA instead now that
https://github.com/zephyrproject-rtos/hal_nxp/pull/213 has been merged.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
MCUboot was synchronized to
https://github.com/mcu-tools/mcuboot/commit/d165e9b
ci: fih: update TF-M version to 1.7.0 and adjust test suite
docs: fix FIH example command in design.md
boot: Update Nordic's license identifier tag
espressif: add downgrade prevention feature
boot: zephyr: boards: nrf52840dk: Fix overlay
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
MCUboot was synchronized to
https://github.com/mcu-tools/mcuboot/commit/ad1fb3dde2
doc: actualize zephyr-rtos port README
Kconfig: prefer swap move if scratch_partition not enabled
Kconfig: Explicitly select CONFIG_CRC for CONFIG_MCUBOOT_SERIAL
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
In some simulated test cases, it can be usefull
to delay the boot of the CPU and the test initialization
for a while. Namely by the offset of the device
relative to other simulated devices.
We add the option to select so from command line.
By default the option is disabled so this change is
backwards compatible.
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
Config NOCACHE_MEMORY depend on ARCH_HAS_NOCACHE_MEMORY_SUPPORT. Enable
ARCH_HAS_NOCACHE_MEMORY_SUPPORT for Cortex-R52 to run NXP S32Z/E with
nocache attibute.
Enable nocache in each driver use it.
Signed-off-by: Duong Vu Nam <duong.vunam@nxp.com>
Introduce an API mirroring the CMSIS-DSP's basicmath. If CMSIS_DSP is
enabled, then it will by default be used as a backend. Developers may
opt into a custom backend by setting CONFIG_DSP_BACKEND_CMSIS=n. If
done, the application must provide `zdsp_backend/dsp.h` and optionally
implement the functions in its own .c files.
Signed-off-by: Yuval Peress <peress@google.com>
The update brings FAT FS revision with most Zephyr specific
source code changes removed, as required sources are now
stored in modules/fatfs/, within Zephyr project directory.
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
HAL for NXP S32 is updated to a newer version, hence some headers and
macro definitions must be updated accordingly.
Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>