Skip to content

mbed-os-5.14.1

Compare
Choose a tag to compare
@adbridge adbridge released this 17 Oct 17:45
· 8219 commits to master since this release
679d248

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

Important note about this patch release

The Nanostack RF driver has been updated and as an exception to our normal release protocol, contains
a breaking change.

Summary of changes

4-octet FCS which follows IEEE Std 802.15.4-2015
Bug fix related to channel spacing configuration

Impact of changes

This release contains version of a S2-LP driver which is not inter-operable with previous versions of the driver.

Migration actions required

To make previous version (Mbed OS 5.14.0) of the S2-LP driver inter-operable with this release, following changes are needed.

/components/802.15.4_RF/stm-s2lp-rf-driver/source/NanostackRfPhys2lp.cpp
@@ -553 +553 @@ static void rf_init_registers(void)
-    rf_write_register_field(PCKTCTRL1, PCKT_CRCMODE_FIELD, PCKT_CRCMODE_0X1021);
+    rf_write_register_field(PCKTCTRL1, PCKT_CRCMODE_FIELD, PCKT_CRCMODE_0x04C11DB7);
@@ -556,0 +557 @@ static void rf_init_registers(void)
+    rf_write_register_field(PCKTCTRL2, PCKT_FCS_TYPE_FIELD, PCKT_FCS_TYPE_4_OCTET);
@@ -1001,0 +1003 @@ static void rf_receive(uint8_t rx_channel)
+        rf_channel_multiplier = 1;
/components/802.15.4_RF/stm-s2lp-rf-driver/source/s2lpReg.h
@@ -251,0 +252,3 @@ extern "C" {
+#define PCKT_FCS_TYPE_FIELD     0x20
+#define PCKT_FCS_TYPE_4_OCTET   (0 << 5)
+#define PCKT_FCS_TYPE_2_OCTET   (1 << 5)
@@ -255,0 +259 @@ extern "C" {
+#define PCKT_CRCMODE_0x04C11DB7 (5 << 5)

Summary of changes

In this release we have added the following targets:

  • NUMAKER_M252KG
  • ST DISCO-H747I
  • OKDO
  • TARGET_CY8CPROTO_063_BLE
  • MTS_DRAGONFLY_F413RH

Cypress targets have been updated to the latest PSoC 6 CSP (HAL, RTOS abstraction, Resource Abstraction).
This update includes:

  • Minor bugfixes/code cleanup
  • Re-organization of resource/rtos abstraction folder structure
  • Documentation improvements

The Cypress Specific HCI Cordio Driver has also been updated to add:

  • MCU and BT device low-power support
  • HCI UART enhanced to work at 3M baud rate for improved BT performance. In order to put the UART interface at 3M baud rate the state machine for initialization has been modified
  • Updated BT device-wake pin drive mode from input to output mode to be able wake up the BT device from low-power state when needed
  • Added delays to BT device wake de-assert function to ensure that UART data is drained

We have provided an STM32H7 ST CUBE V1.5.0 update. The main impact of this update is the introduction of a
Cortex-M4 instruction cache through ART accelerator.

We have had to disable tickless mode on UBLOX_EVK_ODIN_W2 as it appears to cause crashes in WiFi tests (Issue #11557).
It will be re-enabled once this has been addressed.

This release also includes a Nanostack update to v11.3.0. This includes coap-service updates and
bug fixes to the Wi-SUN protocol.

We have fixed the following reported issues:

  • 11295 QSPIFBlockDevice does not differentiate between mode (alt) and dummy cycles
  • 11362 Pin speed control
  • 11496 iar export: multiple -O in the project - fails to build
  • 10854 Mbed Os 5.12.4 ATHandler::resp_stop
  • 11508 LSI as RTC clock source on certain STM targets
  • 10880 VREFINT_CAL_ADDR wrong address for MTB_RAK811

We have also:

  • Added an initial implementation of Cypress Crypto hardware acceleration for mbedTLS
  • Re-enabled GCC/ARMCC support for RTL8195AM
  • Enabled asynchronous serial with DMA for K66F
  • Added flow control (IFC) into the BG96 AT driver

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

11573
Add 413 dragonfly

11561
Add TARGET_CY8CPROTO_063_BLE

11407
Add OKDO platform

11384
ST DISCO-H747I introduction

11176
Support Nuvoton target NUMAKER_M252KG

Fixes and Changes

11678
Travis CI: Fixed issue where jobs are getting stalled/timing out

11649
Fix memory leak on NetworkInterface destruction

11647
Nanostack RF driver updates for Mbed OS 5.14.1

11639
Nanostack patch release for mbedos 5.14.1

11638
Change imgtool lib import to relative import

11628
Make devicekey remainder test more meaningful

11627
pinmap_peripheral function: update error code for easier debug

11626
DISCO_L4R9I: update default STMOD+ pin

11625
Revert tickless on UBLOX_EVK_ODIN_W2

11621
STM32L151: update calibration memory address

11618
Cellular: Fix CellularStateMachine to not loop between init/power states

11616
Cellular: Setting timeout before send command in gethostbyname.

11615
Cellular: Remove old deprecated tests

11612
IPCore unittests improvements

11607
Tests: USB: Move control endpoint buffers to heap

11601
DNS tests modification for ESP8266-specific scenario

11598
AT_CellularDevice.cpp - unused variable err warning

11597
Missing errno.h include

11596
LoRa: Fix build warning about _ongoing_tx_msg

11590
Moved Cypress TriggerMux initialization out of the HAL and into the BSP

11589
Enable PSA tests for fastmodel

11587
ATCmdParser doxygen header's documentation update for scanf

11585
NRF52: Fixed missing guard in port_api.c

11583
STM32H7 ST CUBE V1.5.0 update

11582
TEST: change integration fs test format and mount order

11581
Cellular: Fix setting of PDP context ID (cid)

11573
Add 413 dragonfly

11572
Tighten GCC 2-region _sbrk

11568
Speed up unit test build with parallel jobs

11567
Simplicy QSPIF target overrides for PSoC6

11566
EP_AGORA: Add config logic to enable BLE, cell, and LoRa by default

11564
Fix ARMC6 linker error for the bare metal profile

11562
STM32H7: memory relocation

11561
Add TARGET_CY8CPROTO_063_BLE

11560
Explicitly set tdb internal flash size for PSoC6 Targets

11558
Coverity fixes

11548
Cellular: Fix resolving of DNS server IPv4/6 address

11546
Tests: USB: Fix Python 3 compatibility

11542
Update Cypress targets

11541
esp8266 oob* : recv() brought back where it was needed

11540
Tests: USB: Update error handling in basic tests

11538
Cellular: Enable IPV6 for WISE_1570

11534
Cellular: Handle SEND FAIL and ERROR response

11529
PSOC6: update to PDL 1.3.1

11525
STM32WB/STM32H7 : LSI selection when LSE is not available

11523
Correct force inline syntax for IAR compiler

11518
Cypress Cordio Driver Update

11517
TCP Packet loss happens due to running of out of Mailbox size.

11516
Update to latest psoc6csp

11499
Cellular: Fix stop tag for Quectel M26 send command

11498
iar export: fix invalid optmization flag - remove from misc

11495
Improve cellular unittests

11494
Fix Coverity issue: Initialize FlashIAP non-static member in constructor

11491
Equeue chain, add documentation of using equeue_destroy

11490
Cellular: Add flow control (IFC) in BG96 AT driver

11489
Examples.py add --jobs argument

11488
Cellular: Fix get_interface_name to not include leading zero

11486
update googletest to v1.8.1

11483
Change reset_reason test timeout.

11478
Refactor CRC constructor method to remove warning

11474
Remove Mbed Crypto source files before importing

11473
Fix compilation warnings from GCC in netsocket/network tests

11472
Suppress Coverity warnings

11471
STM32WB ADC : consecutive VBAT reading

11470
Prevent unreachable statements and correct variable sizes.

11465
Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards

11464
TEST: update compare log file name

11462
Minimal-printf: Remove file printing in README and update tables

11458
Tests: USB: Use libusb0 backend on Windows

11456
IOTBTOOL-349: Correct handling of spaces in project name.

11455
minimal-printf: Add capability to run floating point tests manually

11454
ST: Change the LSI_VALUE according to documentation

11453
Fix Coverity issues

11452
Coverity changes in USBMSD.cpp

11449
Coverity changes in USBDevice.cpp

11448
STM license file update

11447
Coverity changes in USBHID.cpp

11446
add missing asserts to UserAllocatedEvent class

11445
Add catch-all rule to makefile template

11443
Enable asynchronous serial with DMA for K66F

11440
Add missing documentation about tls testing

11439
Remove unreachable statements warnings

11438
Correct doxy-spellchecker error message

11437
Harmonise Doxygen comments in drivers, events, platform and rtos dirs

11427
ESP8266Interface buffer null-terminated and parameters of scan function in correct order

11424
Stack type ip versions

11421
Dns synchronous cache fix

11420
Fixed smsc9220_emac link_out memory management.

11417
Change stack sizes of threads used in tests. GR_LYCHEE failing CI

11408
Remove mbed_trace dependency to Nanomesh headers

11407
Add OKDO platform

11404
FUTURE_SEQUANA: InterruptIn implementation bug fix

11396
Remove floating point from AT_CellularSMS

11395
Avoid non-trivial copy when initializing lorastack struct

11394
Replace wait_ms calls with rtos::ThisThread::sleep_for

11393
Cast void pointer before deallocating with delete[]

11392
Remove minor build warnings

11384
ST DISCO-H747I introduction

11383
Change LSI_VALUE in STM implementation.

11382
Use very verbose to see more details in case of problem

11381
M263: Enlarge required deep sleep latency

11380
M263: Enlarge LPTICKER_DELAY_TICKS for safe

11379
M263: Fix FPGA CI testing failing

11377
Fixed byte string related TypeError if using python3.

11372
Cellular: Fix BG96 power on and connect

11368
Add pin speed controlling interface

11347
Fix NRF52832 softdevice memory map

11338
Bring down interface when stopping softap

11330
RTL8195AM - resuscitate AMEBA GCC/ARMCC support

11314
Add executable analaysis tool for floating point checks.

11297
Differentiate alt and dummy cycles in QSPIF

11254
Update gcc.py for preprocessing in linker script

11176
Support Nuvoton target NUMAKER_M252KG

11046
Initial implementation of Cypress Crypto hardware acceleration for mbedTLS

10991
Explaining how to opt in modules

10684
Cellular: fix ATHandler destructor possible crash on delete

Using this release

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

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