1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 02:30:36 +02:00

Yageo CC...R50 weren't recognized.

- boom/lib/e12.inc: added support for leading R to _E12_P scale
- boom/manu/yageo/yageo.gen: allow CC series parts with a value of Rxx
This commit is contained in:
Werner Almesberger 2010-10-17 00:20:25 -03:00
parent 046ae8584e
commit 9ddc70fedc
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,8 @@ _E12_P=(??)4 -> _E12=${_E12_P:1}0n
_E12_P=(?)(?)5 -> _E12=$_E12_P:1.${_E12_P:2}u _E12_P=(?)(?)5 -> _E12=$_E12_P:1.${_E12_P:2}u
_E12_P=(??)6 -> _E12=${_E12_P:1}u _E12_P=(??)6 -> _E12=${_E12_P:1}u
_E12_P=(??)7 -> _E12=${_E12_P:1}0u _E12_P=(??)7 -> _E12=${_E12_P:1}0u
_E12_P=(?)R(?) -> _E12=$_E12_P:1.${_E12_P:2}p # strange _E12_P=R(??) -> _E12=0.${_E12_P:1}p
_E12_P=(?)R(?) -> _E12=$_E12_P:1.${_E12_P:2}p
# remove leading and trailing zeroes # remove leading and trailing zeroes

View File

@ -35,7 +35,7 @@ RC* -> T=R {
# http://www.yageo.com/documents/recent/UPY-GPHC_Y5V_6.3V-to-50V_5.pdf # http://www.yageo.com/documents/recent/UPY-GPHC_Y5V_6.3V-to-50V_5.pdf
CC* -> T=C { CC* -> T=C {
CC(????)(?)?(???)(?)??([0-9][0-9R][0-9]) -> CC(????)(?)?(???)(?)??([0-9R][0-9R][0-9]) ->
FP=$REF:1 _TOL=$REF:2 M=$REF:3 _V=$REF:4 _E12_P=$REF:5 FP=$REF:1 _TOL=$REF:2 M=$REF:3 _V=$REF:4 _E12_P=$REF:5
include ../../lib/captol.inc include ../../lib/captol.inc