Add rtic-timer (timerqueue + monotonic) and rtic-monotonics (systick-monotonic)

This commit is contained in:
Emil Fresk 2023-01-23 20:05:47 +01:00 committed by Henrik Tjäder
parent b8b881f446
commit 306aa47170
276 changed files with 607 additions and 713 deletions

View file

@ -1,7 +0,0 @@
init
hello from bar
hello from baz
hello from foo
bye from foo
bye from bar
bye from baz

View file

@ -1,6 +0,0 @@
init
hello from async 0
hello from async 1
hello from async 2
hello from async 3
hello from async 4

View file

@ -1,6 +0,0 @@
init
hello from async 3 a 1
hello from async 4 a 2
hello from async 1 a 3
hello from async 2 a 4
idle

View file

@ -1,5 +0,0 @@
init
hello from async2
hello from async
hello from async with args a: 1, b: 2
idle

View file

@ -1,5 +0,0 @@
init
hello from bar
hello from foo
foo no timeout
bar timeout

View file

@ -1,3 +0,0 @@
async_task data:[22, 22, 22, 22, 22]
uart0 data:[22, 22, 22, 22, 22]
idle

View file

@ -1,4 +0,0 @@
init
foo called 1 time
idle
foo called 2 times

View file

@ -1,3 +0,0 @@
init
foo
bar

View file

@ -1,5 +0,0 @@
foo(0)
foo(1)
foo(2)
foo(3)
bar

View file

View file

@ -1,47 +0,0 @@
init
idle p0 started
t2 p4 called 1 time
enter lock s4 0
t3 p4 exit
idle enter lock s3 0
idle pend t0
idle pend t1
idle pend t2
t2 p4 called 2 times
enter lock s4 1
t3 p4 exit
idle still in lock s3 0
t1 p3 called 1 time
t1 enter lock s4 2
t1 pend t0
t1 pend t2
t1 still in lock s4 2
t2 p4 called 3 times
enter lock s4 2
t3 p4 exit
t1 p3 exit
t0 p2 called 1 time
t0 p2 exit
back in idle
enter lock s2 0
idle pend t0
idle pend t1
t1 p3 called 2 times
t1 enter lock s4 3
t1 pend t0
t1 pend t2
t1 still in lock s4 3
t2 p4 called 4 times
enter lock s4 3
t3 p4 exit
t1 p3 exit
idle pend t2
t2 p4 called 5 times
enter lock s4 4
t3 p4 exit
idle still in lock s2 0
t0 p2 called 2 times
t0 p2 exit
idle exit

View file

@ -1,2 +0,0 @@
bar: a = 0, b = 1, c = 2
foo: a = 0, b = 1, c = 2

View file

@ -1,4 +0,0 @@
init
foo called
idle
foo called

View file

@ -1 +0,0 @@
foo

View file

@ -1,6 +0,0 @@
UART1(STATE = 0)
shared: 0 -> 1
UART0(STATE = 0)
shared: 1 -> 2
UART1(STATE = 1)
shared: 2 -> 4

View file

@ -1,4 +0,0 @@
init
UART0 called 1 time
idle
UART0 called 2 times

View file

@ -1,2 +0,0 @@
init
idle

View file

@ -1,2 +0,0 @@
init
idle

View file

@ -1 +0,0 @@
init

View file

@ -1,3 +0,0 @@
bar: local_to_bar = 1
foo: local_to_foo = 1
idle: local_to_idle = 1

View file

@ -1,2 +0,0 @@
foo = 1
bar = 2

View file

@ -1,5 +0,0 @@
A
B - shared = 1
C
D - shared = 2
E

View file

@ -1,6 +0,0 @@
foo
bar(0)
baz(1, 2)
foo
bar(1)
baz(2, 3)

View file

@ -1,3 +0,0 @@
foo 1, 1
foo 1, 2
foo 2, 3

View file

@ -1 +0,0 @@
Multiple locks, s1: 1, s2: 1, s3: 1

View file

@ -1,3 +0,0 @@
init
bar a 13
foo a 13

View file

@ -1,2 +0,0 @@
bar(key = 0xdeadbeef)
foo(key = 0xdeadbeef)

View file

@ -1,4 +0,0 @@
foo Instant { ticks: 0 }
foo Instant { ticks: 10 }
foo Instant { ticks: 20 }
foo Instant { ticks: 30 }

View file

@ -1,7 +0,0 @@
foo Instant { ticks: 0 }
bar Instant { ticks: 10 }
foo Instant { ticks: 30 }
bar Instant { ticks: 40 }
foo Instant { ticks: 60 }
bar Instant { ticks: 70 }
foo Instant { ticks: 90 }

View file

@ -1,4 +0,0 @@
foo
foo
foo
foo

View file

View file

@ -1,5 +0,0 @@
foo - start
baz - start
baz - end
bar
foo - end

View file

@ -1 +0,0 @@
foo

View file

@ -1 +0,0 @@
20000000 t ramfunc::bar::h9d6714fe5a3b0c89

View file

@ -1 +0,0 @@
00000162 t ramfunc::foo::h30e7789b08c08e19

View file

@ -1,2 +0,0 @@
UART0: shared = 1
UART1: shared = 2

View file

@ -1,4 +0,0 @@
init
foo
bar
baz

View file

@ -1 +0,0 @@
received message: 42

View file

@ -1,2 +0,0 @@
init
foo

View file

@ -1,3 +0,0 @@
received message: 1
received message: 2
received message: 3

View file

@ -1,5 +0,0 @@
foo - start
foo - middle
baz
foo - end
bar

View file

@ -1,3 +0,0 @@
init
hello from async
hello from async2