mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-30 01:15:19 +02:00
sch2fig/DEMO: quick demonstration showing neo900_SS_5.sch changes
This commit is contained in:
parent
fd4d07d241
commit
249fb2e994
25
sch2fig/DEMO
Normal file
25
sch2fig/DEMO
Normal file
@ -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/sch2fig
|
||||
|
||||
# Generate PNG for old, new, and difference
|
||||
|
||||
LIBS="neo900.lib kicad-libs/components/powered.lib"
|
||||
eda-tools/sch2fig/sch2fig $LIBS 6a9f71:neo900_SS_5.sch -- png -s 2 -o old.png
|
||||
eda-tools/sch2fig/sch2fig $LIBS neo900_SS_5.sch -- png -s 2 -o new.png
|
||||
eda-tools/sch2fig/sch2fig $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
|
Loading…
Reference in New Issue
Block a user