first
This commit is contained in:
15
extras/tests/simavr_based/test_sd_01c_2560t5/expect.txt
Normal file
15
extras/tests/simavr_based/test_sd_01c_2560t5/expect.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
DirA: 0*L->H, 0*H->L
|
||||
DirB: 1*L->H, 0*H->L
|
||||
DirC: 1*L->H, 0*H->L
|
||||
EnableA: 1*L->H, 0*H->L
|
||||
EnableB: 1*L->H, 0*H->L
|
||||
EnableC: 2*L->H, 1*H->L
|
||||
StepA: 0*L->H, 0*H->L, Max High=0us Total High=0us
|
||||
StepB: 0*L->H, 0*H->L, Max High=0us Total High=0us
|
||||
StepC: 3200*L->H, 3200*H->L, Max High=13us Total High=16822us
|
||||
Position[C]=3200
|
||||
|
||||
Time in EnableC max=450494 us, total=450494 us
|
||||
|
||||
Time in StepC max=13 us, total=16822 us
|
||||
|
||||
32
extras/tests/simavr_based/test_sd_01c_2560t5/platformio.ini
Normal file
32
extras/tests/simavr_based/test_sd_01c_2560t5/platformio.ini
Normal file
@@ -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='"? M3 A1000 V100 R3200 W t W "'
|
||||
|
||||
[env:atmega2560_timer5]
|
||||
platform = atmelavr
|
||||
board = megaatmega2560
|
||||
framework = arduino
|
||||
build_flags = -Werror -Wall -DFAS_TIMER_MODULE=5 ${common.build_flags}
|
||||
lib_extra_dirs = ../../../../..
|
||||
|
||||
Reference in New Issue
Block a user