From dff11db9e7aa52ecb35a6e73a7f6e95373a4343d Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 17 Oct 2010 00:32:57 -0300 Subject: [PATCH] Added Murata GRM series of ceramic SMT capacitors. - boom/Makefile (CHR): added manu/yageo/yageo.chr - boom/dist/dk/Makefile (PARTS) added yageo-grm - boom/manu/murata/Makefile, boom/manu/murata/murata.gen: decoding of Murata GRM series --- boom/Makefile | 4 +++- boom/dist/dk/Makefile | 2 +- boom/manu/murata/Makefile | 4 ++++ boom/manu/murata/murata.gen | 42 +++++++++++++++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 boom/manu/murata/Makefile create mode 100644 boom/manu/murata/murata.gen diff --git a/boom/Makefile b/boom/Makefile index 790b8cd..58d14fb 100644 --- a/boom/Makefile +++ b/boom/Makefile @@ -5,7 +5,9 @@ KITS = 1 EQU = dist/all.equ INV = dist/all.inv DSC = dist/all.dsc -CHR = manu/panasonic/panasonic.chr manu/stackpole/stackpole.chr \ +CHR = manu/murata/murata.chr \ + manu/panasonic/panasonic.chr \ + manu/stackpole/stackpole.chr \ manu/yageo/yageo.chr DIST = dk diff --git a/boom/dist/dk/Makefile b/boom/dist/dk/Makefile index bce879e..116026f 100644 --- a/boom/dist/dk/Makefile +++ b/boom/dist/dk/Makefile @@ -1,5 +1,5 @@ MASTER = db/all.equ db/all.dsc db/all.inv -PARTS = panasonic-erj stackpole-rmcf yageo-cc yageo-rc +PARTS = murata-grm panasonic-erj stackpole-rmcf yageo-cc yageo-rc .SECONDARY: # prevent *.cache from being automatically deleted diff --git a/boom/manu/murata/Makefile b/boom/manu/murata/Makefile new file mode 100644 index 0000000..e46b07a --- /dev/null +++ b/boom/manu/murata/Makefile @@ -0,0 +1,4 @@ +BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom + +murata.chr: ../../dist/all.equ murata.gen + $(BOOM) gen2chr MURATA $^ >$@ || { rm -rf $@; exit 1; } diff --git a/boom/manu/murata/murata.gen b/boom/manu/murata/murata.gen new file mode 100644 index 0000000..c5cf1d8 --- /dev/null +++ b/boom/manu/murata/murata.gen @@ -0,0 +1,42 @@ +#GEN + +# http://www.murata.com/products/catalog/pdf/c02e.pdf + +GRM* -> T=C { + GRM(??)?(??)(??)([0-9R][0-9R][0-9])(?)* -> + _FP=$REF:1 _M=$REF:2 _V=$REF:3 _E12_P=$REF:4 _TOL=$REF:5 + + _FP=02 -> FP=01005 + _FP=03 -> FP=0201 + _FP=15 -> FP=0402 + _FP=18 -> FP=0603 + _FP=21 -> FP=0805 + _FP=31 -> FP=1206 + _FP=32 -> FP=1210 + + _M=5C -> M=NP0 + _M=7U -> M=U2J + _M=6P -> M=P2H + _M=6T -> M=T2H + _M=R7 -> M=X7R + _M=E7 -> M=X7U + _M=D7 -> M=X7T + _M=C8 -> M=X6S + _M=D8 -> M=X6T + _M=R6 -> M=X5R + + _V=0G -> V=4V + _V=0J -> V=6.3V + _V=1A -> V=10V + _V=1C -> V=16V + _V=1E -> V=25V + _V=YA -> V=35V + _V=1H -> V=50V + _V=2A -> V=100V + + include ../../lib/captol.inc +} + +include ../../lib/e12.inc + +T=C -> C=${_E12}F !