Zephyr 2.5.0

We are pleased to announce the release of Zephyr RTOS version 2.5.0.

Major enhancements with this release include:

  • Introduced support for the SPARC processor architecture and the LEON processor implementation.

  • Added Thread Local Storage (TLS) support

  • Added support for per thread runtime statistics

  • Added support for building with LLVM on X86

  • Added new synchronization mechanisms using Condition Variables

  • Add support for demand paging, initial support on X86.

The following sections provide detailed lists of changes by component.

Known issues

You can check all currently known issues by listing them using the GitHub interface and listing all issues with the bug label.

API Changes

  • Removed SETTINGS_USE_BASE64 support as its been deprecated for more than two releases.

  • The lwm2m_rd_client_start() function now accepts an additional flags parameter, which allows to configure current LwM2M client session, for instance enable bootstrap procedure in the curent session.

  • LwM2M execute now supports arguments. The execute callback lwm2m_engine_execute_cb_t is extended with an args parameter which points to the CoAP payload that comprises the arguments, and an args_len parameter to indicate the length of the args data.

  • Changed vcnl4040 dts binding default for property ‘proximity-trigger’. Changed the default to match the HW POR state for this property.

  • The clock_control_async_on() function will now take callback and user_data as arguments instead of structure which contained list node, callback and user data.

  • The mqtt_keepalive_time_left() function now returns -1 if keep alive messages are disabled by setting CONFIG_MQTT_KEEPALIVE to 0.

  • The CONFIG_LEGACY_TIMEOUT_API mode has been removed. All kernel timeout usage must use the new-style k_timeout_t type and not the legacy/deprecated millisecond counts.

  • The coap_pending_init() function now accepts an additional retries parameter, allowing to specify the maximum retransmission count of the confirmable message.

  • The CONFIG_BT_CTLR_CODED_PHY is now disabled by default for builds combining both Bluetooth host and controller.

  • The coap_packet_append_payload() function will now take a pointer to a constant buffer as the payload argument instead of a pointer to a writable buffer.

  • The coap_packet_init() function will now take a pointer to a constant buffer as the token argument instead of a pointer to a writable buffer.

  • A new Regulators API has been added to support controlling power sources. Regulators can also be associated with devicetree nodes, allowing drivers to ensure the device they access has been powered up. For simple GPIO-only regulators a devicetree property supply-gpios is defined as a standard way to identify the control signal in nodes that support power control.

  • fs_tile_t objects must now be initialized by calling fs_file_t_init() before their first use.

  • fs_dir_t objects must now be initialized by calling fs_dir_t_init() before their first use.

Deprecated in this release

  • Nordic nRF5340 PDK board deprecated and planned to be removed in 2.6.0.

  • ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.

  • DEVICE_INIT was deprecated in favor of utilizing DEVICE_DEFINE directly.

  • DEVICE_AND_API_INIT was deprecated in favor of DEVICE_DT_INST_DEFINE and DEVICE_DEFINE.

  • Bluetooth

    • Deprecated the bt_set_id_addr() function, use bt_id_create() before calling bt_enable() instead. When CONFIG_PRIVACY is enabled a valid IRK has to be supplied by the application for this case.

Removed APIs in this release

  • Bluetooth

    • The deprecated BT_LE_SCAN_FILTER_DUPLICATE define has been removed, use BT_LE_SCAN_OPT_FILTER_DUPLICATE instead.

    • The deprecated BT_LE_SCAN_FILTER_WHITELIST define has been removed, use BT_LE_SCAN_OPT_FILTER_WHITELIST instead.

    • The deprecated bt_le_scan_param::filter_dup argument has been removed, use bt_le_scan_param::options instead.

    • The deprecated bt_conn_create_le() function has been removed, use bt_conn_le_create() instead.

    • The deprecated bt_conn_create_auto_le() function has been removed, use bt_conn_le_create_auto() instead.

    • The deprecated bt_conn_create_slave_le() function has been removed, use bt_le_adv_start() instead with bt_le_adv_param::peer set to the remote peers address.

    • The deprecated BT_LE_ADV_* macros have been removed, use the BT_GAP_ADV_* enums instead.

    • The deprecated bt_conn_security function has been removed, use bt_conn_set_security instead.

    • The deprecated BT_SECURITY_* defines NONE, LOW, MEDIUM, HIGH, FIPS have been removed, use the L0, L1, L2, L3, L4 defines instead.

    • The deprecated BT_HCI_ERR_AUTHENTICATION_FAIL define has been removed, use BT_HCI_ERR_AUTH_FAIL instead.

  • Kernel

    • The deprecated k_mem_pool API has been removed entirely (for the past release it was backed by a k_heap, but maintained a compatible API). Now all instantiated heaps must be sys_heap/k_heaps. Note that the new-style heap is a general purpose allocator and does not make the same promises about block alignment/splitting. Applications with such requirements should look at porting their logic, or perhaps at the k_mem_slab utility.

