Commit 205d4b5c authored by maniacbug's avatar maniacbug

Tune timing and upload rate of tests

parent 94635e8c
...@@ -6,7 +6,7 @@ PROJECT_DIRS = $(PWD) ; ...@@ -6,7 +6,7 @@ PROJECT_DIRS = $(PWD) ;
# (2) Board Information # (2) Board Information
UPLOAD_PROTOCOL ?= arduino ; UPLOAD_PROTOCOL ?= arduino ;
UPLOAD_SPEED ?= 57600 ; UPLOAD_SPEED ?= 115200 ;
MCU ?= atmega328p ; MCU ?= atmega328p ;
F_CPU ?= 16000000 ; F_CPU ?= 16000000 ;
CORE ?= arduino ; CORE ?= arduino ;
......
...@@ -6,7 +6,7 @@ PROJECT_DIRS = $(PWD) ; ...@@ -6,7 +6,7 @@ PROJECT_DIRS = $(PWD) ;
# (2) Board Information # (2) Board Information
UPLOAD_PROTOCOL ?= arduino ; UPLOAD_PROTOCOL ?= arduino ;
UPLOAD_SPEED ?= 57600 ; UPLOAD_SPEED ?= 115200 ;
MCU ?= atmega328p ; MCU ?= atmega328p ;
F_CPU ?= 16000000 ; F_CPU ?= 16000000 ;
CORE ?= arduino ; CORE ?= arduino ;
......
...@@ -4,9 +4,13 @@ ...@@ -4,9 +4,13 @@
# WARNING: Test config 2 only works with PLUS units. # WARNING: Test config 2 only works with PLUS units.
jam u0 u1 && expect test.ex 1 jam u0 u1 && expect test.ex 1
stty 57600 raw ignbrk hup < /dev/ttyUSB0 && sleep 1 sleep 1
stty 57600 raw ignbrk hup < /dev/ttyUSB1 && sleep 1 stty 57600 raw ignbrk hup < /dev/ttyUSB0
sleep 1
stty 57600 raw ignbrk hup < /dev/ttyUSB1
expect test.ex 2 expect test.ex 2
stty 57600 raw ignbrk hup < /dev/ttyUSB0 && sleep 1 sleep 1
stty 57600 raw ignbrk hup < /dev/ttyUSB1 && sleep 1 stty 57600 raw ignbrk hup < /dev/ttyUSB0
sleep 1
stty 57600 raw ignbrk hup < /dev/ttyUSB1
expect test.ex 3 expect test.ex 3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment