Skip to content

mbed-os-5.11.2

Compare
Choose a tag to compare
@adbridge adbridge released this 18 Jan 17:39
· 13714 commits to master since this release
a8f0c33

We are pleased to announce the Mbed OS 5.11.2 release is now available.

Summary

In this release we have added target support for NUCLEO_H743ZI, GD32_E103VB and GD32_F450ZI.

We have added fixes for the following reported issues:

  • 8567 Equeue unchain bugs
  • 8913 Build of NUCLEO_F030R8 fails when DEVICE_SERIAL=0
  • 8903 Realtek_RTL8195AM is printing a lot of traces
  • 9196 ESP8266 CTS/RTS fails in stop_uart_hw_flow_ctrl()
  • 9075 K82F QSPI test fails intermittently
  • 9216 Defining MBED_SLEEP_TRACING_ENABLED caused error
  • 9266 Astyle in travis doesn't use .astyleignore
  • 9255 FLASHIAP component tests failed
  • 9207 MCU_LPC546XX - breaks on master
  • 9272 Block device test : skip multi thread part in case of small RAM

Support has been added for:

  • PSA APIs on Pelion supported boards
  • a bootloader on the DISCO_F469NI

There have also been some updates to improve the quality of the documentation.

Important notes:

  • There was an issue with the internal KVStore, identified after the 5.11 release. The fix for this
    required changes which would normally not be accepted into a patch release. We have made an exception in
    this case due to the significant nature of the issue.

    Prior to the fix provided in, 9156,
    the space left for the internal TDBStore (when working in the default internal configuration) was allocated from
    the sector following the end of the application until the end of flash. While this worked, it was problematic if the
    application would have crossed the sector boundary after an update. This PR leaves the application a couple
    of sectors to grow at the expense of the allocated storage (if they are available, which is the likely case).

    The fix is defined as a breaking change, even if not a typical one: Boards that use the default internal
    configuration will lose the storage content after the upgrade (as the internal storage start will move forwards).
    Two boards will be affected: K66F and FUTURE_SEQUANA_M0_PSA. Non default configurations won't be
    harmed.

  • The device key in versions before 5.11.2 may have been insecure as the TRNG may have unknowingly failed.
    This issue has been addressed in this release by 9278 DeviceKey: [Security Fix] Generated ROT-key is still used when TRNG fails.

There are also a number of other fixes and code improvements.

Known Issues

There are no new known issues with this release.

Contents

Ports for Upcoming Targets

9056
NUCLEO_H743ZI: add new platform

9203
Add GD32_E103VB as new target

9232
Add GD32_F450ZI as new target

Fixes and Changes

9391
Add pyocd depencency to resolve Travis CI issue

9384
MBRBlockDevice: When partitioning, clear the rest of first erase unit

9371
travis: set hypothesis to v3.88

9362
Fix the general block device for better support of low memory boards

9355
Parameterise the repo used in the Mbed TLS importer script

9346
Travis CI: Corrected astyle job behavior with non-master base branch PRs

9341
Flush ESP8266 serial input buffers after HW reset

9334
Doxygen fixes in block devices

9332
Update and cleanup BLE.h doxygen

9330
Doxygen update for LoRaRadio class

9329
SDBlockDevice docs update

9327
STM32: replace missing #ifdef DEVICE_xxx

9324
Avoid building mbed_tz_context.c for TF-M targets

9323
STM32: astyle check

9321
STM32 : typo error in QSPI

9319
tools/importer script changes

9315
LPC546XX: Do not make MCU_LPC546XX target public

9313
STM32L476VG: fix wrong pin map function on ADC channels

9311
Edit README.md

9310
SPIFBlockDevice docs update

9309
ESP8266 - fix send buffer exhaustion handling

9295
Add missing END to Armv8M IAR assembly files

9293
Updated pyyaml due to possible vulnerability

9290
ESP8266: Set HW reset time to 2ms

9289
travis: add keys for ubuntu - workaround

9284
ESP8266: Fixes AT-layer socket_open-functions

9278
DeviceKey: [Security Fix] Generated ROT-key is still used when TRNG fails

9274
UNO_91H: fix MPU compilation issue

9271
Correcting the error-case trace from mesh-api interfaces

9269
SDT64B: Add TARGET_SDT64B, a bootloader file on SDT64B

9268
Calculate FlashIAPBlockDevice start address and size automatically for test only

9267
Fix travis astyle usage of .astyleignore

9264
reduce info traces to debug level to prevent logs overflow

9260
Use mbed_error_printf instead of debug for ISR friendly prints

9256
STM32L0 & STM32L1: FLASH is EEPROM

9252
STM32L4 ADC : power optimisation for VBAT channel

9251
LoRaWAN: Randomizing backoff for Join process

9250
Fix Python 3 syntax in rtc host test

9249
add bootloader support to the DISCO_F469NI

9246
STM32L0 TEMPERATURE ADC CHANNEL minor update

9244
Kvstore tests api change to run on K64F only

9241
TDBStore: fix bug in sector blank check for variant sized sectors

9239
Increases events.shared-stacksize to 2K

9237
Refactoring and fixing some issues in KVStore configuration.

9234
nanostack-mac-tester sync with v1.0.1

9233
FastModel: update platform header, removed unwanted smsc9220 device

9229
hal-qspi_test: move frequency setting before flash init

9227
[SDT64B] changed UART0 to UART2, added UART_5 on SDT64B

9220
BLE: NRF52 returns used tx/rx phy on phy update callback

9218
Change to mbedtls_platform_zeroize()

9215
Direct access to device key

9210
mbed.h includes removed

9209
More static place for astyle

9202
Realtek-RTL8195AM-Hide_Debugging_Messages

9200
TDBStore: Perform garbage collection on failed writes

9198
Fixing bug - overwrite of default configuration values for RBP start address and size fails

9197
Nuvoton: Fix UART flow control CTS/RTS

9195
Enable PSA APIs on Pelion boards

9191
Nuvoton: Fix crypto compile error with Mbed OS 2

9187
Resolves build failures with IAR 8.x

9186
Fix ticker_read_us() race condition.

9183
Allow LwIP TCP retransmissions to be configured and tune those smaller.

9182
Disable MPU support on NRF52x platforms

9175
Greentea tests ignore bind returning UNSUPPORTED

9173
Prevent ESP8266 stopping HW control on init

9167
Modify IRQ handler processing when unusing RTOS at Cortex-A

9163
Don't use define checks on DEVICE_FOO macros (partner code)

9154
ARMC6: Use float-abi=hard

9152
Cellular: fix state machine to check network attach

9135
Get type for BlockDevice

9128
Fix SPM HAL test

9114
Simplified astyle travis test to be easier to reason about

9066
Equeue chaining bug fixes

9058
BLE: suppress scan timeout if we disabled scanning

Using this release

You can fetch this release from the mbed-os GitHub repository, using the tag "mbed-os-5.11.2".

If you need any help with this release please visit our support page, which provides reference links and details of our support channels.