Skip to content

Commit

Permalink
avr: all enabled tests pass with modified ISR
Browse files Browse the repository at this point in the history
  • Loading branch information
gin66 committed May 1, 2024
1 parent 1ef4030 commit db22d08
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 264 deletions.
14 changes: 7 additions & 7 deletions extras/tests/simavr_based/test_issue208/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
DirB: 1*L->H, 0*H->L
EnableA: 0*L->H, 0*H->L
EnableB: 0*L->H, 0*H->L
StepA: 235908*L->H, 235908*H->L, Max High=11us Total High=1237142us
StepB: 2*L->H, 2*H->L, Max High=13us Total High=17us
Position[A]=37462
StepA: 235907*L->H, 235907*H->L, Max High=10us Total High=927140us
StepB: 2*L->H, 2*H->L, Max High=12us Total High=17us
Position[A]=37463

Position[B]=2

Time in FillISR max=769 us, total=1237221 us
Time in FillISR max=768 us, total=1213765 us

Time in StepA max=11 us, total=1237142 us
Time in StepA max=10 us, total=927140 us

Time in StepB max=13 us, total=17 us
Time in StepB max=12 us, total=17 us

Time in StepISR max=7 us, total=1021992 us
Time in StepISR max=6 us, total=912200 us

1 change: 0 additions & 1 deletion extras/tests/simavr_based/test_issue250_30us/.gitignore

This file was deleted.

131 changes: 0 additions & 131 deletions extras/tests/simavr_based/test_issue250_30us/Makefile

This file was deleted.

Empty file.
32 changes: 0 additions & 32 deletions extras/tests/simavr_based/test_issue250_30us/platformio.ini

This file was deleted.

16 changes: 8 additions & 8 deletions extras/tests/simavr_based/test_sd_04_timing_2560/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
EnableA: 1*L->H, 1*H->L
EnableB: 2*L->H, 1*H->L
EnableC: 2*L->H, 1*H->L
StepA: 64000*L->H, 64000*H->L, Max High=25us Total High=396526us
StepB: 64000*L->H, 64000*H->L, Max High=35us Total High=418067us
StepC: 64000*L->H, 64000*H->L, Max High=41us Total High=635308us
StepA: 64000*L->H, 64000*H->L, Max High=26us Total High=479601us
StepB: 64000*L->H, 64000*H->L, Max High=30us Total High=368752us
StepC: 64000*L->H, 64000*H->L, Max High=36us Total High=379262us
Position[A]=64000

Position[B]=64000
Expand All @@ -17,13 +17,13 @@ Time in EnableA max=233598 us, total=233598 us

Time in EnableB max=246080 us, total=246080 us

Time in EnableC max=254236 us, total=254236 us
Time in EnableC max=254234 us, total=254234 us

Time in FillISR max=2866 us, total=2158540 us
Time in FillISR max=2805 us, total=2111191 us

Time in StepA max=25 us, total=396526 us
Time in StepA max=26 us, total=479601 us

Time in StepB max=35 us, total=418067 us
Time in StepB max=30 us, total=368752 us

Time in StepC max=41 us, total=635308 us
Time in StepC max=36 us, total=379262 us

14 changes: 7 additions & 7 deletions extras/tests/simavr_based/test_sd_04_timing_328p/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
DirB: 1*L->H, 0*H->L
EnableA: 1*L->H, 1*H->L
EnableB: 2*L->H, 1*H->L
StepA: 1000*L->H, 1000*H->L, Max High=15us Total High=5588us
StepB: 1000*L->H, 1000*H->L, Max High=15us Total High=5832us
StepA: 1000*L->H, 1000*H->L, Max High=14us Total High=4334us
StepB: 1000*L->H, 1000*H->L, Max High=14us Total High=4915us
Position[A]=1000

Position[B]=1000

Time in EnableA max=225398 us, total=225398 us

Time in EnableB max=238117 us, total=238117 us
Time in EnableB max=238115 us, total=238115 us

Time in FillISR max=2645 us, total=47801 us
Time in FillISR max=2640 us, total=47588 us

Time in StepA max=15 us, total=5588 us
Time in StepA max=14 us, total=4334 us

Time in StepB max=15 us, total=5832 us
Time in StepB max=14 us, total=4915 us

Time in StepISR max=7 us, total=9366 us
Time in StepISR max=6 us, total=8679 us

Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
DirB: 1*L->H, 0*H->L
EnableA: 1*L->H, 1*H->L
EnableB: 1*L->H, 0*H->L
StepA: 1000*L->H, 1000*H->L, Max High=10us Total High=5265us
StepA: 1000*L->H, 1000*H->L, Max High=11us Total High=3969us
StepB: 0*L->H, 0*H->L, Max High=0us Total High=0us
Position[A]=1000

Time in EnableA max=225399 us, total=225399 us

Time in FillISR max=2015 us, total=27562 us
Time in FillISR max=2013 us, total=27494 us

Time in StepA max=10 us, total=5265 us
Time in StepA max=11 us, total=3969 us

Time in StepISR max=7 us, total=4614 us
Time in StepISR max=5 us, total=4031 us

Loading

0 comments on commit db22d08

Please sign in to comment.