2016-08-02 17:00:08 +03:00
|
|
|
# Prerequisites (depends on distribution)
|
|
|
|
|
|
|
|
apt-get install libcairo2-dev
|
|
|
|
apt-get install libgit2-dev
|
2016-08-04 16:11:47 +03:00
|
|
|
apt-get install libgtk-3-dev
|
2016-08-02 17:00:08 +03:00
|
|
|
apt-get install qiv
|
|
|
|
|
|
|
|
# Get all the things we need
|
|
|
|
|
2016-08-04 03:51:23 +03:00
|
|
|
git clone git://neo900.org/ee newdir
|
2016-08-02 17:00:08 +03:00
|
|
|
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
|
2016-08-04 16:11:47 +03:00
|
|
|
|
|
|
|
|
|
|
|
# Interactively view the schematics
|
|
|
|
|
|
|
|
eda-tools/eeshow/eeshow -r $LIBS neo900.sch
|