-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Basic test for periph/rtt introduced in #15431 is incorrect #15940
Labels
Area: tests
Area: tests and testing framework
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Comments
aabadie
added
Area: tests
Area: tests and testing framework
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
labels
Feb 12, 2021
chudov
added a commit
to chudov/RIOT
that referenced
this issue
Apr 28, 2023
Signed-off-by: chudov <[email protected]>
chudov
added a commit
to chudov/RIOT
that referenced
this issue
Apr 28, 2023
Signed-off-by: chudov <[email protected]>
chudov
added a commit
to chudov/RIOT
that referenced
this issue
May 2, 2023
Signed-off-by: chudov <[email protected]>
chudov
added a commit
to chudov/RIOT
that referenced
this issue
May 2, 2023
Signed-off-by: chudov <[email protected]>
chudov
added a commit
to chudov/RIOT
that referenced
this issue
May 2, 2023
Signed-off-by: chudov <[email protected]>
chudov
added a commit
to chudov/RIOT
that referenced
this issue
May 2, 2023
Signed-off-by: chudov <[email protected]>
zhaolanhuang
pushed a commit
to zhaolanhuang/RIOT
that referenced
this issue
Dec 6, 2023
Signed-off-by: chudov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: tests
Area: tests and testing framework
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Basic tests introduced in #15431 failed for RTT_FREQUENCY that are not a multiple of 2^n.
The test assumes RTT time frequency is 1 Hz, 1024 Hz, 16384 Hz or 32768 Hz.
This assumption is wrong for RTT on ATMega128RFR2 and ATMega256RFR2. On these MCU the RTT has frequency 62500 Hz because RTT is based on 802.15.4 MAC symbols counter.
Steps to reproduce the issue
Run periph_rtt test on any board based on Atmel ATMega*RFR2: deRFmega128, deRFmega256, atmega256rfr2-xpro, avr-rss2.
Expected results
Test passes for platforms that use RTT_FREQUENCY that is not a multiple of 2^n.
Actual results
Versions
RIOT Version: 2020.10
Compiler version irrelated to the issue
The text was updated successfully, but these errors were encountered: