first
This commit is contained in:
29
extras/tests/simavr_based/test_sd_04_timing_2560/expect.txt
Normal file
29
extras/tests/simavr_based/test_sd_04_timing_2560/expect.txt
Normal file
@@ -0,0 +1,29 @@
|
||||
DirA: 0*L->H, 0*H->L
|
||||
DirB: 1*L->H, 0*H->L
|
||||
DirC: 0*L->H, 0*H->L
|
||||
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=314366us
|
||||
StepB: 64000*L->H, 64000*H->L, Max High=30us Total High=360899us
|
||||
StepC: 64000*L->H, 64000*H->L, Max High=33us Total High=459850us
|
||||
Position[A]=64000
|
||||
|
||||
Position[B]=64000
|
||||
|
||||
Position[C]=64000
|
||||
|
||||
Time in EnableA max=233600 us, total=233600 us
|
||||
|
||||
Time in EnableB max=246089 us, total=246089 us
|
||||
|
||||
Time in EnableC max=254247 us, total=254247 us
|
||||
|
||||
Time in FillISR max=2867 us, total=2123376 us
|
||||
|
||||
Time in StepA max=25 us, total=314366 us
|
||||
|
||||
Time in StepB max=30 us, total=360899 us
|
||||
|
||||
Time in StepC max=33 us, total=459850 us
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[platformio]
|
||||
|
||||
# There should be only one env section for the DUT under test.
|
||||
# One of
|
||||
# atmega168p
|
||||
# atmega328p
|
||||
# atmega2560_timer1
|
||||
# atmega2560_timer3
|
||||
# atmega2560_timer4
|
||||
# atmega2560_timer5
|
||||
#
|
||||
[common]
|
||||
# This is the line input to StepperDemo:
|
||||
build_flags = -D SIM_TEST_INPUT='"M1 A10000 V50 R64000 M2 A11000 V50 R64000 M3 A12000 V50 R64000 W M2 W M1 W t W "' -D SIMAVR_TIME_MEASUREMENT_QUEUE
|
||||
|
||||
[env:atmega2560_timer4]
|
||||
platform = atmelavr
|
||||
board = megaatmega2560
|
||||
framework = arduino
|
||||
build_flags = -Werror -Wall ${common.build_flags}
|
||||
lib_extra_dirs = ../../../../..
|
||||
|
||||
Reference in New Issue
Block a user