1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

Catalog listing and enhanced versions of various BOOM items from ben-wpan/bom.

- boom/dist/dk/dk-catq.pl: new - query the Digi-Key catalog for a list of
  items
- boom/dist/dk/dk-db.pl: enhanced - never generate more than 1000 queries
  per wget run (to keep argv from getting too long)
- boom/dist/dk/panasonic-erj.catq, boom/dist/dk/stackpole-rmcf.catq: query
  scripts for dk-catq.pl
- boom/lib/e12.inc: enhanced - added Rxx and Rxxx codes
- boom/manu/panasonic/panasonic.gen: enhanced - added decoding for all ERJ
  series resistors listed at Digi-Key
- boom/manu/stackpole/: (new) part number decoder for RMCF series resistors
This commit is contained in:
Werner Almesberger
2010-10-15 23:58:57 -03:00
parent a1d1182691
commit c1574ce3f6
10 changed files with 532 additions and 0 deletions

27
boom/dist/dk/Makefile vendored Normal file
View File

@@ -0,0 +1,27 @@
CACHE = query.data
EQUS = panasonic-erj stackpole-rmcf
.SUFFIXES: .catq .equ
all: db/digi-key.dsc db/digi-key.inv
$(CACHE): db/digi-key.equ
awk '/^#END/ { exit } /^DIGI-KEY / { print $$2 }' $< | \
perl ./dk-db.pl query \
`[ -r $(CACHE) ] && echo '' -i $(CACHE)` >_$@ || \
{ rm -f $@ _$@; exit 1; }
mv _$@ $@
db/digi-key.equ: $(EQUS:%=db/%.equ)
cat $^ >$@ || { rm -rf $@; exit 1; }
db/digi-key.dsc: $(CACHE)
perl ./dk-db.pl dsc $< >$@ || \
{ rm -f $@; exit 1; }
db/digi-key.inv: $(CACHE)
perl ./dk-db.pl inv $< >$@ || \
{ rm -f $@; exit 1; }
.catq.equ:
perl ./dk-catq.pl $< >$@ || { rm -rf $@; exit 1; }