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>
This commit updates hal_nordic revision to bring the latest changes in
nRF IEEE 802.15.4 radio driver.
Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
Adding module files for building the Arm Ethos-U Core driver.
Updating TFLU module file to build Ethos-U operator.
Adding hal_ethos_u to west manifest.
Signed-off-by: Kristofer Jonsson <kristofer.jonsson@arm.com>
Signed-off-by: Fredrik Knutsson <fredrik.knutsson@arm.com>
Update NXP boards that use flashless SOCs to include flash data
configuration blocks, as well as device configuration blocks where
required. These configuration blocks are used by the bootloader.
Although the files themselves are stored in NXP's HAL, CMake directives
are used to include them directly, and notify the user of their
existence when a new board is created, to aid in the bringup process.
This commit updates the revision of the NXP HAL to one that does not
include flash data configuration blocks, to prevent linker errors.
Note that due to merge order in the NXP HAL, the updated SHA will also
include NXP's S32 System Timer Module drivers.
Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
Includes a fix for the scenario where a PHY update event
arrives at the same time as a disconnect event.
Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
Add initial support for the NXP S32Z27 SIUL2 External
Interrupt Controller. Each SIUL2 node has a child node
will act as an interrupt-controller that processes external
interrupt signals.
This driver is required to manage GPIO interrupts.
Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
/__w/zephyr/modules/crypto/mbedtls/library/aes.c:307:23: warning:
'RT0' defined but not used [-Wunused-const-variable=]
307 | static const uint32_t RT0[256] = { RT };
| ^~~
/__w/zephyr/modules/crypto/mbedtls/library/aes.c:200:28: warning:
'RSb' defined but not used [-Wunused-const-variable=]
200 | static const unsigned char RSb[256] =
| ^~~
[360/437] Building C object
Fixes#51025
Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit pulls changes from trusted-firmware-m that replaces
dependency on MDK to nrfx.
Signed-off-by: Adam Wojasinski <adam.wojasinski@nordicsemi.no>
Updated hal_nxp so that it uses MIN/MAX/ARRAY_SIZE defined in
<zephyr/sys/util.h> when built for Zephyr. Also removed KB() internal
definition from public headers.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
Brings a few quality-of-life improvements for Zephyr, notably:
- No more collision with ARRAY_SIZE()
- C++ improvements
Add entry in release notes.
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This patch introduces support for NXP S32 devices, specifically for
S32Z27 from S32Z/E family.
NXP S32Z27 processors are composed of two Real-Time Units (RTU)
containing each four ARM Cortex-R52 cores with flexible split/lock
configuration, and dedicated internal SRAM.
Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com>
- Added precise check of the image size.
- loader: Added post copy hook to swap function.
- Added Kconfig option for setting swap using move as the default
swap algorithm.
- zephyr: fixed ram loading for ARM, with correct handling of
the vector table when code has moved to RAM.
- imgtool: Added option to export public PEM.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Update TF-M to include fix that returns PSA_ERROR_PROGRAMMER_ERROR
when the NS sends a request with malformed packet parameters for the
NS APIs in library mode.
This also changed the S APIs to return PSA_ERROR_PROGRAMMER_ERROR
instead of PSA_ERROR_INVALID_ARGUMENT in library mode.
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
Required for building the new usart driver with runtime configuration
support on all supported sam platforms.
Signed-off-by: Nick Kraus <nick@nckraus.com>
This commit updates openthread to b21e99b.
Secondly this commit aligns history of openthread to
Vanilla version 1:1.
Signed-off-by: Przemyslaw Bida <przemyslaw.bida@nordicsemi.no>
I've update FFF to run tests in the native CI for GitHub, so we no
longer need to run these extra tests. Remove the fff module from
west.yml since the module was only used in the CI and the header
was directly included in the Zephyr tree.
See https://github.com/zephyrproject-rtos/fff/pull/2
Signed-off-by: Yuval Peress <peress@google.com>
ESP32 Ethernet support required hal_espressif modifications:
Espressif Ethernet MAC HAL and pinctrl definitions
Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
Update to a more recent SOF commit:
87de994f49b37e385e748e47b769140df43451cf
This commit also has the SOF app integrated, so we do not need the sof
sample in the tree anymore and able to run the one from SOF directly.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Updates TF-M to fix an issue to now force generation of version 4
DWARF files to prevent issues with pyelftools.
Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Update the Zephyr's fork of loramac-node repository to include the fix for
async reception on Semtech SX127x modules. The commit is cherry-picked from
upstream repo.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Includes some fixes with pinctrl files (pins with analog switch found in
H7 series).
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
Use the FSL_FEATURE_MCG_FFCLK_DIV define to decide if we should
call the api to get Fixed Frequency Clock.
This fixes Issue #49924
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Limit allowed build platforms.
Building sample.bootloader.mcuboot for many platforms
is not possible (for instance a qemu).
The limit is need as otherwise zephyr-rtos/zephyr CI is
failing on any push to main branch or nightly CI run.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This update contains the version update which was reverted plus
relevant bugfixes.
The revert take places here: #50120
Synch up to the mcu-tools/mcuboot SHA:
73d69e9b566daac1a91724aa1237bfc1b9d51fa3
- Switched zephyr port from using FLASH_AREA_ macros to FIXED_PARTITION_
macros
- Made flash_map_backend.h compatible with a C++ compiler
- Enabled watchdog feed by default
- Allowed to get the flash write alignment basing on the zephyr,flash
DT chosen node property
- fixed watchdog device typos
- serial recovery: fixed build failure if CONFIG_BOOT_SERIAL_DETECT_PIN
has undefined value
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This update introduces some fixes required to build with Zephyr 3.1
and the associated Zephyr SDK update.
It also enables running the zscilib test suite as part of the normal
CI build process, referencing the 'tests' folder in `module.yml`.
Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
This reverts commit 95292e85aa:
It's introducing a CI failure for sample.bootloader.mcuboot on
frdm_k64f.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Synch up to the mcu-tools/mcuboot SHA:
4030aac5944e5105f45bfcb02b7e0065810a8aeb
- Switched zephyr port from using FLASH_AREA_ macros to FIXED_PARTITION_
macros
- Made flash_map_backend.h compatible with a C++ compiler
- Enabled watchdog feed by default
- Allowed to get the flash write alignment basing on the zephyr,flash
DT chosen node property
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1. Move the defines from usb_dc_mcux.h to usb_device_config.h
and fsl_os_abstraction.h. These headers are used by
the SDK USB driver. usb_dc_mcux.h header file is not longer
needed and hence deleted.
2. Delete the Zephyr implementation of the usb_device_struct
driver and use the one implemented inside the SDK USB
driver. This requires updating the references to
usb_device_struct inside the USB driver
3. Move defines and structures used by the driver
out of the header file that is included by the SDK and
into the MCUX USB driver.
4. Use end point defines provided by Zephyr instead of adding
them locally.
5. Add a Kconfig to set the thread stack size
6. Move code to enable interrupts back to usb_attach function.
Interrupts should be enabled after the init is successful,
else we see errors of the ISR getting called before the
init is complete causing Faults
6. Update west.yml to update the NXP HAL to get the updated
SDK USB driver.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
adc_read() that defined in adc.h of PICO-SDK
conflicts with zephyr's ADC API.
Rename it to avoid compile errors.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Previous update have not included edge cases, which
could still cause build failures. This completely removes
those compiler redefinitions from zephyr build.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
`unlikely`and `likely` definitions are causing build failure
due to redefinition in Zephyr. This fixes that by removing from
hal_espressif.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
west.yml: update hal_espressif to use latest v4.4.1 updates.
This change needs to be insync with esp32c3 timer changes, otherwise it
breaks it.
drivers: timer: update esp32c3 systimer to meet API changes.
Systimer API was refactored in hal v4.4.1, which
requires updates in esp32C3 systimer. Timer behavior is maintained
as is.
mcpwm: add v4.4.1 include reference, which was refactored as well.
driver: spi: esp32: update internal structs to meet API changes.
cmake: updated esp32 board to use HAL_ prefix as from west blobs
requirement.
Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
Fixed a statement to let LVGL indev handling know to continue processing
events if the queue isn't empty.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Use the latest nRF HW models which provide level
interrupt support in the interrupt controller.
Add an EGU peripheral stub, and have other minor changes.
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This adds hal_renesas module to allow builds for Renesas DA1469x.
For now this points to repository outside zephyrproject-rtos since
relevant external module is not yet created.
Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>
This has been moved to the NXP HAL layer so that all
SDK NonCacheable symbols get placed in the nocache
region
Also pull in the HAL changes associated with this
change.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit updates the CMSIS module to pull in the fixes for the
uninitialised variable warnings reported by GCC 12 and above.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the Espressif HAL (hal_espressif) to pull in the
fixes for the warnings and `-march` flag related build failures with
the GCC 12.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit updates the ST HAL (hal_st) to pull in the fixes for the
warnings observed when building with the GCC 12.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
stm32cube: update stm32f4 to cube version V1.27.1.
stm32cube: update stm32f7 to cube version V1.17.0.
stm32cube: update stm32g0 to cube version V1.6.1.
stm32cube: update stm32g4 to cube version V1.5.1.
stm32cube: update stm32l4 to cube version V1.17.2.
stm32cube: update stm32mp1 to cube version 1.6.0.
stm32cube: update stm32u5 to cube version V1.1.1.
stm32cube: update stm32wb to cube version V1.14.0.
lib/stm32: update stm32wb to cube version V1.14.0
Signed-off-by: TLIG Dhaou <dhaou.tlig-ext@st.com>
The old project, liblc3codec, is not used anymore. Rename the Zephyr
module name, folders, and Kconfig options based on the new name, liblc3.
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Add user configurable LOG_MIPI_SYST_ARGS_BUFFER_SIZE Kconfig
option to use it for macro MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE.
Moving macro definition of MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE
from mipi-sys-t library to platform.h which defaulted to 1kb
and resulted in stack overflow in some applications.
LOG_MIPI_SYST_ARGS_BUFFER_SIZE gives flexibilty to users when
maximum log length is known.
Fixeszephyrproject-rtos/mipi-sys-t#10
Signed-off-by: Aastha Grover <aastha.grover@intel.com>
This updates the lvgl revision in west.yml. We've merged several
changesets since the last update:
- avoid using the arial font due to licensing issues
- add Kconfig options for GridNav
- fix flicker with partial display updates
- fix an issue with fs_open
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@huawei.com>
Update lvgl for devicetree updates to use zephyr,keyboard-scan.
Remove Kconfig symbol (LV_Z_POINTER_KSCAN_DEV_NAME) that don't exist
anymore since these values are coming from devicetree.
Signed-off-by: Kumar Gala <galak@kernel.org>
Introduce uoscore-uedhoc repository, providing OSCORE and EDHOC
libraries as a new Zephyr module.
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
The INPUTMUX_PINTSEL_COUNT macro name variation is now handled
inside zephyr. Revert this change to the NXP SDK file.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
Synchronized up to: b03c098
- add support for generic watchdog alias
- direct inclusion of the hooks file
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
Exclude the non-secure TF-M application from being built by TF-M.
This also stops the building of the tfm_ns_api library that we were
linking against.
This library is defined by the tf-m regression tests.
Add the installed interface source files exported by the TF-M build
system compile them in the zephyr build system.
Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit updates the Nordic HAL (hal_nordic) to pull in the fixes
for the warnings observed when building with the GCC 12.
Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Update various modules to the latest upstream, this is to include the
latest header prefix fixes.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
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>
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>
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>