Skip to content

Release candidate for mbed-os-5.10.2 #8479

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
merged 263 commits into from
Oct 19, 2018
Merged

Release candidate for mbed-os-5.10.2 #8479

merged 263 commits into from
Oct 19, 2018

Conversation

adbridge
Copy link
Contributor

No description provided.

ccli8 and others added 30 commits October 19, 2018 11:46
nu_busy_wait_us is a replacement for wait_us when intermediary us ticker layer is disabled.
nu_delay_cycle_x4 is a replacement for wait_us when us ticker is not available.
Replace wait_us with nu_busy_wait_us in lp_ticker since wait_us is not allowed in sleep test
which would suspend us ticker layer on which wait_us relies. nu_busy_wait_us is implemented
by calling us ticker HAL API directly rather than relying on us ticker layer.
Prevent deep sleep when there is still any character being transmitted on the UART.
This allows tickless to be safely enabled.
Add secure functions CLK_PowerDown_S/CLK_Idle_S
1. Remove hal_sleep/hal_deepsleep from secure library
2. Add CLK_Idle_S/CLK_PowerDown_S
Correctly detect and handle the low power run mode when entering and exiting sleep mode.

The generic `hal_sleep` implementation tries to exit LPR mode always, resulting in a spin-loop during a critical section (disabled IRQ).
The new approach returns from LPR to Run mode if enabled (LPR bit set), enters sleep, and resets to the original state on wakeup (WFI).
Call the routines to program the hardware to reflect the updates made to
flow control so that the object and hardware are in synch.
I changed _page_program() func because "buf" which is an argument of data_send() for writing must be a RAM address in order to operate in SPI mode.
(ex: if it is ROM table data, writing will be failure.)
Also, I changed the period of interrupt disable/enable at _page_program() func and _sector_erase() func because lock period is too long.
I addressed the cases Flash size is larger than 0x1000000.
Currently the return value of flash_get_page_size() is 1 since the min size per one writing is 1 byte by Flash spec.
However, I noticed that this value causes a enormous write time When writing large data such as FW update.
So I revised this value to 8 byte by considering the writing time, memory alignment and memory hole.
To enable the feature US_TICKER, file is newly implemented with Timer B, which has proper clock prescale and free running after match interrupt.
Old us_ticker driver file (Timer A) is producing up to 100us tolerance, which causes to fail US_TICKER feature.
Hence, changed the peripheral ticker A to B.
- Change the default file format to binary for all targets, even though some targets need hex as app format, updater always needs bin for now
- Unify the file name generation from generator side and usage side for the update bin
See User Manual, VREF+ is not connected by default

NB: Use 2.5V as reference (instead of 3.3V)
for internal channels calculation
The update to CMSIS 5.4.0 broke the macro ARM_MPU_RASR. This patch
pulls in the upstream fix from CMSIS:
ARM-software/CMSIS_5@2ead2ad#diff-e4bfba5228373d368ac2543d6e5bd4d0
Copy edit file, mostly for active voice and consistent spelling.
2.4GHz and 5GHz channels might be using the same SSID. Wifi scan
might also fail occasionally to find secure- and unsecure channels
on same scan so lets not assume that we'll find both.
@adbridge
Copy link
Contributor Author

/morph build
/morph mbed2-release

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2018

Build : SUCCESS

Build number : 3405
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/8479/

Triggering tests

/morph test
/morph export-build
/morph mbed2-build

@studavekar
Copy link
Contributor

/morph mbed2-release

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2018

@mbed-ci
Copy link

mbed-ci commented Oct 19, 2018

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph mbed2-release

@cmonr cmonr merged commit e1bea44 into mbed-os-5.10 Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.