From c0127b490c463b0a9dcfcd1bf3cabccfa6a17fe0 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 12 Aug 2010 10:50:48 -0300 Subject: [PATCH] KiCad module build and xtal-4 cleanup. - modules/Makefile: generate .mod files from .fpd - components/xtal-4.lib: changed symbol name inside the .lib file as well - modules/xtal-4.fpd: added package dimensions measurements --- components/xtal-4.lib | 6 +++--- modules/Makefile | 13 +++++++++++++ modules/xtal-4.fpd | 2 ++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 modules/Makefile diff --git a/components/xtal-4.lib b/components/xtal-4.lib index 97c312f..2656571 100644 --- a/components/xtal-4.lib +++ b/components/xtal-4.lib @@ -1,10 +1,10 @@ EESchema-LIBRARY Version 2.3 Date: Sat 23 May 2009 17:54:59 WEST # -# TAS4025A +# XTAL-4 # -DEF TAS4025A X 0 40 Y N 1 F N +DEF XTAL-4 X 0 40 Y N 1 F N F0 "X" 0 350 60 H V C CNN -F1 "TAS4025A" 0 250 60 H V C CNN +F1 "XTAL-4" 0 250 60 H V C CNN DRAW S -50 150 50 -150 0 1 10 N P 3 0 1 0 100 0 250 0 250 0 N diff --git a/modules/Makefile b/modules/Makefile new file mode 100644 index 0000000..00806de --- /dev/null +++ b/modules/Makefile @@ -0,0 +1,13 @@ +MODULES=meander mini-usb stdpass xtal-4 + +.SUFFIXES: .fpd .mod +.PHONY: all clean + +all: $(MODULES:%=%.mod) + +clean: + rm -f *~*.fpd + rm -f $(MODULES:%=%.mod) + +.fpd.mod: + fped -k $< $@ diff --git a/modules/xtal-4.fpd b/modules/xtal-4.fpd index d3cf372..216e39a 100644 --- a/modules/xtal-4.fpd +++ b/modules/xtal-4.fpd @@ -47,3 +47,5 @@ measx pads.__0 -> pads.__0 1mm+Py/2+Gy measy pads.__0 -> pads.__0 -1mm-Px/2-Gx measy pad.__1 -> pad.__0 1mm measx pad.__1 -> pad.__0 -1mm +measx outline.__0 >> outline.__0 Gy/2+Py/2+1.5mm +measy outline.__0 >> outline.__0 -(Gx/2+Px/2+1.5mm)