1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-16 19:01:53 +02:00

added project-specific footprint reference for SMT fab

- makefiles/Makefile.kicad: added generation of a footprint reference
- atben/README-SMT, atusb/README-SMT: added footprint reference, with
  explanation
This commit is contained in:
Werner Almesberger 2011-03-23 04:47:21 -03:00
parent ef6dd28054
commit 507e6c33de
3 changed files with 13 additions and 4 deletions

View File

@ -12,7 +12,7 @@ Design files:
atben-front.png Illustration of the PCB's front side (with silk screen) atben-front.png Illustration of the PCB's front side (with silk screen)
atben-bom.csv Bill of materials atben-bom.csv Bill of materials
atben-pos.csv Automatic insertion file atben-pos.csv Automatic insertion file
* footprints atben-footprints.pdf Footprint reference
The PCB design files (Gerbers, etc.) are in a separate archive, atben-pcb-* The PCB design files (Gerbers, etc.) are in a separate archive, atben-pcb-*
@ -22,3 +22,5 @@ Interpretation of files:
- for all coordinates, the origin is the lower left corner of the board - for all coordinates, the origin is the lower left corner of the board
- coordinates in atben-pos.csv are in inches - coordinates in atben-pos.csv are in inches
- rotation in atben-pos.csv is in degrees, counter-clockwise - rotation in atben-pos.csv is in degrees, counter-clockwise
- in the footprint reference, footprints are shown in the 0 degree
orientation and with their center at the crosshairs

View File

@ -14,7 +14,7 @@ Design files:
atusb-front.png Illustration of the PCB's front side (with silk screen) atusb-front.png Illustration of the PCB's front side (with silk screen)
atusb-bom.csv Bill of materials atusb-bom.csv Bill of materials
atusb-pos.csv Automatic insertion file atusb-pos.csv Automatic insertion file
* footprints atusb-footprints.pdf Footprint reference
The PCB design files (Gerbers, etc.) are in a separate archive, atusb-pcb-* The PCB design files (Gerbers, etc.) are in a separate archive, atusb-pcb-*
@ -24,3 +24,5 @@ Interpretation of files:
- for all coordinates, the origin is the lower left corner of the board - for all coordinates, the origin is the lower left corner of the board
- coordinates in atusb-pos.csv are in inches - coordinates in atusb-pos.csv are in inches
- rotation in atusb-pos.csv is in degrees, counter-clockwise - rotation in atusb-pos.csv is in degrees, counter-clockwise
- in the footprint reference, footprints are shown in the 0 degree
orientation and with their center at the crosshairs

View File

@ -23,6 +23,7 @@ CPTX = ../../eda-tools/mlztx/cptx
GMERGE = ../../eda-tools/fab/gmerge GMERGE = ../../eda-tools/fab/gmerge
PRETTYGERBV = ../../eda-tools/fab/prettygerbv PRETTYGERBV = ../../eda-tools/fab/prettygerbv
POS2FAB = ../../eda-tools/fab/pos2fab POS2FAB = ../../eda-tools/fab/pos2fab
FPDOC = PATH=$$PATH:../../eda-tools/fab:../../eda-tools/fpd2pdf fpdoc
DIR = $(shell pwd | sed 's|.*/||') DIR = $(shell pwd | sed 's|.*/||')
@ -84,7 +85,8 @@ GERBERS = $(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
PCB_FILES = README-PCB $(NAME)-front.png $(NAME)-back.png \ PCB_FILES = README-PCB $(NAME)-front.png $(NAME)-back.png \
$(NAME)-PCB_Edges.dxf $(NAME).drl $(GERBERS) $(NAME)-PCB_Edges.dxf $(NAME).drl $(GERBERS)
SMT_FILES = README-SMT $(NAME)-front.png $(NAME)-bom.csv $(NAME)-pos.csv SMT_FILES = README-SMT $(NAME)-front.png $(NAME)-bom.csv $(NAME)-pos.csv \
$(NAME)-footprints.pdf
gerber: $(GERBERS) gerber: $(GERBERS)
@ -129,6 +131,9 @@ $(NAME)-pos.csv: $(NAME)Front.pos $(NAME).cmp
$(NAME)-bom.csv: ../bom/$(NAME)-bom.csv $(NAME)-bom.csv: ../bom/$(NAME)-bom.csv
mv $< $@ mv $< $@
$(NAME)-footprints.pdf: $(NAME).pro $(NAME).cmp $(NAME)Front.pos
$(FPDOC) $(NAME).pro "$@" || { rm -f "$@"; exit 1; }
fab-smt: $(SMT_FILES) fab-smt: $(SMT_FILES)
mkdir -p fab mkdir -p fab
tar Ccfz .. fab/$(NAME)-smt-$(VERSION).tar.gz \ tar Ccfz .. fab/$(NAME)-smt-$(VERSION).tar.gz \
@ -167,7 +172,7 @@ clean::
rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
rm -f $(NAME)-overview.png $(NAME)-front.png $(NAME)-back.png rm -f $(NAME)-overview.png $(NAME)-front.png $(NAME)-back.png
rm -f $(NAME)Front.pos $(NAME)-pos.csv rm -f $(NAME)Front.pos $(NAME)-pos.csv
rm -f $(NAME)-bom.csv rm -f $(NAME)-bom.csv $(NAME)-footprints.pdf
spotless:: clean spotless:: clean
rm -f '$$'savepcb.000 '$$'savepcb.brd rm -f '$$'savepcb.000 '$$'savepcb.brd