This commit is contained in:
2024-12-22 05:22:46 +03:00
commit 1992e632d3
232 changed files with 20394 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
DirA: 0*L->H, 0*H->L
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=12us Total High=4227us
StepB: 1000*L->H, 1000*H->L, Max High=16us Total High=4975us
Position[A]=1000
Position[B]=1000
Time in EnableA max=225400 us, total=225400 us
Time in EnableB max=238121 us, total=238121 us
Time in FillISR max=2674 us, total=48012 us
Time in StepA max=12 us, total=4227 us
Time in StepB max=16 us, total=4975 us
Time in StepISR max=6 us, total=8566 us

View 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 A100000 V40 R1000 M2 A100000 V40 R1000 W M1 W t W "' -D SIMAVR_TIME_MEASUREMENT
[env:atmega328p]
platform = atmelavr
board = nanoatmega328
framework = arduino
build_flags = -Werror -Wall ${common.build_flags}
lib_extra_dirs = ../../../../..