-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
sample/drivers/counter/alarm: adapt test to driver change PR #25367 #25371
Conversation
c9470d7
to
ecb912b
Compare
@@ -8,6 +8,8 @@ Overview | |||
This sample provides an example of alarm application using counter API. | |||
It sets an alarm with an initial delay of 2 seconds. At each alarm | |||
expiry, a new alarm is configured with a delay multiplied by 2. | |||
Note: In case of 1Hz frequency (RTC for example), precision is 1 second. | |||
Now value can be slightly different than the one in Sample Output |
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.
Use RST notes, e.g.
.. note::
In case of....
I'd suggest Therefore, the sample output may differ in 1 second
instead of Now value can be slightly different than the one in Sample Output
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.
Done
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.
Docs build is broken, can you check?
ecb912b
to
21f7a08
Compare
…rproject-rtos#25367 Due to counter driver implementation change introduced with PR zephyrproject-rtos#25367 "driver/counter/counter_ll_stm32_rtc.c: Add 1 tick to alarm" It is necessary to adapt sample test (sanitycheck) to take into consideration 1 tick precision/tolerance. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
21f7a08
to
8301aa1
Compare
Commit added to #25367 |
Due to counter driver implementation change introduced with PR #25367
"driver/counter/counter_ll_stm32_rtc.c: Add 1 tick to alarm"
It is necessary to adapt sample test (sanitycheck)
to take into consideration 1 tick precision/tolerance.
Fixes #25366