make: use kicad-cli to export fabrication (kikit does not support v7 yet)
This commit is contained in:
parent
b066d8b473
commit
8fa5152b25
9
Makefile
9
Makefile
|
@ -33,8 +33,13 @@ all: ${NAME}.sch.pdf ${NAME}.brd-top.png ${NAME}.brd-bot.png ${NAME}.bom.csv fab
|
|||
fab: ${FABRICATION_DIR} ${IBOM}
|
||||
|
||||
# generate fabrication files (gerbers/drill/BoM/PnP)
|
||||
${FABRICATION_DIR}: ${NAME}.versioned.kicad_sch ${NAME}.versioned.kicad_pcb
|
||||
kikit fab jlcpcb --drc --assembly --schematic $^ $@
|
||||
#${FABRICATION_DIR}: ${NAME}.versioned.kicad_sch ${NAME}.versioned.kicad_pcb
|
||||
# kikit fab jlcpcb --drc --assembly --schematic $^ $@
|
||||
${FABRICATION_DIR}: ${NAME}.versioned.kicad_pcb ${NAME}.versioned.kicad_sch
|
||||
mkdir -p ${FABRICATION_DIR}
|
||||
$(KICAD) pcb export gerbers --output ${FABRICATION_DIR} $<
|
||||
$(KICAD) pcb export drill --output ${FABRICATION_DIR}/ $<
|
||||
$(KICAD) pcb export pos --output ${FABRICATION_DIR}/${NAME}.versioned.pos $<
|
||||
|
||||
# generate interactive BoM
|
||||
${IBOM}: ${NAME}.versioned.kicad_pcb
|
||||
|
|
Loading…
Reference in New Issue