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
STM32F1 RTC : save values in register #8213
Conversation
ST_INTERNAL_REF 53639 |
Test result unchanged:
|
Looks fine to me. Just the commit is less descriptive compare to the description here (can you add description from here there? ) Will move to needs: CI after update |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit should state what this fixes (see my comment above)
Date is managed only by SW within CUBE functions HAL_RTC_GetDate and HAL_RTC_SetDate. They are then replaced by functions that saved counters in HW registers. RTC_ReadTimeCounter and RTC_WriteTimeCounter are then added to the ST API.
4e8f85c
to
e8d32ca
Compare
Commit updated |
@0xc0170 please start CI |
@jeromecoutant I updated my review, and this will be in the queue for CI now (we are producing 5.10.1 RC, so once that one is done, we will start filling up the queue). |
/morph build |
Build : SUCCESSBuild number : 3295 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2922 |
Test : SUCCESSBuild number : 3101 |
@OPpuolitaival I can't restart unittest anymore, can you please help? |
@0xc0170 you can always trigger whole pipeline as restarting "continuous-integration/jenkins/pr-head" |
@0xc0170 the root cause was refactoring the pipeline script.. I take care of this |
Time still gets reset, if i call |
Hi |
But its not related to Mbed, calling |
We need to check this alarm feature now that RTC register access is different... |
Description
RTC drivers for STM32F1 family is quite different than other families.
Date feature is currently managed only by SW.
With this patch, RTC read and write has been quite simplified,
and values are now saved into register.
Fixes #8191
Pull request type