Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

[stm32] Add RTC driver#1242

Merged
salkinium merged 5 commits intomodm-io:developfromsalkinium:feature-rtc
Dec 30, 2024
Merged

Conversation

salkinium
Copy link
Member

@salkiniumsalkinium commentedDec 22, 2024
edited
Loading

This continues the work of#1055.

  • Working RTC peripheral on all STM32 except STM32F1, which has a completely different RTC
  • Efficient and cached conversion algorithm to milliseconds since 1970 epoch.
  • C++std::chrono interface for clocks.
  • Add interface code for DateTime objects
    • There should be amodm::DateTime class that deals with conversions compatible withRtc::DateTime.
    • Construct from__TIMESTAMP__ instead of adding an extra class.
    • Unit tests for time conversion
  • Better Board support for SystemClock. Lots of boards have an RTC crystal.
  • Generic example showing off millisecond time_points and DateTime object.
  • Tested on ~40 nucleo and discovery boards I had lying around with the generic example, covering almost all families.
  • Ran unit tests on 5 STM32 boards.

@salkiniumsalkiniumforce-pushed thefeature-rtc branch 11 times, most recently from648a93e tocbd4d9eCompareDecember 28, 2024 16:11
@salkiniumsalkinium added the ci:halTriggers the exhaustive HAL compile CI jobs labelDec 28, 2024
@salkiniumsalkiniumforce-pushed thefeature-rtc branch 13 times, most recently fromc812267 to717a10aCompareDecember 30, 2024 18:57
@salkiniumsalkinium removed the ci:halTriggers the exhaustive HAL compile CI jobs labelDec 30, 2024
@salkiniumsalkinium added the ci:halTriggers the exhaustive HAL compile CI jobs labelDec 30, 2024
@salkiniumsalkinium marked this pull request as ready for reviewDecember 30, 2024 19:31
@salkiniumsalkinium merged commitf402893 intomodm-io:developDec 30, 2024
12 checks passed
@salkiniumsalkinium deleted the feature-rtc branchDecember 30, 2024 22:35
@salkiniumsalkinium added this to the2024q4 milestoneDec 30, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
advanced 🤯ci:halTriggers the exhaustive HAL compile CI jobsexample 🔑feature 🚧
Milestone
2024q4
Development

Successfully merging this pull request may close these issues.

2 participants
@salkinium@rasmuskleist

[8]ページ先頭

©2009-2025 Movatter.jp