Skip to content

Ambiq RTC differences #72480

Discussion options

You must be logged in to vote

Regarding issue 1, returning -EINVAL is the correct behavior, and skipping the test if -EINVAL is returned is appropriate.

Regarding issue 2, the test suite can be updated to set every supported field, rather than just hours and minutes. This is a valid configuration which should be supported by all RTCs.

We can add an additional test to validate that only the selected alarm time fields are used, which is a valid configuration for most RTCs, this test can be skipped if the RTC returns -EINVAL, which would be the case for the AMBIQ RTC.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RichardSWheatley
Comment options

RichardSWheatley May 8, 2024
Collaborator Author

Answer selected by RichardSWheatley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants