Tune timing and upload rate of tests

This commit is contained in:
maniacbug 2012-01-17 22:04:20 -08:00
parent 94635e8cc5
commit 205d4b5cc1
3 changed files with 10 additions and 6 deletions

View File

@ -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 ;

View File

@ -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 ;

View File

@ -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