1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-06-28 23:47:37 +03:00

include overview images in PCB and SMT fab packages

- atben/README-PCB, atusb/README-PCB: added overview images for PCB front
  and back
- atben/README-SMT, atusb/README-SMT: added overview image for PCB front
- atben/README-SMT, atusb/README-SMT: clarified that the Gerbers are in
  the PCB archive
- makefiles/Makefile.kicad (PCB_FILES): moved list of gerbers to
  $(GERBERS)
- makefiles/Makefile.kicad (gerber): generate Gerbers only if necessary
- makefiles/Makefile.kicad (overview, uoverview, clean): renamed
  overview.png to $(NAME)-overview.png and turned phony target into file
  target
- makefiles/Makefile.kicad ($(NAME)-front.png, $(NAME)-back.png, clean):
  added generation of front and back images
This commit is contained in:
Werner Almesberger 2011-03-23 01:57:55 -03:00
parent d53c2c2b72
commit 2e5329039c
5 changed files with 37 additions and 14 deletions

View File

@ -6,6 +6,7 @@ Board characteristics:
- via holes: diameter is nominally 10 mil, but any size <= 15 mil can be used
- mechanical tolerances: <= +/- 0.1 mm on all sides
Layer stacking, from top to bottom:
atben-SilkS_Front.gto Front silk screen
@ -14,12 +15,16 @@ atben-Front.gtl Front copper
atben-Back.gbl Back copper
atben-Mask_Back.gbs Back solder mask
Other design files:
atben-front.png Illustration of the PCB's front side (without holes)
atben-back.png idem, for the back side
atben-PCB_Edges.gbr Board edges, for routing (Gerber)
atben.dxf idem (AutoCAD DXF)
atben.drl Excellon drill file
Interpretation of files:
- for all coordinates, the origin is the lower left corner of the board

View File

@ -9,11 +9,12 @@ Board characteristics:
Design files:
atben-front.png Illustration of the PCB's front side (with silk screen)
atben-bom.csv Bill of materials
atben-pos.csv Automatic insertion file
* footprints
The PCB design files are in a separate archive, atben-pcb-*
The PCB design files (Gerbers, etc.) are in a separate archive, atben-pcb-*
Interpretation of files:

View File

@ -6,6 +6,7 @@ Board characteristics:
- via holes: diameter is nominally 10 mil, but any size <= 15 mil can be used
- mechanical tolerances: <= +/- 0.1 mm on all sides
Layer stacking, from top to bottom:
atusb-SilkS_Front.gto Front silk screen
@ -14,12 +15,16 @@ atusb-Front.gtl Front copper
atusb-Back.gbl Back copper
atusb-Mask_Back.gbs Back solder mask
Other design files:
atusb-front.png Illustration of the PCB's front side (without holes)
atusb-back.png idem, for the back side
atusb-PCB_Edges.gbr Board edges, for routing (Gerber)
atusb.dxf idem (AutoCAD DXF)
atusb.drl Excellon drill file
Interpretation of files:
- for all coordinates, the origin is the lower left corner of the board

View File

@ -11,11 +11,12 @@ Board characteristics:
Design files:
atusb-front.png Illustration of the PCB's front side (with silk screen)
atusb-bom.csv Bill of materials
atusb-pos.csv Automatic insertion file
* footprints
The PCB design files are in a separate archive, atusb-pcb-*
The PCB design files (Gerbers, etc.) are in a separate archive, atusb-pcb-*
Interpretation of files:

View File

@ -31,7 +31,7 @@ BRD=$(shell pwd)/$(NAME).brd
.PHONY: all gen generate sch brd xpdf front back clean
.PHONY: gerber gerbv fab
.PHONY: gerber gerbv fab fab-pcb fab-smt
all:
@echo "make what ? target: gen sch brd xpdf front back clean"
@ -77,14 +77,18 @@ back: $(NAME)-Back.ps
# --- Industrial production ---------------------------------------------------
PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \
$(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
$(NAME)-Front.gtl $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs \
$(NAME)-PCB_Edges.gbr
GERBERS = $(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
$(NAME)-Front.gtl $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs \
$(NAME)-PCB_Edges.gbr
SMT_FILES = README-SMT $(NAME)-bom.csv $(NAME)-pos.csv
PCB_FILES = README-PCB $(NAME)-front.png $(NAME)-back.png \
$(NAME)-PCB_Edges.dxf $(NAME).drl $(GERBERS)
gerber:
SMT_FILES = README-SMT $(NAME)-front.png $(NAME)-bom.csv $(NAME)-pos.csv
gerber: $(GERBERS)
$(GERBERS): $(NAME).brd Makefile
pcbnew --plot=gerber --origin=aux \
-l `pcbnew --list-layers $(BRD) | tr '\012' ,` \
--fill-all-zones --exclude-pcb-edge \
@ -138,11 +142,18 @@ upload:
# --- Overview images ---------------------------------------------------------
overview: gerber
$(PRETTYGERBV) $(NAME) all overview.png
$(NAME)-front.png: gerber
$(PRETTYGERBV) $(NAME) front $(NAME)-front.png
uoverview: overview
qippl overview.png wpan/tmp/$(NAME)-$(VERSION)-overview.png
$(NAME)-back.png: gerber
$(PRETTYGERBV) $(NAME) back $(NAME)-back.png
$(NAME)-overview.png: gerber
$(PRETTYGERBV) $(NAME) all $(NAME)-overview.png
uoverview: $(NAME)-overview.png
qippl $(NAME)-overview.png \
wpan/tmp/$(NAME)-$(VERSION)-overview.png
# --- Cleanup -----------------------------------------------------------------
@ -154,7 +165,7 @@ clean::
rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs
rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp
rm -f $(NAME)-Comments.gbr $(NAME)-Drawings.gbr
rm -f overview.png
rm -f $(NAME)-overview.png $(NAME)-front.png $(NAME)-back.png
rm -f $(NAME)Front.pos $(NAME)-pos.csv
spotless:: clean