Skip to content

[feature-wisun] Update base to mbed-os-5.15.7 #14526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

artokin
Copy link
Contributor

@artokin artokin commented Apr 9, 2021

Summary of changes

Update feature-wisun base from mbed-os-5.15.4 to mbed-os-5.15.7.

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers


qasim-ublox and others added 30 commits April 21, 2020 18:35
updating wlan parameter configuration under appropriate settings
-info_get for Wi-SUN router.
-info_get for Wi-SUN BR.
-routing_table_get for Wi-SUN BR.
We are now checking if ESP8266 has confirmed receiving data over serial
port with an undocumented (but existing) "Recv x bytes" message. Next we
are explicitly waiting for an official "SEND OK".
1.  Fix 'spurious close' by adding close() in open(). 'spurious close' gets frequent and cannot ignore when send() changes to asynchronous. User can retry open() until 'spurious close' gets true.
2.  Allow only one actively sending socket because:
    (1) ESP8266 AT packets 'SEND OK'/'SEND FAIL' are not associated with socket ID. No way to tell them.
    (2) In original implementation, ESP8266::send() is synchronous, which implies only one actively sending socket.
3.  Register 'SEND OK'/'SEND FAIL' oobs, like others in ESP8266::ESP8266 constructor. Don't get involved in oob management with send status because ESP8266 modem possibly doesn't reply these packets on error case.
4.  Now that ESP8266::send() changes to asynchronous, drop the code with _parser.recv("SEND OK")/_parser.recv("SEND FAIL"). _parser.recv("SEND OK")/_parser.recv("SEND FAIL") and 'SEND OK'/'SEND FAIL' oobs both consume 'SEND OK'/'SEND FAIL' packets and complicate flow control.
This is because the ESP8266 is now waiting for SEND OK and takes much
more to complete the send_repeat, and echo_burst tests in RAAS.
(but has higher pass ratio).
…p' in a local

gpiote input configuration data structure, resulting in non-deterministic failure
to initialize interrupt handling.
With send(...) changing to non-block, modem can be busy in sending previous data and 'busy' the current 'AT+CIPCLOSE' command.
In blocking mode, add retries to avoid spurious close to some degree.
This is required to pass GT netsocket-tcp/netsocket-tls tests which expect close(...) to be OK.
…v3.8.0_rc1

Ublox odin driver os 5 v3.8.0 rc1
This is to enable bootloader and export to KEIL and IAR
On test chip, byte-read (LDRB) last byte of flash in non-secure world always gets 0xFF.
Get around it. Recover back on MP chips.
We should really specify the littlefs and FAT FS licensing as separate
items, we should not just lump them together.

I also think we should point where the originals were picked up from.
They are a seemingly random mix of Apache 2.0 and MIT licenses.
This commit modifies the Vector Table Offset Register in the startup
file, so it uses address coming from the user application instead of a
fixed one pointing to the bootloader. This change has been already
proposed for another STM32F4 board [1] to fix bootloader issues.

1. ARMmbed#1666 (comment)
adbridge and others added 2 commits March 24, 2021 11:23
This is the mbed-os-5.15.7 release. For a full list of changes please refer to the release notes.

* tag 'mbed-os-5.15.7': (160 commits)
  Update Mbed version block
  Improve WisunInterface set_network_size docs
  Add integer overflow check to the malloc wrappers
  targets:evkbimxrt1050: Adjust the SEMC re-order rules
  targets:RT1050: Fix the flash erase and program issue for qspi nor flash.
  targets:RT1050: Fix the low speed switch issue
  targets:clock: Update the coreclock value
  targets: clock: change default core clock to 528M
  targets:uart: Add uart_3 support
  targets:lpspi: Update the lpspi driver and api
  targets:MIMXRT1050: Add LPSPI4 support
  targets:MIMXRT1050: Update link file for application
  targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
  targets:TARGET_IMX: Fix the memset issue for FLASHIAP
  targets:TARGET_IMX: Fix the flash init risk
  targets:MIMXRT1050: Add QSPI Flash boot support
  MIMXRT1050: Update for deep sleep latency
  MXRT1050: Add bootloader support
  MIMXRT1050: Enable FlashIAP support
  MIMXRT1050: Reduce NOR size used by mbed-os
  ...
Copy link
Contributor

@teetak01 teetak01 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :-)

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 13, 2021

We had master CI issues yesterday. I'll try to schedule one job soon for this one.

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 13, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Apr 13, 2021

Test run: FAILED

Summary: 1 of 10 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test-lts

@mergify mergify bot added needs: work and removed needs: CI labels Apr 13, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 13, 2021

Ci restarted (networking hiccup)

@mbed-ci
Copy link

mbed-ci commented Apr 13, 2021

Test run: FAILED

Summary: 1 of 10 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test-lts

@mbed-ci
Copy link

mbed-ci commented Apr 13, 2021

Test run: SUCCESS

Summary: 10 of 10 test jobs passed
Build number : 3
Build artifacts

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 13, 2021

@artokin Lets merge?

@artokin artokin merged commit e03f3c6 into ARMmbed:feature-wisun Apr 13, 2021
@artokin artokin deleted the update_feature_wisun_baseline_to_5_15_7 branch April 13, 2021 12:27
@mergify mergify bot removed the ready for merge label Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.