Stable API changes in this release

Kernel

  • Added support for per thread runtime statistics

  • Added new synchronization mechanisms using Condition Variables

  • Thread Local Storage (TLS)

    • Introduced thread local storage support for the following architectures:

      • ARC

      • Arm Cortex-M

      • Arm Cortex-R

      • AArch64

      • RISC-V

      • Sparc

      • x86 and x86_64

      • Xtensa

    • This allows variables declared with __thread keyword to be allocated on a per-thread basis, and every thread has its own copy of these variables.

    • Enable via CONFIG_THREAD_LOCAL_STORAGE.

    • errno can be stored inside TLS if CONFIG_ERRNO_IN_TLS is enabled (together with CONFIG_ERRNO). This allow user threads to access the value of errno without making a system call.

  • Memory Management

    • Added page frame management for physical memory to keep track of the status of each page frame.

    • Added k_mem_map() which allows applications to increase the data space available via anonymous memory mappings.

    • Added k_mem_free_get() which returns the amount of physical anonymous memory remaining.

    • Paging structure must now be pre-allocated so that there is no need to do memory allocations when mapping memory. Because of this, arch_mem_map() may no longer fail.

  • Demand Paging

    • Introduced the framework for demand paging and infrastructure for custom eviction algorithms and implementation of backing stores.

    • Currently the whole kernel is pinned and remaining physical memory can be used for paging.

Architectures

  • ARC

    • Fixed execution on ARC HS with one interrupt bank and fast interrupts (FIRQ) enabled

    • Hardened SMP support

    • Improved mdb west runner to support simulation on SMP nSIM-based configurations

    • Improved mdb west runner to support nSIM-based configurations execution on real HW (FPGA-based)

    • Added documentation page with Zephyr support status on ARC processor

    • Added coverage support for nSIM-based configurations

    • Switched to upstream OpenOCD for ARC

    • Various minor fixes/improvements for ARC MWDT toolchain infrastructure

  • ARM

    • AARCH32

      • Introduced the functionality for chain-loadable Zephyr firmware images to force the initialization of internal architecture state during early system boot (Cortex-M).

      • Changed the default Floating Point Services mode to Shared FP registers mode.

      • Enhanced Cortex-M Shared FP register mode by implementing dynamic lazy FP register stacking in threads.

      • Added preliminary support for Cortex-R7 variant.

      • Fixed inline assembly code in Cortex-M system calls.

      • Enhanced and fixed Cortex-M TCS support.

      • Enabled interrupts before switching to main in single-thread Cortex-M builds (CONFIG_MULTITHREADING=n).

      • Fixed vector table relocation in non-XIP Cortex-M builds.

      • Fixed exception exit routine for fatal error exceptions in Cortex-R.

      • Fixed interrupt nesting in ARMv7-R architecture.

    • AARCH64

      • Fixed registers printing on error and beautified crash dump output

      • Removed CONFIG_SWITCH_TO_EL1 symbol. By default the execution now drops to EL1 at boot

      • Deprecated booting from EL2

      • Improved assembly code and errors catching in EL3 and EL1 during the start routine

      • Enabled support for EL0 in the page tables

      • Fixed vector table alignment

      • Introduced support to boot Zephyr in NS mode

      • Fixed alignment fault in z_bss_zero

      • Added PSCI driver

      • Added ability to generate image header

      • Improved MMU code and driver

  • RISC-V

    • Added support for PMP (Physical Memory Protection). Integrate PMP in Zephyr allow to support userspace (with shared memory) and stack guard features.

  • SPARC

    • Added support for the SPARC architecture, compatible with the SPARC V8 specification and the SPARC ABI.

    • FPU is supported in both shared and unshared FP register mode.

  • x86

    • Enabled soft float support for Zephyr SDK

    • CONFIG_X86_MMU_PAGE_POOL_PAGES is removed as paging structure must now be pre-allocated.

    • Mapping of physical memory has changed:

      • This allows a smaller virtual address space thus requiring a smaller paging structure.

      • Only the kernel image is mapped when CONFIG_ACPI is not enabled.

      • When CONFIG_ACPI is enabled, the previous behavior to map all physical memory is retained as platforms with ACPI are usually not memory constrained and can accommodate bigger paging structure.

    • Page fault handler has been extended to support demand paging.

Boards & SoC Support

  • Added support for these SoC series:

    • Cypress PSoC-63

    • Intel Elkhart Lake

  • Made these changes in other SoC series:

  • Changes for ARC boards:

    • Added icount support for ARC QEMU boards

    • Added MWDT compiler options for HSDK board

    • Added missing taps into JTAG chain for the dual-core configuration of the HSDK board

  • Added support for these ARM boards:

    • Cypress CY8CKIT_062_BLE board

  • Added support for these x86 boards:

    • Elkhart Lake CRB board

    • ACRN configuration on Elkhart Lake CRB board

    • Slim Bootloader configuration on Elkhart Lake CRB board

  • Added support for these SPARC boards:

    • GR716-MINI LEON3FT microcontroller development board

    • Generic LEON3 board configuration for GRLIB FPGA reference designs

    • SPARC QEMU for emulating LEON3 processors and running kernel tests

  • Added support for these NXP boards:

    • LPCXpresso55S28

    • MIMXRT1024-EVK

  • Added support for these STM32 boards and SoCs :

    • Cortex-M Trace Reference Board V1.2 (SEGGER TRB STM32F407)

    • MikroE Clicker 2 for STM32

    • STM32F103RCT6 Mini

    • ST Nucleo F303K8

    • ST Nucleo F410RB

    • ST Nucleo H723ZG

    • ST Nucleo L011K4

    • ST Nucleo L031K6

    • ST Nucleo L433RC-P

    • ST STM32L562E-DK Discovery

    • STM32F105xx and STM32F103xG SoC variants

    • STM32G070xx SoC variants

    • STM32G474xB/C SoC variants

    • STM32L071xx SoC variants

    • STM32L151xC and STM32L152xC SoC variants

  • Made these global changes in STM32 boards and SoC series:

    • Pin control configuration is now done through devicetree and existing macros to configure pins in pinmux.c files are tagged as deprecated. The new pin settings are provided thanks to .dtsi files distributed in hal_stm32 module.

    • Generic LL headers, also distributed in hal_stm32 module, are now available to abstract series references in drivers.

    • Hardware stack protection is now default on all boards with enabled MPU (SRAM > 64K ), excluding F0/G0/L0 series.

    • West flash STM32CubeProgrammer runner was added as a new option for STM32 boards flashing (to be installed separately).

  • Made these changes in other boards:

    • CY8CKIT_062_WIFI_BT_M0: was renamed to CY8CKIT_062_WIFI_BT.

    • CY8CKIT_062_WIFI_BT_M4: was moved into CY8CKIT_062_WIFI_BT.

    • CY8CKIT_062_WIFI_BT: Now M0+/M4 are at same common board.

    • nRF5340 DK: Selected TF-M as the default Secure Processing Element (SPE) when building Zephyr for the non-secure domain.

    • SAM4E_XPRO: Added support to SAM-BA ROM bootloader.

    • SAM4S_XPLAINED: Added support to SAM-BA ROM bootloader.

    • Extended LPCXpresso55S69 to support dual-core.

    • Enhanced MIMXRT1064-EVK to support QSPI flash storage and LittleFS.

    • Updated MIMXRT685-EVK to increase the core clock frequency.

    • Updated NXP i.MX RT, Kinetis, and LPC boards to enable hardware stack protection by default.

    • Fixed Segger RTT and SystemView support on NXP i.MX RT boards.

    • Demand paging is turned on by default for qemu_x86_tiny.

    • Updated zefi.py to use cross-compiler while building Zephyr.

    • Enabled code coverage report for qemu_x86_64.

    • Removed support for legacy APIC timer driver.

    • Added common memory linker for x86 SoCs.

    • Enabled configuration to reserve the first megabyte in x86 SoCs.

  • Added support for these following shields:

    • Inventek es-WIFI shield

    • Sharp memory display generic shield

