first
This commit is contained in:
12
extras/tests/simavr_based/test_sd_09_328p/expect.txt
Normal file
12
extras/tests/simavr_based/test_sd_09_328p/expect.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
DirA: 0*L->H, 1*H->L
|
||||
DirB: 1*L->H, 0*H->L
|
||||
EnableA: 1*L->H, 1*H->L
|
||||
EnableB: 1*L->H, 0*H->L
|
||||
StepA: 628*L->H, 628*H->L, Max High=10us Total High=3215us
|
||||
StepB: 0*L->H, 0*H->L, Max High=0us Total High=0us
|
||||
Position[A]=372
|
||||
|
||||
Time in EnableA max=225400 us, total=225400 us
|
||||
|
||||
Time in StepA max=10 us, total=3215 us
|
||||
|
||||
31
extras/tests/simavr_based/test_sd_09_328p/platformio.ini
Normal file
31
extras/tests/simavr_based/test_sd_09_328p/platformio.ini
Normal file
@@ -0,0 +1,31 @@
|
||||
; 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 A1000000 V40 R500 W A100 b w1000 S ? W "'
|
||||
|
||||
[env:atmega328p]
|
||||
platform = atmelavr
|
||||
board = nanoatmega328
|
||||
framework = arduino
|
||||
build_flags = -Werror -Wall ${common.build_flags}
|
||||
lib_extra_dirs = ../../../../..
|
||||
Reference in New Issue
Block a user