summaryrefslogtreecommitdiff
path: root/DEMO
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-02 14:00:08 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-02 14:00:08 (GMT)
commit8745b40e3eb216fc5cfa7373fea3b4ae991f1c3e (patch)
treeeab2aa7ec1941bd3da99f1dbcf64eab04d34667a /DEMO
downloadeeshow-8745b40e3eb216fc5cfa7373fea3b4ae991f1c3e.zip
eeshow-8745b40e3eb216fc5cfa7373fea3b4ae991f1c3e.tar.gz
eeshow-8745b40e3eb216fc5cfa7373fea3b4ae991f1c3e.tar.bz2
rename sch2fig to eeshow
Diffstat (limited to 'DEMO')
-rw-r--r--DEMO25
1 files changed, 25 insertions, 0 deletions
diff --git a/DEMO b/DEMO
new file mode 100644
index 0000000..dc307db
--- /dev/null
+++ b/DEMO
@@ -0,0 +1,25 @@
+# Prerequisites (depends on distribution)
+
+apt-get install libcairo2-dev
+apt-get install libgit2-dev
+apt-get install qiv
+
+# Get all the things we need
+
+git clone http://neo900.org/git/ee.git 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