Tune timing and upload rate of tests
This commit is contained in:
parent
94635e8cc5
commit
205d4b5cc1
|
@ -6,7 +6,7 @@ PROJECT_DIRS = $(PWD) ;
|
|||
# (2) Board Information
|
||||
|
||||
UPLOAD_PROTOCOL ?= arduino ;
|
||||
UPLOAD_SPEED ?= 57600 ;
|
||||
UPLOAD_SPEED ?= 115200 ;
|
||||
MCU ?= atmega328p ;
|
||||
F_CPU ?= 16000000 ;
|
||||
CORE ?= arduino ;
|
||||
|
|
|
@ -6,7 +6,7 @@ PROJECT_DIRS = $(PWD) ;
|
|||
# (2) Board Information
|
||||
|
||||
UPLOAD_PROTOCOL ?= arduino ;
|
||||
UPLOAD_SPEED ?= 57600 ;
|
||||
UPLOAD_SPEED ?= 115200 ;
|
||||
MCU ?= atmega328p ;
|
||||
F_CPU ?= 16000000 ;
|
||||
CORE ?= arduino ;
|
||||
|
|
|
@ -4,9 +4,13 @@
|
|||
# WARNING: Test config 2 only works with PLUS units.
|
||||
|
||||
jam u0 u1 && expect test.ex 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB0 && sleep 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB1 && sleep 1
|
||||
sleep 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB0
|
||||
sleep 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB1
|
||||
expect test.ex 2
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB0 && sleep 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB1 && sleep 1
|
||||
sleep 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB0
|
||||
sleep 1
|
||||
stty 57600 raw ignbrk hup < /dev/ttyUSB1
|
||||
expect test.ex 3
|
||||
|
|
Loading…
Reference in New Issue