[riot-notifications] [RIOT-OS/RIOT] boards/hifive*: add renode support (#15501)

Francisco notifications at github.com
Thu Nov 26 17:56:51 CET 2020


Timer stuff does not seem to work correctly though, it would be interesting to know waht works well and what doesnt:
```
RIOT RTT low-level driver test
RTT configuration:
RTT_MAX_VALUE: 0xffffffff
RTT_FREQUENCY: 32768
Testing the tick conversion
Trying to convert 1 to seconds and back
Trying to convert 256 to seconds and back
Trying to convert 65536 to seconds and back
Trying to convert 16777216 to seconds and back
Trying to convert 2147483648 to seconds and back
All ok
Initializing the RTT driver
This test will now display 'Hello' every 5 seconds
RTT now: 0
Setting initial alarm to now + 5 s (163840)
Done setting up the RTT, wait for many Hellos
#nothing happens
```

```
START
main(): This is RIOT! (Version: 2021.01-devel-1084-g13d14-pr-15501)
Running test 5 times with 7 distinct sleep times
Slept for 168915 us (expected: 10000 us) Offset: 158915 us
Slept for 70801 us (expected: 50000 us) Offset: 20801 us
Slept for 57526 us (expected: 10234 us) Offset: 47292 us
Slept for 60547 us (expected: 56780 us) Offset: 3767 us
Slept for 32929 us (expected: 12122 us) Offset: 20807 us
Slept for 98755 us (expected: 98765 us) Offset: -10 us
Slept for 88226 us (expected: 75000 us) Offset: 13226 us
Slept for 83771 us (expected: 10000 us) Offset: 73771 us
Slept for 87829 us (expected: 50000 us) Offset: 37829 us
Slept for 72663 us (expected: 10234 us) Offset: 62429 us
Slept for 87036 us (expected: 56780 us) Offset: 30256 us
Slept for 59418 us (expected: 12122 us) Offset: 47296 us
Slept for 98755 us (expected: 98765 us) Offset: -10 us
Slept for 74982 us (expected: 75000 us) Offset: -18 us
Slept for 21332 us (expected: 10000 us) Offset: 11332 us
Slept for 70801 us (expected: 50000 us) Offset: 20801 us
Slept for 57526 us (expected: 10234 us) Offset: 47292 us
Slept for 60547 us (expected: 56780 us) Offset: 3767 us
Slept for 32929 us (expected: 12122 us) Offset: 20807 us
Slept for 98755 us (expected: 98765 us) Offset: -10 us
Slept for 88226 us (expected: 75000 us) Offset: 13226 us
Slept for 83771 us (expected: 10000 us) Offset: 73771 us
Slept for 87829 us (expected: 50000 us) Offset: 37829 us
Slept for 72662 us (expected: 10234 us) Offset: 62428 us
Slept for 87037 us (expected: 56780 us) Offset: 30257 us
Slept for 59418 us (expected: 12122 us) Offset: 47296 us
Slept for 98754 us (expected: 98765 us) Offset: -11 us
Slept for 74982 us (expected: 75000 us) Offset: -18 us
Slept for 21332 us (expected: 10000 us) Offset: 11332 us
Slept for 70800 us (expected: 50000 us) Offset: 20800 us
Slept for 57525 us (expected: 10234 us) Offset: 47291 us
Slept for 60547 us (expected: 56780 us) Offset: 3767 us
Slept for 32929 us (expected: 12122 us) Offset: 20807 us
Slept for 98755 us (expected: 98765 us) Offset: -10 us
Slept for 88226 us (expected: 75000 us) Offset: 13226 us
Test ran for 3370972 us
```
Would be interesting to know what should and should not work, clocks seem not to match at all.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15501#issuecomment-734404676
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201126/dbeb9b90/attachment-0001.htm>


More information about the notifications mailing list