Drivers and Sensors

  • ADC

    • Added support for ADC on STM32G0 Series.

    • Introduced the adc_sequence_options::user_data field.

  • CAN

    • We reworked the configuration API. A user can now specify the timing manually (define prop segment, phase segment1, phase segment2, and prescaler) or use a newly introduced algorithm to calculate optimal timing values from a bitrate and sample point. The bitrate and sample point can be specified in the devicetree too. It is possible to change the timing values at runtime now.

    • We reworked the zcan_frame struct due to undefined behavior. The std_id (11-bit) and ext_id (29-bit) are merged to a single id field (29-bit). The union of both IDs was removed.

    • We made the CANbus API CAN-FD compatible. The zcan_frame data-field can have a size of >8 bytes now. A flag was introduced to mark a zcan_frame as CAN-FD frame. A flag was introduced that enables a bitrate switch in CAN-FD frames. The configuration API supports an additional timing parameter for the CAN-FD data-phase.

    • drivers are converted to use the new DEVICE_DT_* macros.

  • Clock Control

    • Added NXP LPC driver.

  • DAC

    • STM32: Enabled support for G0 and H7 series.

    • Added TI DACx3608 driver.

  • DMA

    • kmalloc was removed from STM32 DMAMUX driver initialization.

  • EEPROM

    • Marked the EEPROM API as stable.

    • Added support for AT24Cxx devices.

  • Ethernet

    • Added support for Distributed Switch Architecture (DSA) devices. Currently only ip_k66f board supports DSA.

    • Added support for w5500 Ethernet controller.

    • Reworked the NXP MCUX driver to use DT_INST_FOREACH.

  • Flash

    • CONFIG_NORDIC_QSPI_NOR_QE_BIT has been removed. The quad-enable-requirements devicetree property should be used instead.

    • MPU_ALLOW_FLASH_WRITE is now default on STM32 boards when MPU is enabled.

    • Add driver for STM32H7 and STM32L1 SoC series.

    • Add QSPI NOR Flash controller support for STM32 family.

    • Added NXP LPC legacy flash driver.

    • Added NXP FlexSPI flash driver for i.MX RT SoCs.

    • Added support for nRF53 Series SoCs in the nRF QSPI NOR flash driver (nrf_qspi_nor).

  • GPIO

    • Added Cypress PSoC-6 driver.

    • Added Atmel SAM4L driver.

  • Hardware Info

    • Added Cypress PSoC-6 driver.

  • I2C

    • Added driver support for lmx6x, it8xxx2, and npcx7 plaforms.

    • Added Atmel SAM4L TWIM driver.

    • Added I2C slave support in the microchip i2c driver.

    • Reversed 2.4 decision to downgrade I2C eeprom slave driver to a test. It’s a driver again.

  • I2S

  • IEEE 802.15.4

    • nRF:

      • Added IEEE 802.15.4 support for nRF5340.

      • Added support for failed rx notification.

    • cc13xx/cc26xx:

      • Added multi-protocol radio support.

      • Added sub-ghz support.

      • Added raw mode support.

  • Interrupt Controller

    • Added Cypress PSoC-6 Cortex-M0+ interrupt multiplexer driver.

  • memc

    • Added FMC/SDRAM memory controller for STM32 family

  • Modem

    • Improved RX with HW flow control in modem interface API.

    • Improved reading from interface in command handler.

    • Fixed race condition when waiting on cmd reply.

    • Added support for Quectel bg95 modem.

    • Constified modem command structures to reduce RAM usage.

    • hl7800:

      • Fixed buffer handling issues.

      • Fixed setting DNS address.

      • Fixed file open in fw update.

      • Fixed cases where socket would not close.

    • sara-r4:

      • Added sanity timeout for @ prompt.

      • Fixed redundant wait after sendto.

      • Improved offload_sendmsg() support.

      • Added Kconfig to configure RSSI work.

      • Added direct CMD to catch @ when sending data.

      • Sanitize send_socket_data() semaphore handling.

    • bg96:

      • Fixed UDP packet management.

    • GSM:

      • Added start/stop API support so that application can turn off the GSM/PPP modem if needed to save power.

      • Avoid wrapping each byte in muxing headers in PPP.

      • Added support to remove PPP IPv4 ipcp address on network down.

  • PECI

  • Pinmux

    • STM32 pinmux driver has been reworked to allow pin configuration using devicetree definitions. The previous C macros are now deprecated.

  • PWM

    • Added support for generating PWM signal based on RTC in the pwm_nrf5_sw driver.

    • Added optional API for capturing the PWM pulse width and period.

    • Added PWM capture driver for the NXP Kinetis Pulse Width Timer (PWT).

    • Removed the DesignWare and PCA9685 controller drivers.

  • Sensor

    • Fixed current conversion to milliamps in the MAX17055 driver.

    • Added multi-instance support to the FXOS8700, IIS2DLPC, and IIS2ICLX drivers.

    • Added Invensense ICM42605 driver.

    • Added NXP MCUX ACMP driver.

    • Fixed gyro units in the FXAS21002 driver.

    • Fixed pressure and temperature registers in the DPS310 driver.

    • Added I2C support to the BMI160 driver.

    • Added IIS2ICLX driver.

    • Aligned ST sensor drivers to stmemsc HAL i/f v1.03.

    • Fixed temperature units in the IIS2MDC driver.

    • Added emulator for Bosch BMI160 accelerometer.

    • Added device power management support to the LIS2MDL driver.

  • Serial

    • Added ASYNC API support on STM32 family.

  • SPI

    • Enhanced NXP MCUX Flexcomm driver to support DMA.

  • Timer

  • USB

    • Reworked nrfx driver to use mem_slab for event elements and and static memory for OUT endpoints.

    • Fixed ZLP handling for nrfx driver.

    • Added support for USB Device mode on STM32F105xx parts.

  • Video

  • Watchdog

    • Added NXP i.MX RT driver.

  • WiFi

    • eswifi:

      • Added uart bus interface. This enables all Inventek modules with IWIN AT Commands firmware.

    • esp:

      • Fixed thread-safety access on esp_socket operations.

      • Fixed scheduling each RX packet on separate work thread.

      • Fixed initializing socket work structures only once.

      • Reworked +IPD and +CIPRECVDATA handling.

      • Stopped locking scheduler when sending data.

      • Added DHCP/Static IP Support.

      • Added support using DNS servers.

      • Enhanced CWMODE support.

      • Added support for configuring hostname.

      • Added support for power-gpios to enable ESP module.

      • Added support 32-bit length in +IPD.

      • Added support for reconfiguring UART baudrate after initial communication.

      • Improved packet allocation failure handling by closing stream sockets.

