Skip to content

Add basic RTC API - #26

Merged
arkorobotics merged 6 commits into
stm32-rs:masterfrom
braun-embedded:rtc
Aug 13, 2019
Merged

arkorobotics merged 6 commits into
stm32-rs:masterfrom
braun-embedded:rtc

Conversation

@hannobraun

Copy link
Copy Markdown
Contributor

This pull request adds a very basic RTC API. It can be used to read and set the time, but no alarms or other interrupts are supported yet. There are also a few commits adding general debug stuff to the time module, as that was useful to me while I developed this.

I'm marking this PR as a draft, as it's based on #25. Otherwise, this is ready to review.

cc @lthiery

@hannobraun

Copy link
Copy Markdown
Contributor Author

Build fails for STM32L0x1 due to warnings. Will fix shortly.

@hannobraun
hannobraun marked this pull request as ready for review August 12, 2019 10:09
@hannobraun

Copy link
Copy Markdown
Contributor Author

There was also another problem that was masked by the first: The RTC example only works on STM32L0x2.

Everything's fixed now. Pull request has been rebased. I've rolled the fixes into the existing commits.

This is ready for review now.

@arkorobotics
arkorobotics merged commit 977af77 into stm32-rs:master Aug 13, 2019
@arkorobotics

Copy link
Copy Markdown
Member

You rock! Thanks again for all your recent PRs!

@hannobraun
hannobraun deleted the rtc branch August 13, 2019 07:42
@hannobraun

Copy link
Copy Markdown
Contributor Author

You rock! Thanks again for all your recent PRs!

Thank you :-)
And thank you again for all the reviewing/merging!

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.

2 participants