From 6b5d239bf52d9c3003a6ea06d0e4badeeb784156 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 12 Sep 2010 18:46:43 -0300 Subject: [PATCH] Added more resistor choices to BOM processor. - bom/Makefile, bom/stackpole.chr: added Stackpole 0R 0402 resistor - bom/Makefile, bom/panasonic.gen: added Panasonic 5% resistors --- bom/Makefile | 8 ++++++-- bom/panasonic.gen | 22 ++++++++++++++++++++++ bom/stackpole.chr | 14 ++++++++++++++ 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 bom/panasonic.gen create mode 100644 bom/stackpole.chr diff --git a/bom/Makefile b/bom/Makefile index f5bf73e..9989d5e 100644 --- a/bom/Makefile +++ b/bom/Makefile @@ -4,8 +4,8 @@ KITS=1 EQU=atrf.equ dk/digi-key.equ INV=atrf.inv dk/digi-key.inv -GEN=avx.gen johanson.gen murata.gen tdk.gen yageo.gen -CHR=$(GEN:%.gen=%.chr) +GEN=avx.gen johanson.gen murata.gen panasonic.gen tdk.gen yageo.gen +CHR=$(GEN:%.gen=%.chr) stackpole.chr .PHONY: all again show-atusd spotless @@ -37,6 +37,10 @@ murata.chr: dk/digi-key.equ murata.gen $(BOOM) gen2chr MURATA dk/digi-key.equ murata.gen >$@ || \ { rm -f $@; exit 1; } +panasonic.chr: dk/digi-key.equ panasonic.gen + $(BOOM) gen2chr PANASONIC dk/digi-key.equ panasonic.gen >$@ || \ + { rm -f $@; exit 1; } + tdk.chr: dk/digi-key.equ tdk.gen $(BOOM) gen2chr TDK dk/digi-key.equ tdk.gen >$@ || \ { rm -f $@; exit 1; } diff --git a/bom/panasonic.gen b/bom/panasonic.gen new file mode 100644 index 0000000..f95a195 --- /dev/null +++ b/bom/panasonic.gen @@ -0,0 +1,22 @@ +#GEN + +# http://industrial.panasonic.com/www-data/pdf/AOA0000/AOA0000CE1.pdf + +ERJ* -> T=R { + ERJ-(???)(Y|)(?)([0-9R][0-9R][0-9])* -> + _FP=$REF:1 _TOL=$REF:3 _E12_1=$REF:4 + + _TOL=J -> TOL=5% + + _FP=XGN -> FP=01005 P=1/32W V=15V + _FP=1GE -> FP=0201 P=1/20W V=25V + _FP=2GE -> FP=0402 P=1/10W V=50V + _FP=3GE -> FP=0603 P=1/10W V=75V + _FP=6GE -> FP=0805 P=1/8W V=150V + _FP=8GE -> FP=1206 P=1/4W V=200V + # @@@ handle 1210 and beyond later +} + +include lib/e12.inc + +T=R -> R=${_E12}R ! diff --git a/bom/stackpole.chr b/bom/stackpole.chr new file mode 100644 index 0000000..a70796b --- /dev/null +++ b/bom/stackpole.chr @@ -0,0 +1,14 @@ +#CHR + +# +# Stackpole are changing their part numbers, with a transition period from +# 2011-01-03 to 2011-12-31. Digi-Key already went ahead and switched, so we use +# the new style here as well. +# +# Since there's no complete reference for the Stackpole parts with new numbers +# yet, we just put the parts we need here and defer generation until later. +# +# http://www.seielect.com/news/20100730_PartNumberChange.htm +# + +STACKPOLE RMCF0402ZT0R00 T=R R=0R FP=0402 P=1/16W V=50V