add drill files to production file archive
This commit is contained in:
parent
8c85f84738
commit
b48bd52722
3 changed files with 30 additions and 7 deletions
11
pcb/Makefile
11
pcb/Makefile
|
@ -17,8 +17,9 @@ $(BOARD)_pcb.zip: fab doc
|
||||||
|
|
||||||
gen/$(BOARD)_fab.zip: gen/fab/$(BOARD)-F_Cu.gbr gen/fab/$(BOARD)-B_Cu.gbr gen/fab/$(BOARD)-F_Mask.gbr gen/fab/$(BOARD)-B_Mask.gbr
|
gen/$(BOARD)_fab.zip: gen/fab/$(BOARD)-F_Cu.gbr gen/fab/$(BOARD)-B_Cu.gbr gen/fab/$(BOARD)-F_Mask.gbr gen/fab/$(BOARD)-B_Mask.gbr
|
||||||
gen/$(BOARD)_fab.zip: gen/fab/$(BOARD)-F_Paste.gbr gen/fab/$(BOARD)-B_Paste.gbr gen/fab/$(BOARD)-F_SilkS.gbr gen/fab/$(BOARD)-B_SilkS.gbr
|
gen/$(BOARD)_fab.zip: gen/fab/$(BOARD)-F_Paste.gbr gen/fab/$(BOARD)-B_Paste.gbr gen/fab/$(BOARD)-F_SilkS.gbr gen/fab/$(BOARD)-B_SilkS.gbr
|
||||||
|
gen/$(BOARD)_fab.zip: gen/fab/$(BOARD).drl
|
||||||
@mkdir -p gen/fab
|
@mkdir -p gen/fab
|
||||||
cd gen/fab; zip -r ../$(BOARD)_fab.zip $(BOARD)*.gbr
|
cd gen/fab; zip -r ../$(BOARD)_fab.zip $(BOARD)*.gbr $(BOARD).drl
|
||||||
|
|
||||||
gen/$(BOARD)-erc.txt: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
gen/$(BOARD)-erc.txt: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
||||||
@mkdir -p gen
|
@mkdir -p gen
|
||||||
|
@ -32,13 +33,17 @@ gen/fab/%.gbr: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
||||||
@mkdir -p gen
|
@mkdir -p gen
|
||||||
kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front gerbers
|
kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front gerbers
|
||||||
|
|
||||||
|
gen/fab/$(BOARD).drl: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
||||||
|
@mkdir -p gen
|
||||||
|
kibot -d gen -c $(BOARD).kiplot.yaml -s all drill
|
||||||
|
|
||||||
gen/$(BOARD)-top-pos.csv: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
gen/$(BOARD)-top-pos.csv: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
||||||
@mkdir -p gen
|
@mkdir -p gen
|
||||||
kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front position
|
kibot -d gen -c $(BOARD).kiplot.yaml -s all position
|
||||||
|
|
||||||
gen/$(BOARD).csv: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
gen/$(BOARD).csv: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_pcb
|
||||||
@mkdir -p gen
|
@mkdir -p gen
|
||||||
kibot -d gen -c $(BOARD).kiplot.yaml -s all print_front bom
|
kibot -d gen -c $(BOARD).kiplot.yaml -s all bom
|
||||||
|
|
||||||
gen/$(BOARD).pdf: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_sch
|
gen/$(BOARD).pdf: $(BOARD).kiplot.yaml $(BOARD).kicad_pro $(BOARD).kicad_sch
|
||||||
@mkdir -p gen
|
@mkdir -p gen
|
||||||
|
|
|
@ -38,14 +38,14 @@ outputs:
|
||||||
type: pdf_sch_print
|
type: pdf_sch_print
|
||||||
dir: .
|
dir: .
|
||||||
options:
|
options:
|
||||||
output: fiatlux.pdf
|
output: '%f.pdf'
|
||||||
|
|
||||||
- name: 'print_front'
|
- name: 'print_front'
|
||||||
comment: "Print F.Cu+Dwgs.User"
|
comment: "Print F.Cu+Dwgs.User"
|
||||||
type: pdf_pcb_print
|
type: pdf_pcb_print
|
||||||
dir: .
|
dir: .
|
||||||
options:
|
options:
|
||||||
output_name: fiatlux-top.pdf
|
output_name: '%f-top.pdf'
|
||||||
layers:
|
layers:
|
||||||
- layer: B.Cu
|
- layer: B.Cu
|
||||||
- layer: F.SilkS
|
- layer: F.SilkS
|
||||||
|
@ -94,6 +94,15 @@ outputs:
|
||||||
- layer: Edge.Cuts
|
- layer: Edge.Cuts
|
||||||
suffix: Edge_Cuts
|
suffix: Edge_Cuts
|
||||||
|
|
||||||
|
- name: 'drill'
|
||||||
|
comment: "Drill Files"
|
||||||
|
type: excellon
|
||||||
|
dir: fab
|
||||||
|
options:
|
||||||
|
output: '%f.drl'
|
||||||
|
metric_units: true
|
||||||
|
|
||||||
|
|
||||||
- name: 'position'
|
- name: 'position'
|
||||||
comment: "Pick and place file, JLC style"
|
comment: "Pick and place file, JLC style"
|
||||||
type: position
|
type: position
|
||||||
|
|
|
@ -38,14 +38,14 @@ outputs:
|
||||||
type: pdf_sch_print
|
type: pdf_sch_print
|
||||||
dir: .
|
dir: .
|
||||||
options:
|
options:
|
||||||
output: fiatlux_cc48.pdf
|
output: '%f.pdf'
|
||||||
|
|
||||||
- name: 'print_front'
|
- name: 'print_front'
|
||||||
comment: "Print F.Cu+Dwgs.User"
|
comment: "Print F.Cu+Dwgs.User"
|
||||||
type: pdf_pcb_print
|
type: pdf_pcb_print
|
||||||
dir: .
|
dir: .
|
||||||
options:
|
options:
|
||||||
output_name: fiatlux_cc48-top.pdf
|
output_name: '%f-top.pdf'
|
||||||
layers:
|
layers:
|
||||||
- layer: B.Cu
|
- layer: B.Cu
|
||||||
- layer: F.SilkS
|
- layer: F.SilkS
|
||||||
|
@ -94,6 +94,15 @@ outputs:
|
||||||
- layer: Edge.Cuts
|
- layer: Edge.Cuts
|
||||||
suffix: Edge_Cuts
|
suffix: Edge_Cuts
|
||||||
|
|
||||||
|
- name: 'drill'
|
||||||
|
comment: "Drill Files"
|
||||||
|
type: excellon
|
||||||
|
dir: fab
|
||||||
|
options:
|
||||||
|
output: '%f.drl'
|
||||||
|
metric_units: true
|
||||||
|
|
||||||
|
|
||||||
- name: 'position'
|
- name: 'position'
|
||||||
comment: "Pick and place file, JLC style"
|
comment: "Pick and place file, JLC style"
|
||||||
type: position
|
type: position
|
||||||
|
|
Loading…
Reference in a new issue