Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Conv TTL RS485 - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Conv TTL RS485 - Testing
Commits
79b68346
Commit
79b68346
authored
Dec 04, 2014
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FM PTS Makefile made more generic
parent
a9a7a385
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
28 deletions
+30
-28
Makefile
pts/Makefile
+30
-28
No files found.
pts/Makefile
View file @
79b68346
BOARD
=
T485
# NOTE: advised to use lower-case for board name
BOARD
=
t485
ELMAIP
=
ELMAPWD
=
ELMASLOT
=
all
:
mkdir
-p
ubuntu/
t485
/log
touch
ubuntu/
t485
/log/fan-speeds
mkdir
-p
ubuntu/
$(BOARD)
/log
touch
ubuntu/
$(BOARD)
/log/fan-speeds
cp
-r
shell/
ubuntu/
t485
/
cp
-r
shell/
ubuntu/
$(BOARD)
/
mkdir
-p
ubuntu/
t485
/pyts/
cp
python/*
ubuntu/
t485
/pyts/
mkdir
-p
ubuntu/
$(BOARD)
/pyts/
cp
python/*
ubuntu/
$(BOARD)
/pyts/
chmod
+x
rename;
./rename
$(BOARD)
$(ELMAIP)
$(ELMAPWD)
$(ELMASLOT)
cp
ubuntu/
t485/pyts/pts.py
ubuntu/t485
/pts
cp
ubuntu/
t485/pyts/jpts.py
ubuntu/t485
/jpts
ln
-s
pyts/dac_vcxo_pll.py
ubuntu/
t485
/test01.py
ln
-s
pyts/leds.py
ubuntu/
t485
/test02.py
ln
-s
pyts/ttl_pulse_switch.py
ubuntu/
t485
/test03.py
ln
-s
pyts/rs485_pulse_rtm.py
ubuntu/
t485
/test04.py
ln
-s
pyts/therm_id.py
ubuntu/
t485
/test05.py
ln
-s
pyts/sfp_eeprom.py
ubuntu/
t485
/test06.py
ln
-s
pyts/sfp_test.py
ubuntu/
t485
/test07.py
ln
-s
pyts/flashtest.py
ubuntu/
t485
/flashtest.py
mkdir
-p
ubuntu/
t485
/boot
mv
ubuntu/
t485/shell/program
ubuntu/t485
/boot
mv
ubuntu/
t485/shell/flash
ubuntu/t485
/boot
wget -P ubuntu/
t485
/boot http
:
//www.ohwr.org/attachments/download/3690/pts.bit
wget
-P
ubuntu/
t485
/boot http://www.ohwr.org/attachments/download/3650/flash_load.bit
wget
-P
ubuntu/
t485
/boot http://www.ohwr.org/attachments/download/3657/golden-v0.0_release-v1.0.bin
chmod
+x
ubuntu/
t485
/shell/*
chmod
+x
ubuntu/
t485
/boot/*
chmod
+x
ubuntu/
t485
/jpts
chmod
+x
ubuntu/
t485
/pts
cp
ubuntu/
$(BOARD)/pyts/pts.py
ubuntu/$(BOARD)
/pts
cp
ubuntu/
$(BOARD)/pyts/jpts.py
ubuntu/$(BOARD)
/jpts
ln
-s
pyts/dac_vcxo_pll.py
ubuntu/
$(BOARD)
/test01.py
ln
-s
pyts/leds.py
ubuntu/
$(BOARD)
/test02.py
ln
-s
pyts/ttl_pulse_switch.py
ubuntu/
$(BOARD)
/test03.py
ln
-s
pyts/rs485_pulse_rtm.py
ubuntu/
$(BOARD)
/test04.py
ln
-s
pyts/therm_id.py
ubuntu/
$(BOARD)
/test05.py
ln
-s
pyts/sfp_eeprom.py
ubuntu/
$(BOARD)
/test06.py
ln
-s
pyts/sfp_test.py
ubuntu/
$(BOARD)
/test07.py
ln
-s
pyts/flashtest.py
ubuntu/
$(BOARD)
/flashtest.py
mkdir
-p
ubuntu/
$(BOARD)
/boot
mv
ubuntu/
$(BOARD)/shell/program
ubuntu/$(BOARD)
/boot
mv
ubuntu/
$(BOARD)/shell/flash
ubuntu/$(BOARD)
/boot
wget -P ubuntu/
$(BOARD)
/boot http
:
//www.ohwr.org/attachments/download/3690/pts.bit
wget
-P
ubuntu/
$(BOARD)
/boot http://www.ohwr.org/attachments/download/3650/flash_load.bit
wget
-P
ubuntu/
$(BOARD)
/boot http://www.ohwr.org/attachments/download/3657/golden-v0.0_release-v1.0.bin
chmod
+x
ubuntu/
$(BOARD)
/shell/*
chmod
+x
ubuntu/
$(BOARD)
/boot/*
chmod
+x
ubuntu/
$(BOARD)
/jpts
chmod
+x
ubuntu/
$(BOARD)
/pts
clean
:
rm
-rf
ubuntu/
...
...
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