2020-09-27 00:36:13 +08:00
|
|
|
:orphan:
|
|
|
|
|
|
|
|
.. _zephyr_2.5:
|
|
|
|
|
|
|
|
Zephyr 2.5.0 (Working Draft)
|
|
|
|
############################
|
|
|
|
|
|
|
|
We are pleased to announce the release of Zephyr RTOS version 2.5.0.
|
|
|
|
|
|
|
|
Major enhancements with this release include:
|
|
|
|
|
2020-11-13 17:30:35 +08:00
|
|
|
* Introduced support for the SPARC processor architecture and the LEON
|
|
|
|
processor implementation.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
The following sections provide detailed lists of changes by component.
|
|
|
|
|
|
|
|
Security Vulnerability Related
|
|
|
|
******************************
|
|
|
|
|
|
|
|
The following CVEs are addressed by this release:
|
|
|
|
|
|
|
|
More detailed information can be found in:
|
|
|
|
https://docs.zephyrproject.org/latest/security/vulnerabilities.html
|
|
|
|
|
|
|
|
Known issues
|
|
|
|
************
|
|
|
|
|
|
|
|
You can check all currently known issues by listing them using the GitHub
|
|
|
|
interface and listing all issues with the `bug label
|
|
|
|
<https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
|
|
|
|
|
|
|
|
API Changes
|
|
|
|
***********
|
|
|
|
|
2020-06-08 23:41:09 +08:00
|
|
|
* Removed SETTINGS_USE_BASE64 support as its been deprecated for more than
|
|
|
|
two releases.
|
|
|
|
|
2020-09-22 22:39:10 +08:00
|
|
|
* The :c:func:`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.
|
|
|
|
|
2020-10-02 22:06:26 +08:00
|
|
|
* Changed vcnl4040 dts binding default for property 'proximity-trigger'.
|
|
|
|
Changed the default to match the HW POR state for this property.
|
|
|
|
|
2020-08-07 15:57:11 +08:00
|
|
|
* The :c:func:`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.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
Deprecated in this release
|
|
|
|
==========================
|
|
|
|
|
2020-11-09 19:10:25 +08:00
|
|
|
* Nordic nRF5340 PDK board deprecated and planned to be removed in 2.6.0.
|
2020-10-21 00:02:21 +08:00
|
|
|
* ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
|
|
|
|
|
2020-11-05 20:09:32 +08:00
|
|
|
* DEVICE_INIT was deprecated in favor of utilizing DEVICE_DEFINE directly.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
Removed APIs in this release
|
|
|
|
============================
|
|
|
|
|
|
|
|
Stable API changes in this release
|
|
|
|
==================================
|
|
|
|
|
|
|
|
Kernel
|
|
|
|
******
|
|
|
|
|
|
|
|
Architectures
|
|
|
|
*************
|
|
|
|
|
|
|
|
* ARC
|
|
|
|
|
|
|
|
* ARM
|
|
|
|
|
|
|
|
* AARCH32
|
|
|
|
|
2020-10-28 01:52:46 +08:00
|
|
|
* Introduced the functionality for chain-loadable Zephyr
|
|
|
|
fimrmware images to force the initialization of internal
|
|
|
|
architecture state during early system boot (Cortex-M).
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* AARCH64
|
|
|
|
|
|
|
|
* POSIX
|
|
|
|
|
|
|
|
* RISC-V
|
|
|
|
|
2020-11-13 17:30:35 +08:00
|
|
|
* SPARC
|
|
|
|
|
|
|
|
* Added support for the SPARC architecture, compatible with the SPARC V8
|
|
|
|
specification and the SPARC ABI.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* x86
|
|
|
|
|
|
|
|
Boards & SoC Support
|
|
|
|
********************
|
|
|
|
|
|
|
|
* Added support for these SoC series:
|
|
|
|
|
|
|
|
* Made these changes in other SoC series:
|
|
|
|
|
|
|
|
* Changes for ARC boards:
|
|
|
|
|
|
|
|
* Added support for these ARM boards:
|
|
|
|
|
2020-11-13 17:30:35 +08:00
|
|
|
* 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
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* Made these changes in other boards:
|
|
|
|
|
|
|
|
* Added support for these following shields:
|
|
|
|
|
|
|
|
Drivers and Sensors
|
|
|
|
*******************
|
|
|
|
|
|
|
|
* ADC
|
|
|
|
|
|
|
|
* Audio
|
|
|
|
|
|
|
|
* Bluetooth
|
|
|
|
|
|
|
|
* CAN
|
|
|
|
|
|
|
|
* Clock Control
|
|
|
|
|
|
|
|
* Console
|
|
|
|
|
|
|
|
* Counter
|
|
|
|
|
|
|
|
* Crypto
|
|
|
|
|
|
|
|
* DAC
|
|
|
|
|
|
|
|
* Debug
|
|
|
|
|
|
|
|
* Display
|
|
|
|
|
|
|
|
* DMA
|
|
|
|
|
|
|
|
* EEPROM
|
|
|
|
|
|
|
|
* Entropy
|
|
|
|
|
|
|
|
* ESPI
|
|
|
|
|
|
|
|
* Ethernet
|
|
|
|
|
|
|
|
* Flash
|
|
|
|
|
|
|
|
* GPIO
|
|
|
|
|
|
|
|
* Hardware Info
|
|
|
|
|
|
|
|
* I2C
|
|
|
|
|
|
|
|
* I2S
|
|
|
|
|
|
|
|
* IEEE 802.15.4
|
|
|
|
|
|
|
|
* Interrupt Controller
|
|
|
|
|
|
|
|
* IPM
|
|
|
|
|
|
|
|
* Keyboard Scan
|
|
|
|
|
|
|
|
* LED
|
|
|
|
|
|
|
|
* LED Strip
|
|
|
|
|
|
|
|
* LoRa
|
|
|
|
|
|
|
|
* Modem
|
|
|
|
|
|
|
|
* PECI
|
|
|
|
|
|
|
|
* Pinmux
|
|
|
|
|
|
|
|
* PS/2
|
|
|
|
|
|
|
|
* PWM
|
|
|
|
|
|
|
|
* Sensor
|
|
|
|
|
|
|
|
* Serial
|
|
|
|
|
|
|
|
* SPI
|
|
|
|
|
|
|
|
* Timer
|
|
|
|
|
|
|
|
* USB
|
|
|
|
|
2020-11-13 21:50:31 +08:00
|
|
|
* 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.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* Video
|
|
|
|
|
|
|
|
* Watchdog
|
|
|
|
|
|
|
|
* WiFi
|
|
|
|
|
|
|
|
Networking
|
|
|
|
**********
|
|
|
|
|
|
|
|
Bluetooth
|
|
|
|
*********
|
|
|
|
|
|
|
|
* Host
|
|
|
|
|
2020-11-06 18:55:25 +08:00
|
|
|
* 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.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* Mesh
|
|
|
|
|
2020-08-18 19:36:38 +08:00
|
|
|
* The ``bt_mesh_cfg_srv`` structure has been deprecated in favor of a
|
|
|
|
standalone Heartbeat API and Kconfig entries for default state values.
|
|
|
|
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* BLE split software Controller
|
|
|
|
|
|
|
|
* HCI Driver
|
|
|
|
|
|
|
|
Build and Infrastructure
|
|
|
|
************************
|
|
|
|
|
|
|
|
* Improved support for additional toolchains:
|
|
|
|
|
|
|
|
* Devicetree
|
|
|
|
|
2020-10-06 03:09:43 +08:00
|
|
|
* :c:macro:`DT_ENUM_IDX_OR`: new macro
|
2020-10-06 11:02:13 +08:00
|
|
|
* Support for legacy devicetree macros via
|
|
|
|
``CONFIG_LEGACY_DEVICETREE_MACROS`` was removed. All devicetree-based code
|
|
|
|
should be using the new devicetree API introduced in Zephyr 2.3 and
|
|
|
|
documented in :ref:`dt-from-c`. Information on flash partitions has moved
|
|
|
|
to :ref:`flash_map_api`.
|
2020-10-06 03:09:43 +08:00
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
Libraries / Subsystems
|
|
|
|
**********************
|
|
|
|
|
|
|
|
* Disk
|
|
|
|
|
|
|
|
* Management
|
|
|
|
|
|
|
|
* MCUmgr
|
|
|
|
|
|
|
|
* updatehub
|
|
|
|
|
|
|
|
* Settings
|
|
|
|
|
|
|
|
* Random
|
|
|
|
|
|
|
|
* POSIX subsystem
|
|
|
|
|
|
|
|
* Power management
|
|
|
|
|
|
|
|
* Logging
|
|
|
|
|
|
|
|
* LVGL
|
|
|
|
|
2020-10-09 05:08:46 +08:00
|
|
|
* Library has been updated to minor release v7.6.1
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* Shell
|
|
|
|
|
|
|
|
* Storage
|
|
|
|
|
2020-11-04 20:18:18 +08:00
|
|
|
* flash_map: Added API to get the value of an erased byte in the flash_area,
|
|
|
|
see ``flash_area_erased_val()``.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
* Tracing
|
|
|
|
|
|
|
|
* Debug
|
|
|
|
|
|
|
|
HALs
|
|
|
|
****
|
|
|
|
|
|
|
|
* HALs are now moved out of the main tree as external modules and reside in
|
|
|
|
their own standalone repositories.
|
|
|
|
|
2020-10-08 00:59:28 +08:00
|
|
|
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
|
2020-11-04 20:18:18 +08:00
|
|
|
application during its early initialization.
|
2020-10-08 00:59:28 +08:00
|
|
|
* 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.
|
2020-10-21 17:25:20 +08:00
|
|
|
* Added watchdog feed on nRF devices. See ``CONFIG_BOOT_WATCHDOG_FEED`` option.
|
|
|
|
* Removed the flash_area_read_is_empty() port implementation function.
|
2020-11-04 20:18:18 +08:00
|
|
|
* 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.
|
2020-10-08 00:59:28 +08:00
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
2020-09-27 00:36:13 +08:00
|
|
|
Documentation
|
|
|
|
*************
|
|
|
|
|
|
|
|
Tests and Samples
|
|
|
|
*****************
|
|
|
|
|
|
|
|
Issue Related Items
|
|
|
|
*******************
|
|
|
|
|
|
|
|
These GitHub issues were addressed since the previous 2.4.0 tagged
|
|
|
|
release:
|