mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 00:35:21 +02:00
Added Yageo RC series chip resistors.
- boom/dist/dk/Makefile, boom/dist/dk/yageo-rc.catq: Yageo RC series chip resistors - boom/manu/yageo/Makefile, boom/manu/yageo/yageo.gen: decode RC series chip resistors - boom/Makefile (CHR): added yageo.chr
This commit is contained in:
parent
331094ec8f
commit
bf0de45040
@ -5,7 +5,8 @@ KITS = 1
|
||||
INV = dist/dk/db/digi-key.inv
|
||||
EQU = dist/dk/db/digi-key.equ
|
||||
DSC = dist/dk/db/digi-key.dsc
|
||||
CHR = manu/panasonic/panasonic.chr manu/stackpole/stackpole.chr
|
||||
CHR = manu/panasonic/panasonic.chr manu/stackpole/stackpole.chr \
|
||||
manu/yageo/yageo.chr
|
||||
|
||||
.PHONY: all show again
|
||||
|
||||
|
2
boom/dist/dk/Makefile
vendored
2
boom/dist/dk/Makefile
vendored
@ -1,5 +1,5 @@
|
||||
CACHE = query.data
|
||||
EQUS = panasonic-erj stackpole-rmcf
|
||||
EQUS = panasonic-erj stackpole-rmcf yageo-rc
|
||||
|
||||
.PHONY: all
|
||||
|
||||
|
10
boom/dist/dk/yageo-rc.catq
vendored
Normal file
10
boom/dist/dk/yageo-rc.catq
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
YAGEO
|
||||
yageo
|
||||
Chip Resistor - Surface Mount
|
||||
Series = RC01005
|
||||
Series = RC0201
|
||||
Series = RC0402
|
||||
Series = RC0603
|
||||
Series = RC0805
|
||||
Series = RC1206
|
||||
Packaging = Cut Tape (CT)
|
4
boom/manu/yageo/Makefile
Normal file
4
boom/manu/yageo/Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
BOOM=PATH=/home/moko/svn.openmoko.org/trunk/eda/boom:../boom:$$PATH boom
|
||||
|
||||
yageo.chr: ../../dist/dk/db/digi-key.equ yageo.gen
|
||||
$(BOOM) gen2chr YAGEO $^ >$@ || { rm -rf $@; exit 1; }
|
40
boom/manu/yageo/yageo.gen
Normal file
40
boom/manu/yageo/yageo.gen
Normal file
@ -0,0 +1,40 @@
|
||||
#GEN
|
||||
|
||||
# http://www.yageo.com/documents/recent/PYu-RC0402_51_RoHS_L_5.pdf
|
||||
# http://www.yageo.com/documents/recent/Product Selection Guide 2009.pdf
|
||||
|
||||
RC* -> T=R {
|
||||
|
||||
RC(????)([FJ])[RK]-(07|10|13)(*)L* ->
|
||||
FP=$REF:1 _TOL=$REF:2 _R=$REF:4
|
||||
|
||||
_TOL=F -> TOL=1%
|
||||
_TOL=J -> TOL=5%
|
||||
|
||||
FP=0100 -> FP=01005 P=1/32W V=15
|
||||
FP=0201 -> P=1/20W V=25V
|
||||
FP=0402 -> P=1/16W V=50V
|
||||
FP=0603 -> P=1/10W V=50V
|
||||
FP=0805 -> P=1/8W V=150V
|
||||
FP=1206 -> P=1/4W V=200V
|
||||
|
||||
_TOL=F -> TOL=1%
|
||||
_TOL=J -> TOL=5%
|
||||
}
|
||||
|
||||
# Adjust multipliers
|
||||
|
||||
_R=(*)R(*) -> _R=0$_R:1.$_R:2
|
||||
_R=(*)K(*) -> _R=$_R:1.${_R:2}k
|
||||
_R=(*)M(*) -> _R=$_R:1.${_R:2}M
|
||||
|
||||
# Remove leading and trailing zeroes
|
||||
|
||||
_R=0([0-9]*) -> _R=$_R:1
|
||||
_R=(*.[0-9]*)0([kM]) -> _R=$_R:1$_R:2
|
||||
_R=(*).0([kM]) -> _R=$_R:1$_R:2
|
||||
_R=(*.[0-9]*)0 -> _R=$_R:1
|
||||
_R=(*).0 -> _R=$_R:1
|
||||
_R=(*).([kM]|) -> _R=$_R:1$_R:2
|
||||
|
||||
T=R -> R=${_R}R !
|
Loading…
Reference in New Issue
Block a user