From d5a69e92b6388e399e4c88f0ea7fa8830cd256ec Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Sat, 15 Feb 2020 16:10:06 -0700 Subject: [PATCH] footprint for a new, smaller 16.384 Mhz crystal --- packages/ECX2236.5c | 33 +++++++++++++++++++++++++++++++++ packages/Makefile | 3 ++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100755 packages/ECX2236.5c diff --git a/packages/ECX2236.5c b/packages/ECX2236.5c new file mode 100755 index 0000000..0f36530 --- /dev/null +++ b/packages/ECX2236.5c @@ -0,0 +1,33 @@ +/* + * Copyright © 2020 Bdale Garbee + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + */ + +load "footprint.5c" +import Footprint; + +real width = 1.2; +real height = 1.0; +real hgap = 1.7 - width; +real vgap = 1.3 - height; + +real hpos = hgap/2 + width/2; +real vpos = vgap/2 + height/2; + +element_start("ABM12"); + +pad_mm(-hpos, vpos,width,height,"1","1"); +pad_mm( hpos, vpos,width,height,"2","2"); +pad_mm( hpos,-vpos,width,height,"3","3"); +pad_mm(-hpos,-vpos,width,height,"4","4"); + +element_end(); diff --git a/packages/Makefile b/packages/Makefile index 9394ca4..c422244 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -134,7 +134,8 @@ FOOTPRINTS= \ sk6812.fp \ VQFN-HR-12.fp \ wqfn-16.fp \ - TSX-3225.fp + TSX-3225.fp \ + ECX2236.fp .5c.fp: nickle $*.5c -o $@ -- 2.47.2