From 857d301ab0384902c88e4b78520322556067629c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 27 Sep 2013 23:29:11 -0700 Subject: [PATCH] Use existing geda SO20W footprint for holtek ht12d Looks like this will work Signed-off-by: Keith Packard --- packages/SO20W.fp | 85 ++++++++++++++++++++++++++++++++++++ symbols/holtek/ht12d-sop.sym | 2 +- 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 packages/SO20W.fp diff --git a/packages/SO20W.fp b/packages/SO20W.fp new file mode 100644 index 0000000..70f3390 --- /dev/null +++ b/packages/SO20W.fp @@ -0,0 +1,85 @@ + # number of pads + # pad width in 1/1000 mil + # pad length in 1/1000 mil + # pad pitch 1/1000 mil + # seperation between pads on opposite sides 1/1000 mil + # X coordinates for the right hand column of pads (1/100 mils) + # pad clearance to plane layer in 1/100 mil + # pad soldermask width in 1/100 mil + # silk screen width (1/100 mils) + # figure out if we have an even or odd number of pins per side + # silk bounding box is -XMAX,-YMAX, XMAX,YMAX (1/100 mils) +# element_flags, description, pcb-name, value, mark_x, mark_y, +# text_x, text_y, text_direction, text_scale, text_flags +Element[0x00000000 "Small outline package, wide (300mil)" "" "SO20W" 0 0 -2000 -6000 0 100 0x00000000] +( +# +# Pad[x1, y1, x2, y2, thickness, clearance, mask, name , pad number, flags] + Pad[ -21000 -22500 + -15000 -22500 + 2000 1000 3000 "1" "1" 0x00000100] + Pad[ -21000 -17500 + -15000 -17500 + 2000 1000 3000 "2" "2" 0x00000100] + Pad[ -21000 -12500 + -15000 -12500 + 2000 1000 3000 "3" "3" 0x00000100] + Pad[ -21000 -7500 + -15000 -7500 + 2000 1000 3000 "4" "4" 0x00000100] + Pad[ -21000 -2500 + -15000 -2500 + 2000 1000 3000 "5" "5" 0x00000100] + Pad[ -21000 2500 + -15000 2500 + 2000 1000 3000 "6" "6" 0x00000100] + Pad[ -21000 7500 + -15000 7500 + 2000 1000 3000 "7" "7" 0x00000100] + Pad[ -21000 12500 + -15000 12500 + 2000 1000 3000 "8" "8" 0x00000100] + Pad[ -21000 17500 + -15000 17500 + 2000 1000 3000 "9" "9" 0x00000100] + Pad[ -21000 22500 + -15000 22500 + 2000 1000 3000 "10" "10" 0x00000100] + Pad[ 21000 22500 + 15000 22500 + 2000 1000 3000 "11" "11" 0x00000100] + Pad[ 21000 17500 + 15000 17500 + 2000 1000 3000 "12" "12" 0x00000100] + Pad[ 21000 12500 + 15000 12500 + 2000 1000 3000 "13" "13" 0x00000100] + Pad[ 21000 7500 + 15000 7500 + 2000 1000 3000 "14" "14" 0x00000100] + Pad[ 21000 2500 + 15000 2500 + 2000 1000 3000 "15" "15" 0x00000100] + Pad[ 21000 -2500 + 15000 -2500 + 2000 1000 3000 "16" "16" 0x00000100] + Pad[ 21000 -7500 + 15000 -7500 + 2000 1000 3000 "17" "17" 0x00000100] + Pad[ 21000 -12500 + 15000 -12500 + 2000 1000 3000 "18" "18" 0x00000100] + Pad[ 21000 -17500 + 15000 -17500 + 2000 1000 3000 "19" "19" 0x00000100] + Pad[ 21000 -22500 + 15000 -22500 + 2000 1000 3000 "20" "20" 0x00000100] + ElementLine[-23000 -24500 -23000 24500 1000] + ElementLine[-23000 24500 23000 24500 1000] + ElementLine[ 23000 24500 23000 -24500 1000] + ElementLine[-23000 -24500 -2500 -24500 1000] + ElementLine[ 23000 -24500 2500 -24500 1000] + # punt on the arc on small parts as it can cover the pads + ElementArc[0 -24500 2500 2500 0 180 1000] +) diff --git a/symbols/holtek/ht12d-sop.sym b/symbols/holtek/ht12d-sop.sym index 93f18f4..fc7fc84 100644 --- a/symbols/holtek/ht12d-sop.sym +++ b/symbols/holtek/ht12d-sop.sym @@ -5,7 +5,7 @@ refdes=U? T 1495 3995 8 10 1 1 0 0 1 device=ht12d-sop T -5205 -405 8 10 0 1 0 0 1 -footprint=ht12d-sop +footprint=SO20W.fp P 0 4800 300 4800 1 0 0 { T 0 4800 5 10 0 0 0 0 1 -- 2.47.2