Networking

  • CoAP:

    • Fixed discovery response formatting according to RFC6690.

    • Randomized initial ACK timeout.

    • Reworked pending retransmission logic.

    • Fixed long options encoding.

  • DHCPv4:

    • Added start/bound/stop network management events for DHCPv4.

    • Fixed timeout scheduling with multiple network interfaces.

    • Fixed timeout on entry to bound state.

    • Fixed invalid timeout on send failure.

    • Fixed bounds checking in timeout.

    • Fixed endian issue.

    • Added randomization to message interval.

    • Limited message interval to a maximum of 64 seconds.

  • DNS:

    • Added resolving literal IP addresses even when DNS is disabled.

    • Added support for DNS Service Discovery (dns-sd).

    • Fixed getaddrinfo() to respect socket type hints.

  • HTTP:

    • Added chunked encoding body support to HTTP client API.

  • IPv6:

    • Tweaked IPv6 DAD and RS timeout handling.

    • Fixed multiple endian issues.

    • Fixed unaligned access to IPv6 address.

  • LwM2M:

    • Added dimension discovery support.

    • Implemented bootstrap discovery.

    • Fixed message find based on pending/reply.

    • Reworked bootstrap DELETE operation.

    • Added path generation macro.

    • Added a way to notify the application on network error.

    • Added a callback to notify socket errors to applications.

    • Send Registration Update on lifetime changes.

    • Fixed PULL FW update in case of URI parse errors.

    • Fixed separate response handling.

    • Start notify sequence numbers on 0.

    • Enhanced packing of TLV integers more efficiently.

    • Improved token generation.

    • Fixed the bootstrap to be optional.

  • Misc:

    • Allow user to select pre-emptive or co-operative RX/TX threads.

    • Refactored RX and TX thread priorities.

    • Only start the network logging backend if the autostarting is enabled.

    • Added support for simultaneous UDP/TCP and raw sockets in applications.

    • Enabled solicit node multicast group registration for Bluetooth IPSP connections.

    • Added net_buf_remove API to manipulate data at the end of network buffers.

    • Added checks to syslog-net that ensure immediate logging mode is not set as the network logging is not compatible with it.

    • Implemented SO_RCVTIMEO socket receive timeout option.

    • Added support to update unique hostname on link address changes.

    • Added locking to IPv6, CAN and packet socket bind calls.

    • Added network management events monitor support.

  • MQTT:

    • Reset client state before notifying application with MQTT_EVT_DISCONNECT event.

  • OpenThread:

    • Added support for RCP (Radio Co-Processor) mode.

    • Made radio workqueue stack size configurable.

    • Added joining thread multicast addresses which are added to Zephyr.

    • Added SRP Kconfig options.

    • Enabled CSL and TREL config options.

    • Added option to enable software CSMA backoff.

    • Added support to configure platform info.

    • Added Kconfigs to change values in Zephyr.

    • Removed unused defines from platform configuration.

  • Samples:

    • Added TagoIO IoT Cloud HTTP post sample.

    • Fixed the return code in MQTT Docker tests.

    • Added support to allow DHCPv4 or manually set addresses in zperf sample.

    • Use IPv4 instead of IPv6 in coap-server to support Docker based testing.

    • Added connection manager support to dumb_http_server_mt sample.

    • Added support for large file in dumb_http_server_mt sample.

    • Added support for running the gptp sample X seconds to support Docker based testing.

    • Added Docker based testing to http_client sample.

    • Refractored code structure and reduced RAM usage of civetweb sample.

    • Added suspend/resume shell commands to gsm_modem sample.

    • Added Docker based testing support to network logging sample.

  • TCP:

    • The new TCP stack is enabled by default. Legacy TCP stack is deprecated but still available and scheduled for removal in next 2.6 release.

    • Added support to queue received out-of-order TCP data.

    • Added connection termination if the TCP handshake is not finalized.

    • Enhanced received TCP RST packet handling.

    • Fixed TCP connection from Windows 10.

  • TLS:

    • Use Maximum Fragment Length (MFL) extension by default.

    • Added ALPN extension option to TLS.

    • Fixed TLS context leak on socket allocation failure.

