summaryrefslogtreecommitdiff
path: root/DEMO
blob: 13291ec95bd9c1995fc671b096e7da6c81169a88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Prerequisites (depends on distribution)

apt-get install libcairo2-dev
apt-get install libgit2-dev
apt-get install libgtk-3-dev
apt-get install qiv

# Get all the things we need

git clone git://neo900.org/ee newdir
cd newdir/hw
git clone git://projects.qi-hardware.com/kicad-libs.git
git clone git://projects.qi-hardware.com/eda-tools.git
make -C eda-tools/eeshow

# Generate PNG for old, new, and difference

LIBS="neo900.lib kicad-libs/components/powered.lib"
eda-tools/eeshow/eeshow $LIBS 6a9f71:neo900_SS_5.sch -- png -s 2 -o old.png
eda-tools/eeshow/eeshow $LIBS neo900_SS_5.sch -- png -s 2 -o new.png
eda-tools/eeshow/eeshow $LIBS 6a9f71:neo900_SS_5.sch -- \
  diff -s 2 -o diff.png $LIBS neo900_SS_5.sch

# View the result

qiv -t diff.png old.png new.png


# Interactively view the schematics

eda-tools/eeshow/eeshow -r $LIBS neo900.sch


# Other projects: c4puter

mkdir c4puter
cd c4puter
git clone https://github.com/c4puter/motherboard.git
cd motherboard
git submodule init
git submodule update
eeshow -r schlib/library/*.lib *.lib motherboard.sch 

# Other projects: Olimex A64-OLinuXino

git clone https://github.com/OLIMEX/OLINUXINO.git
cd OLINUXINO/HARDWARE/A64-OLinuXino/A64-OlinuXino_Rev_A
eeshow -r A64-OlinuXino_Rev_A-cache.lib A64-OlinuXino_Rev_A.sch