Add NC to eliminate DRC errors. Switch to standard build.
authorKeith Packard <keithp@keithp.com>
Sat, 16 Jan 2016 20:33:43 +0000 (12:33 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 16 Jan 2016 20:33:43 +0000 (12:33 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
Makefile
attribs
lipocharger.sch

index ee2bb76c14e483cb902e8226b2e0ccde6ba6506d..076659327231abee69569ccc21d73103185478c6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,77 +1,8 @@
 PROJECT=lipocharger
-AM=../altusmetrum
-SCHEME=$(AM)/scheme
 
-# intentionally want to rebuild drc and bom on every invocation
-all:   drc partslist partslist.csv pcb
+SCHEMATICS=lipocharger.sch
 
-drc:   lipocharger.sch Makefile
-       -gnetlist -g drc2 lipocharger.sch -o lipocharger.drc
-
-partslist:     lipocharger.sch Makefile
-       gnetlist -g bom -o lipocharger.unsorted lipocharger.sch
-       head -n1 lipocharger.unsorted > partslist
-       tail -n+2 lipocharger.unsorted | sort >> partslist
-       rm -f lipocharger.unsorted
-
-partslist.csv: lipocharger.sch Makefile
-       gnetlist -L $(SCHEME) -g partslistgag \
-               -o lipocharger.unsorted lipocharger.sch
-       head -n1 lipocharger.unsorted > partslist.csv
-       tail -n+2 lipocharger.unsorted | sort -t \, -k 8 >> partslist.csv
-       rm -f lipocharger.unsorted
-
-partslist.dk: $(PROJECT).sch Makefile $(SCHEME)/gnet-partslist-bom.scm
-       gnetlist -L $(SCHEME) -g partslist-bom -Ovendor=digikey -o $@ $(PROJECT).sch
-
-pcb:   lipocharger.sch project Makefile
-       gsch2pcb project
-
-# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this
-# might be a really good idea for publishing designs to the web that others
-# might review?  Like this example from DJ:
-#
-#web :
-#        for i in channel.sch ethernet.sch power.sch mcu.sch; do \
-#          cp $$i tmp.sch ; \
-#          gschlas -e tmp.sch ; \
-#          mv tmp.sch ${WEB}/$$i; \
-#        done
-
-# this shoves local work out to the git.gag.com repository
-push:  
-       git push --mirror
-
-lipocharger.xy:        lipocharger.pcb
-       pcb -x bom lipocharger.pcb
-
-lipocharger.bottom.gbr:        lipocharger.pcb
-       pcb -x gerber lipocharger.pcb
-
-zip:   lipocharger.bottom.gbr lipocharger.bottommask.gbr lipocharger.fab.gbr lipocharger.top.gbr lipocharger.topmask.gbr lipocharger.toppaste.gbr lipocharger.topsilk.gbr lipocharger.plated-drill.cnc lipocharger.xy  Makefile # lipocharger.xls
-       zip lipocharger.zip lipocharger.*.gbr lipocharger.*.cnc lipocharger.xy # lipocharger.xls
-
-oshpark: lipocharger.bottom.gbr lipocharger.bottommask.gbr lipocharger.top.gbr lipocharger.topmask.gbr lipocharger.plated-drill.cnc
-       mv lipocharger.bottom.gbr bottom\ layer.ger
-       mv lipocharger.bottommask.gbr bottom\ solder\ mask.ger
-       mv lipocharger.bottomsilk.gbr bottom\ silk\ screen.ger
-       mv lipocharger.outline.gbr board\ outline.ger
-       mv lipocharger.top.gbr top\ layer.ger
-       mv lipocharger.topmask.gbr top\ solder\ mask.ger
-       mv lipocharger.plated-drill.cnc drills.xln
-       zip lipocharger-oshpark.zip *.ger *.xln
-
-stencil:       lipocharger.bottom.gbr lipocharger.toppaste.gbr lipocharger.outline.gbr
-       zip lipocharger-stencil.zip lipocharger.toppaste.gbr lipocharger.outline.gbr
-
-clean:
-       rm -f *.bom *.drc *.log *~ lipocharger.ps *.gbr *.cnc *bak* *- *.zip 
-       rm -f *.net *.xy *.cmd *.png partslist partslist.csv *.ger *.xln
-       rm -f *.partslist *.new.pcb *.unsorted lipocharger.xls muffin-5267.pdf
-       rm -f partslist.dk
-
-muffins: partslist.csv $(AM)/glabels/muffin-short-5267.glabels
-       glabels-3-batch $(AM)/glabels/muffin-short-5267.glabels \
-               -i partslist.csv -o muffin-5267.ps >/dev/null && \
-               ps2pdf muffin-5267.ps && rm muffin-5267.ps
+LAYERS=2
 
+SILK=both
+include ../altusmetrum/pcb.mk
diff --git a/attribs b/attribs
index 92a91e75677fda2f70a5870ff18b6441bd146af9..d7af178679184d8c3bf877499266e2bdbee31cb5 100644 (file)
--- a/attribs
+++ b/attribs
@@ -1,6 +1,8 @@
+device
 value
-vendor
-vendor_part_number
 footprint
 loadstatus
-device
+provided
+mfg_part_number
+vendor
+vendor_part_number
index 6cdc916bbb8dfb87394285dcc6678484eda8dc56..bc23759fdfb98237a2bcfbb91df5d044ca3a4300 100644 (file)
@@ -1,4 +1,4 @@
-v 20121123 2
+v 20130925 2
 C 40000 40000 0 0 0 EMBEDDEDtitle-C-bdale.sym
 [
 T 31100 40800 5 10 0 0 0 0 1
@@ -260,3 +260,38 @@ N 48600 49100 48600 48200 4
 N 48400 48600 49400 48600 4
 N 49400 48200 49400 49200 4
 N 50300 49200 49400 49200 4
+C 46800 49500 1 0 0 nc-right.sym
+{
+T 46900 50000 5 10 0 0 0 0 1
+value=NoConnection
+T 46900 50200 5 10 0 0 0 0 1
+device=DRC_Directive
+}
+C 46800 49100 1 0 0 nc-right.sym
+{
+T 46900 49600 5 10 0 0 0 0 1
+value=NoConnection
+T 46900 49800 5 10 0 0 0 0 1
+device=DRC_Directive
+}
+C 46800 48700 1 0 0 nc-right.sym
+{
+T 46900 49200 5 10 0 0 0 0 1
+value=NoConnection
+T 46900 49400 5 10 0 0 0 0 1
+device=DRC_Directive
+}
+C 54200 47700 1 0 0 nc-right.sym
+{
+T 54300 48200 5 10 0 0 0 0 1
+value=NoConnection
+T 54300 48400 5 10 0 0 0 0 1
+device=DRC_Directive
+}
+C 52500 47700 1 0 0 nc-left.sym
+{
+T 52500 48100 5 10 0 0 0 0 1
+value=NoConnection
+T 52500 48500 5 10 0 0 0 0 1
+device=DRC_Directive
+}