Bluetooth

  • Host

    • When privacy has been enabled in order to advertise towards a privacy-enabled peer the BT_LE_ADV_OPT_DIR_ADDR_RPA option must now be set, same as when privacy has been disabled.

  • Mesh

    • The bt_mesh_cfg_srv structure has been deprecated in favor of a standalone Heartbeat API and Kconfig entries for default state values.

  • BLE split software Controller

  • HCI Driver

USB

  • USB synchronous transfer

    • Fixed possible deadlock in usb_transfer_sync().

    • Check added to prevent starting new transfer if an other transfer is already ongoing on same endpoint.

  • USB DFU class

    • Made USB DFU class compatible with the target configuration that does not have a secondary image slot.

    • Support to use USB DFU within MCUBoot with single application slot mode.

    • Separate PID for DFU mode added to avoid problems caused by the host OS caching the remaining descriptors when switching to DFU mode.

    • Added timer for appDETACH state and revised descriptor handling to to meet specification requirements.

  • USB HID class

    • Reworked transfer handling after suspend and resume events.

  • Samples

    • Reworked disk and FS configuration in MSC sample. MSC sample can be built with none or one of two supported file systems, LittleFS or FATFS. Disk subsystem can be flash or RAM based.

Build and Infrastructure

Libraries / Subsystems

  • File systems

  • Management

    • MCUmgr

      • Added support for flash devices that have non-0xff erase value.

      • Added optional verification, enabled via CONFIG_IMG_MGMT_REJECT_DIRECT_XIP_MISMATCHED_SLOT, of an uploaded Direct-XIP binary, which will reject any binary that is not able to boot from base address of offered upload slot.

    • updatehub

      • Added support to Network Manager and interface overlays at UpdateHub sample. Ethernet is the default interface configuration and overlays can be used to change default configuration

      • Added WIFI overlay

      • Added MODEM overlay

      • Added IEEE 802.15.4 overlay [experimental]

      • Added BLE IPSP overlay as [experimental]

      • Added OpenThread overlay as [experimental].

  • Settings

  • Random

  • POSIX subsystem

  • Power management

    • Use a consistent naming convention using pm_ namespace.

    • Overhaul power states. New states pm_state are more meaningful and ACPI alike.

    • Move residency information and supported power states to devicetree and remove related Kconfig options.

    • New power state changes notification API pm_notifier

    • Cleanup build options.

  • LVGL

    • Library has been updated to minor release v7.6.1

  • Storage

    • flash_map: Added API to get the value of an erased byte in the flash_area, see flash_area_erased_val().

  • DFU

  • boot: Reworked using MCUBoot’s bootutil_public library which allow to use API implementation already provided by MCUboot codebase and remove zephyr’s own implementations.

  • Crypto

    • mbedTLS updated to 2.16.9

