Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
205d4b5c
Commit
205d4b5c
authored
Jan 17, 2012
by
maniacbug
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tune timing and upload rate of tests
parent
94635e8c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
tests/pingpair_blocking/Jamfile
tests/pingpair_blocking/Jamfile
+1
-1
tests/pingpair_test/Jamfile
tests/pingpair_test/Jamfile
+1
-1
tests/pingpair_test/runtests.sh
tests/pingpair_test/runtests.sh
+8
-4
No files found.
tests/pingpair_blocking/Jamfile
View file @
205d4b5c
...
@@ -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 ?=
576
00 ;
UPLOAD_SPEED ?=
1152
00 ;
MCU ?= atmega328p ;
MCU ?= atmega328p ;
F_CPU ?= 16000000 ;
F_CPU ?= 16000000 ;
CORE ?= arduino ;
CORE ?= arduino ;
...
...
tests/pingpair_test/Jamfile
View file @
205d4b5c
...
@@ -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 ?=
576
00 ;
UPLOAD_SPEED ?=
1152
00 ;
MCU ?= atmega328p ;
MCU ?= atmega328p ;
F_CPU ?= 16000000 ;
F_CPU ?= 16000000 ;
CORE ?= arduino ;
CORE ?= arduino ;
...
...
tests/pingpair_test/runtests.sh
View file @
205d4b5c
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment