We are pleased to announce the Mbed OS 5.15.6 release is now available.
Summary
This is the latest support release for the Mbed OS 5.15 branch. It contains a number of important fixes including:
- Nanostack release v12.6.0
- Improvements to WiSUN functionality
- Mbed CoAP updated to v5.1.8
The full list of changes can be viewed below.
Migration Guide
This section lists specific changes which are part of this release and may
need special attention.
mbed-os-5.15: Add initialization to radius retry values
Summary of changes
This corrects uninitialized scalar field coverity warning.
This is Mbed OS 5.15 version of #13740
mbed-os-5.15: Add initialization check to RADIUS ipv6 address
Summary of changes
Added initialization check to RADIUS ipv6 address that prevents the border router from printing unnecessary error trace
when RADIUS is not enabled.
This is Mbed OS 5.15 version of:
#13588
M2354: Upgrade to BSP v3.00.001 (5.15)
Summary of changes
This PR upgrades BSP to v3.00.001 to support MP chip.
Impact of changes
NuMaker-M2354 Ver 1.0 (test chip) gets unsupported. This doesn't do big impact because it is internal only. NuMaker-M2354 Ver 1.1 (MP chip) will be the official one with this upgrade.
mbed-os-5.15: Add APIs for Device min sense and CCA threshold table
Summary of changes
-Added get, set and validate API for device min sens.
-Added get API for CCA threshold table.
Bring in changes from feature-wisun #13521 to mbed-os-5.15 branch.
Nuvoton: Enable fault handler dump message on CM23 targets (5.15)
Summary of changes
This PR is backport of #13738 to mbed-os-5.15 branch. It enables fault handler dump message on Nuvoton's CM23 targets:
- NU_PFM_M2351
- NUMAKER_IOT_M263A
- NUMAKER_IOT_M252
mbed-os-5.15: Add certificate remove before add to wisun tasklet
Summary of changes
This prevents tasklet from adding own certificates multiple times to Nanostack in case bootstrap is made again.
This is mbed-os-5.15 version of #13608
mbed-os-5.15: Enable Nanostack DNS cache usage
Summary of changes
Enable usage of Nanostack DNS cache. The cache may contain DNS server address and DNS query results.
Inherit methods gethostbyname, gethostbyname_async and get_dns_server to Nanostack class.
Methods will try to find DNS server address or DNS query results from Nanostack DNS cache.
These same changes are available in:
mbed-os-5.15: Nanostack release v12.6.0
Summary of changes
Nanostack release v12.6.0 to feature-wisun branch.
This release contains improvements to the Wi-SUN protocol functionality.
These same changes are also available in feature-wisun branch: #13716, and in master: #13718
mbed-os-5.15: Mesh interface global up is indicated always on bootstrap ready
Summary of changes
This indicates e.g. to client that IP address has changed or connection
to network has been established.
This is mbed-os 5.15 version of #13666
mbed-os-5.15: Nuvoton: Fix NuMaker I2C timeout
Summary of changes
This PR is to fix I2C timeout measurement for NuMaker platforms instead of hardcode max timer count on OS-5.15 branch.
The same commit got approval in PR #13679 on OS-6.x master branch.
adapting to new s3 bucket location in travis.yml
Summary of changes
Travis CI uses compilers and other binaries like astyle. These are stored in S3 bucket currently owned by ISG and mbed-os-ci is switching to OSS. This PR adapts the S3 location changes from ISG to OSS for travis CI builds.
TEST: Extend the kvstore test time out to 120s
Summary of changes
Extend the kvstore test time out to 120s, due to this test might take longer time to run on larger size SD card
K82F, KL82Z: Fix the I2C SDK driver slave transfer
Summary of changes
If multiple bytes are send from slave to master, slave is wrongly performing stop signal what brakes communication for 11ms because bus is still active. Slave shouldn't do any Start or Stop signal
Fix STM32H747 Arduino pinout
Summary of changes
Changing Pin Names for Arduino header on STM32H747
M2351: Support GCC and IAR
Summary of changes
This PR is backport of #12353 and #12366 to mbed-os-5.15
branch. It has the following modifications on M2351:
- Enable GCC support on non-PSA non-secure target
- Enable IAR support on non-PSA non-secure target
- Refactor for above toolchain support
- Other minor fix
NOTE1: Disable GCC support on secure targets because of GCC bug (as of 9-2019-q4-major): In non-secure entry function, callee-saved registers must be restored, but they are incorrectly cleared at optimization level Os.
NOTE2: Disable IAR on secure targets because of IAR toolchain bug (as of IAR 8.32):cmse_nonsecure_caller()
is not always inlined.
Add SD, USBDEVICE & LPTICKER support for VK_RZ_A1H board.
Summary of changes
Add SD
, USBDEVICE
, LPTICKER
support.
Some of the files are synced with the other Renesas boards. VK_RZ_A1H
ones are a bit old, especially the linker script files!
Impact of changes
SD
feature requires an external lib !
Migration actions required
Projects using the SD
feature, should include SDHI
.
Update Mbed CoAP to v5.1.7
Summary of changes
Update Mbed CoAP to v5.1.7.
- Removed comparison of IP addresses when validating message resending. This avoids unnessary network errors due to load balancers causing frequent IP address changes.
- Multiple fixes for out-ouf-bounds memory accesses, a memory leak and an infinite loop condition in packet parser.
- Mapped
MBED_CONF_MBED_CLIENT_RECONNECTION_COUNT
Pelion Device Management Client configuration option toSN_COAP_RESENDING_MAX_COUNT
in mbed-coap. - Fix the token from blockwise ACK message to be empty if the received message doesn't have one.
Fix for linker issue in AdBun-M066
Summary of changes
Linker issue:
The hardcoded __initial_sp
from the startup file of AdBun-M066 (startup_TMPM066.S) has been removed.
The initial stack pointer value ARM_LIB_STACK
has been imported from the scatter file of AdBun-M066 (tmpm066fwug.sct).
As per scatter file of AdBun-M066,
initial stack pointer = 0x200000C0 + 0x4000 : 0x200040C0 (which is beyond the RAM of AdBun-M066)
So, Stack pointer must be initialized to =
RAM starting address + Size of RAM = 0x20000000 + 0x4000 (16KB)
mbed-os-5.15: Add external RADIUS server configuration to Wi-SUN Border Router
Summary of changes
Added configuration functions and .json configuration options for:
- external RADIUS server IPv6 address
- RADIUS shared secret.
- RADIUS client retry trickle timer configuration. This can be used to set how fast
the RADIUS client retries Access-Request messages to RADIUS server in case reply
from server is not received.
This combines following RADIUS configuration pull requests from feature-wisun:
#13412
#13517
#13530
[mbed-os-5.15] Nanostack release v12.5.0
Summary of changes
Nanostack v12.5.0 contains bug fixes and stability improvements to the Wi-SUN protocol stack.
Also 802.15.4.RF RF drivers have been updated to match functionality in Nanostack:
- Atmel RF driver to v3.3.2
- STM S2LP driver to v1.0.7
These same changes are available in feature-wisun branch in PR: #13550
Nuvoton: Fix degrading QSPI to SPI (5.15)
Summary of changes
Same as #13536 but backport to mbed-os 5.15, this PR tries to fix logic with degrading QSPI to SPI. In most cases, we can control degraded QSPI H/W to standard through BSP SPI driver directly as if it is just SPI H/W. However, BSP SPI driver distinguishes among SPI H/W instances in functions:
- SPI_Open
- SPI_Close
- SPI_SetBusClock
- SPI_GetBusClock
In these cases, we must change to QSPI version instead for QSPI H/W.
device_management.py supports application access keys 5.15
Summary of changes
The Mbed CLI tool fails to initialize with application access keys. This PR changes the device_management.py
so that it works with the new access keys as the legacy API key feature is now deprecated in Pelion Device Management.
Impact of changes
The init script still works with legacy API keys.
mbed-os-5.15: Nuvoton: Fixed NUC472 SD buffer alignment
Summary of changes
This PR is to correct NUC472 SD buffer alignment as 4 bytes instead of original 4K, it could resolve the issue
of mbed-os-example-pelion NUC472 GCC build failed in Pelion PR #147
[mbedos-5.15] Updating mbed-mesh-api
Summary of changes
Adding new parameters for Wi-SUN and Border router interface information.
This is upstream of PR #13453
[mbed-os-5.15] Add WiSun network size configs in JSON
Summary of changes
Add json config items for WiSun network size.
So user could easily config the default WiSun network size via Json file.
This PR is upstreaming changes from #13134
ci: Update arm-none-eabi-
version
Summary of changes
The arm-none-eabi-
version is updated from version 6 to version 9.
Signed-off-by: Devaraj Ranganna devaraj.ranganna@arm.com
[mbed-os-5.15] Nanostack release v12.4.0
Summary of changes
Nanostack release v12.4.0 to mbed-os-5.15 branch.
Nanostack v12.4.0 contains bug fixes and stability improvements to the Wi-SUN protocol stack.
802.15.4 RF drivers has been updated to match functionality in Nanostack v12.4.0.
This is upstream of PR: #13444
[mbed-os-5.15] ODIN-W2 release v3.7.2 and bug fixes.
Summary of changes
This PR included following features:
Known Issues
There are no new known issues with this release.
Contents
Ports for Upcoming Targets
Fixes and Changes
13788
Update Mbed CoAP to v5.1.8
13775
mbed-os-5.15: Add initialization to radius retry values
13774
mbed-os-5.15: Add initialization check to RADIUS ipv6 address
13770
M2354: Upgrade to BSP v3.00.001 (5.15)
13758
mbed-os-5.15: Add APIs for Device min sense and CCA threshold table
13739
Nuvoton: Enable fault handler dump message on CM23 targets (5.15)
13736
mbed-os-5.15: Add certificate remove before add to wisun tasklet
13735
mbed-os-5.15: Enable Nanostack DNS cache usage
13719
mbed-os-5.15: Nanostack release v12.6.0
13715
mbed-os-5.15: Mesh interface global up is indicated always on bootstrap ready
13709
mbed-os-5.15: Nuvoton: Fix NuMaker I2C timeout
13696
adapting to new s3 bucket location in travis.yml
13693
TEST: Extend the kvstore test time out to 120s
13661
K82F, KL82Z: Fix the I2C SDK driver slave transfer
13652
Fix STM32H747 Arduino pinout
13643
M2351: Support GCC and IAR
13639
Add SD, USBDEVICE & LPTICKER support for VK_RZ_A1H board.
13606
Update Mbed CoAP to v5.1.7
13578
Fix for linker issue in AdBun-M066
13576
mbed-os-5.15: Add external RADIUS server configuration to Wi-SUN Border Router
13559
[mbed-os-5.15] Nanostack release v12.5.0
13537
Nuvoton: Fix degrading QSPI to SPI (5.15)
13525
device_management.py supports application access keys 5.15
13512
mbed-os-5.15: Nuvoton: Fixed NUC472 SD buffer alignment
13496
[mbedos-5.15] Updating mbed-mesh-api
13495
[mbed-os-5.15] Add WiSun network size configs in JSON
13487
ci: Update arm-none-eabi-
version
13451
[mbed-os-5.15] Nanostack release v12.4.0
13450
[mbed-os-5.15] ODIN-W2 release v3.7.2 and bug fixes.
Using this release
You can fetch this release from the mbed-os GitHub repository, using the tag "mbed-os-5.15.6".
If you need any help with this release please visit our support page, which provides reference links and details of our support channels.