diff --git a/atben/README-PCB b/atben/README-PCB index 951c0b2..339661c 100644 --- a/atben/README-PCB +++ b/atben/README-PCB @@ -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 diff --git a/atben/README-SMT b/atben/README-SMT index e9d2e61..76332c3 100644 --- a/atben/README-SMT +++ b/atben/README-SMT @@ -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: diff --git a/atusb/README-PCB b/atusb/README-PCB index 863b976..dce48f7 100644 --- a/atusb/README-PCB +++ b/atusb/README-PCB @@ -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 diff --git a/atusb/README-SMT b/atusb/README-SMT index ad6c8b1..4c40456 100644 --- a/atusb/README-SMT +++ b/atusb/README-SMT @@ -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: diff --git a/makefiles/Makefile.kicad b/makefiles/Makefile.kicad index 52688c3..f84e98a 100644 --- a/makefiles/Makefile.kicad +++ b/makefiles/Makefile.kicad @@ -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