HALs

  • HALs are now moved out of the main tree as external modules and reside in their own standalone repositories.

MCUBoot

  • bootloader

    • Added hardening against hardware level fault injection and timing attacks, see CONFIG_BOOT_FIH_PROFILE_HIGH and similar kconfig options.

    • Introduced Abstract crypto primitives to simplify porting.

    • Added ram-load upgrade mode (not enabled for zephy-rtos yet).

    • Renamed single-image mode to single-slot mode, see CONFIG_SINGLE_APPLICATION_SLOT.

    • Added patch for turning off cache for Cortex M7 before chain-loading.

    • Fixed boostrapping in swap-move mode.

    • Fixed issue causing that interrupted swap-move operation might brick device if the primary image was padded.

    • Fixed issue causing that HW stack protection catches the chain-loaded application during its early initialization.

    • Added reset of Cortex SPLIM registers before boot.

    • Fixesd build issue that occurs if CONF_FILE contains multiple file paths instead of single file path.

    • Added watchdog feed on nRF devices. See CONFIG_BOOT_WATCHDOG_FEED option.

    • Removed the flash_area_read_is_empty() port implementation function.

    • Initialize the ARM core configuration only when selected by the user, see CONFIG_MCUBOOT_CLEANUP_ARM_CORE.

    • Allow the final data chunk in the image to be unaligned in the serial-recovery protocol.

    • Kconfig: allow xip-revert only for xip-mode.

    • ext: tinycrypt: update ctr mode to stream.

    • Use minimal CBPRINTF implementation.

    • Configure logging to LOG_MINIMAL by default.

    • boot: cleanup NXP MPU configuration before boot.

    • Fix nokogiri<=1.11.0.rc4 vulnerability.

    • bootutil_public library was extracted as code which is common API for MCUboot and the DFU application, see CONFIG_MCUBOOT_BOOTUTIL_LIB

  • imgtool

    • Print image digest during verify.

    • Add possibility to set confirm flag for hex files as well.

    • Usage of –confirm implies –pad.

    • Fixed ‘custom_tlvs’ argument handling.

    • Add support for setting fixed ROM address into image header.

    • Fixed verification with protected TLVs.

Trusted-Firmware-M

  • Synchronized Trusted-Firmware-M module to the upstream v1.2.0 release.

Documentation

Tests and Samples

  • A sample was added to demonstrate how to use the ADC driver API.

  • Sanitycheck script was renamed to twister