Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite - base
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite - base
Commits
a2183db7
Commit
a2183db7
authored
May 21, 2014
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
struct: Rename firmware to gateware, update paths in pts.py
parent
f1dbe2c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
rr.py
gnurabbit/python/rr.py
+1
-1
pts.py
pts.py
+2
-6
No files found.
gnurabbit/python/rr.py
View file @
a2183db7
...
...
@@ -190,7 +190,7 @@ class Gennum(object):
self
.
errno
=
self
.
lib
.
rr_devsel
(
self
.
fd
,
byref
(
ds
))
return
self
.
errno
def
load_
firm
ware
(
self
,
bitstream
):
def
load_
gate
ware
(
self
,
bitstream
):
self
.
err
=
self
.
loaderlib
.
rr_init
(
self
.
fd
)
self
.
loaderlib
.
gpio_config
()
self
.
loaderlib
.
gpio_bootselect
(
GENNUM_FPGA
)
...
...
pts.py
View file @
a2183db7
...
...
@@ -21,7 +21,8 @@ import string
sys
.
path
.
append
(
'.'
)
sys
.
path
.
append
(
'gnurabbit/python/'
)
sys
.
path
.
append
(
'common/'
)
sys
.
path
.
append
(
'test/fmceeprom/python/'
)
sys
.
path
.
append
(
'common/fmceeprom/'
)
sys
.
path
.
append
(
'common/cp210x/'
)
from
ConfigParser
import
ConfigParser
,
NoOptionError
from
optparse
import
OptionParser
...
...
@@ -37,11 +38,6 @@ default_test_syntax = r'(test)?(\d\d)'
original_raw_input
=
raw_input
sys
.
path
.
append
(
'gnurabbit/python/'
)
sys
.
path
.
append
(
'common/'
)
sys
.
path
.
append
(
'common/usb_box'
)
sys
.
path
.
append
(
'common/cp210x'
)
sys
.
path
.
append
(
'test/fmceeprom/python'
)
def
pts_raw_input
(
msg
,
default
=
'y'
):
try
:
...
...
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