From: Keith Packard Date: Sat, 16 Jan 2016 20:33:43 +0000 (-0800) Subject: Add NC to eliminate DRC errors. Switch to standard build. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ff53aecc1891ba3e1586f4574bec3763e9a34df7;p=hw%2Flipocharger Add NC to eliminate DRC errors. Switch to standard build. Signed-off-by: Keith Packard --- diff --git a/Makefile b/Makefile index ee2bb76..0766593 100644 --- 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 92a91e7..d7af178 100644 --- 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 diff --git a/lipocharger.sch b/lipocharger.sch index 6cdc916..bc23759 100644 --- a/lipocharger.sch +++ b/lipocharger.sch @@ -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 +}