mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 04:29:42 +02:00
great atusd -> atben renaming: updated references in atben/cam/
- Makefile: changed "atusd" to $(NAME) - mkmk: changed "atusd" to $NAME
This commit is contained in:
parent
0dc344a0ec
commit
fb07d57377
@ -1,15 +1,17 @@
|
|||||||
|
NAME=atben
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|
||||||
all: Makefile.mkmk
|
all: Makefile.mkmk
|
||||||
|
|
||||||
Makefile.mkmk: mkmk ../atusd.drl ../atusd-PCB_Edges.gbr
|
Makefile.mkmk: mkmk ../$(NAME).drl ../$(NAME)-PCB_Edges.gbr
|
||||||
./mkmk
|
./mkmk
|
||||||
|
|
||||||
../atusd.drl: ../atusd.brd
|
../$(NAME).drl: ../$(NAME).brd
|
||||||
pcbnew --drill `pwd`/../atusd.brd
|
pcbnew --drill `pwd`/../$(NAME).brd
|
||||||
|
|
||||||
../atusd-PCB_Edges.gbr: ../atusd.brd
|
../$(NAME)-PCB_Edges.gbr: ../$(NAME).brd
|
||||||
pcbnew --plot=gerber -l PCB_Edges `pwd`/../atusd.brd
|
pcbnew --plot=gerber -l PCB_Edges `pwd`/../$(NAME).brd
|
||||||
|
|
||||||
-include Makefile.mkmk
|
-include Makefile.mkmk
|
||||||
|
|
||||||
|
@ -2,13 +2,14 @@
|
|||||||
PATH=$PATH:/home/qi/cae-tools/cameo
|
PATH=$PATH:/home/qi/cae-tools/cameo
|
||||||
PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml
|
PATH=$PATH:/home/moko/svn.openmoko.org/developers/werner/cncmap/gp2rml
|
||||||
|
|
||||||
|
NAME=atben
|
||||||
X=0
|
X=0
|
||||||
Y=1
|
Y=1
|
||||||
|
|
||||||
cameo <<EOF
|
cameo <<EOF
|
||||||
mm
|
mm
|
||||||
|
|
||||||
gerber 35mil ../atusd-PCB_Edges.gbr
|
gerber 35mil ../$NAME-PCB_Edges.gbr
|
||||||
align 1 2.5mm 8.5mm # align relative to board corner
|
align 1 2.5mm 8.5mm # align relative to board corner
|
||||||
translate 3mm 3mm # move to PCB zone assigned to project
|
translate 3mm 3mm # move to PCB zone assigned to project
|
||||||
array +19mm +2.5mm $X $Y
|
array +19mm +2.5mm $X $Y
|
||||||
@ -21,7 +22,7 @@ clear
|
|||||||
|
|
||||||
# ---- 1st board ----
|
# ---- 1st board ----
|
||||||
|
|
||||||
excellon ../atusd.drl
|
excellon ../$NAME.drl
|
||||||
drill 7mil 15mil # 12.5-13.5 mil drill
|
drill 7mil 15mil # 12.5-13.5 mil drill
|
||||||
optimize
|
optimize
|
||||||
write drill.gp
|
write drill.gp
|
||||||
@ -34,7 +35,7 @@ write mill.gp
|
|||||||
remainder
|
remainder
|
||||||
empty
|
empty
|
||||||
|
|
||||||
gerber 20mil ../atusd-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
|
gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
|
||||||
offset
|
offset
|
||||||
append mill.gp
|
append mill.gp
|
||||||
|
|
||||||
@ -44,7 +45,7 @@ clear
|
|||||||
|
|
||||||
reset
|
reset
|
||||||
|
|
||||||
gerber 35mil ../atusd-PCB_Edges.gbr
|
gerber 35mil ../$NAME-PCB_Edges.gbr
|
||||||
rotate 180
|
rotate 180
|
||||||
|
|
||||||
align 1 2.5mm 8.5mm # align relative to board corner
|
align 1 2.5mm 8.5mm # align relative to board corner
|
||||||
@ -54,7 +55,7 @@ array +19mm +2.5mm $X $Y
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
|
|
||||||
excellon ../atusd.drl
|
excellon ../$NAME.drl
|
||||||
drill 7mil 15mil # 12.5-13.5 mil drill
|
drill 7mil 15mil # 12.5-13.5 mil drill
|
||||||
optimize
|
optimize
|
||||||
append drill.gp
|
append drill.gp
|
||||||
@ -67,7 +68,7 @@ append mill.gp
|
|||||||
remainder
|
remainder
|
||||||
empty
|
empty
|
||||||
|
|
||||||
gerber 20mil ../atusd-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
|
gerber 20mil ../$NAME-PCB_Edges.gbr # 35 mil endmill, 15 mil deflection
|
||||||
offset
|
offset
|
||||||
append mill.gp
|
append mill.gp
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user