-
Notifications
You must be signed in to change notification settings - Fork 3k
Re-implement us_ticker and lp_ticker for Silicon Labs targets #6471
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
Re-implement us_ticker and lp_ticker for Silicon Labs targets #6471
Conversation
Tested with #6472 on the EFM32PG12_STK3402 👍 |
Jenkins should be fixed via #6469 (once merged we shall rebase this and should be green) |
afd66ab
to
6daa7fc
Compare
mbed RTC specifications now dictate that the RTC needs to retain and keep on counting through reset. On Silicon Labs parts, this means the RTC API can not be backed by the Silicon Labs RTC peripheral, since that doesn't provide retention functionality. Therefore: * On EFM32GG, EFM32WG, EFM32LG: mbed RTC API is now backed by BURTC. * On EFM32PG, EFR32MG, EFM32PG12, EFR32MG12: mbed RTC API is now backed by RTCC. * On EFM32ZG, EFM32HG: mbed RTC API is sadly no longer supported, since these chips don't have retained memory. # Conflicts: # targets/TARGET_Silicon_Labs/TARGET_EFM32/lp_ticker.c # targets/TARGET_Silicon_Labs/TARGET_EFM32/rtc_api.c # targets/targets.json
Re-implemented both us_ticker and lp_ticker to match the new API and specifications. Details: * On EFM32GG, EFM32WG, EFM32LG, EFM32HG, EFM32ZG: Use the RTC peripheral to back lp_ticker, and a TIMER to back us_ticker. * On EFM32PG, EFR32MG, EFM32PG12, EFR32MG12: Use the RTCC peripheral to back lp_ticker (dual-purpose, also used to back RTC), and a TIMER to back us_ticker.
343bbed
to
fdb4a8e
Compare
/morph build |
Build : SUCCESSBuild number : 1611 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1241 |
Test : SUCCESSBuild number : 1395 |
Description
Re-implemented both us_ticker and lp_ticker to match the new API and specifications.
Details:
Blockers
This PR will fail automatic testing until the test methodology is fixed, see issue #6470