IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Git Source Tree
Root/
Source at commit b3b037e18d4ac2018cbef505b6ee3e01bfd24896 created 12 years 9 months ago. By Werner Almesberger, TODO: update for switch to spi_atben | |
---|---|
1 | PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones |
2 | |
3 | NAME = atusb |
4 | |
5 | .PHONY: all gen generate sch brd xpdf front back clean |
6 | |
7 | all: |
8 | @echo "make what ? target: gen sch brd xpdf front back clean" |
9 | @exit 1 |
10 | |
11 | gen generate: |
12 | eeschema --plot `pwd`/$(NAME).sch |
13 | # need scripts |
14 | |
15 | sch: |
16 | eeschema `pwd`/$(NAME).sch |
17 | |
18 | brd: |
19 | pcbnew `pwd`/$(NAME).brd |
20 | |
21 | xpdf: |
22 | xpdf $(NAME).pdf |
23 | |
24 | front: $(NAME)-Front.ps |
25 | lpr $< |
26 | |
27 | back: $(NAME)-Back.ps |
28 | lpr $< |
29 | |
30 | # |
31 | # Postscript for production of front/back layer, using the toner transfer |
32 | # method. Note that other artwork transfer methods may require different |
33 | # mirror settings. |
34 | # |
35 | # We use --ps-pads-drill-opt=none to avoid having any hole before drilling, |
36 | # which yields the best results with a CNC drill. For manual drilling, "real" |
37 | # would be preferrable. Do not use "small", for this created holes that are |
38 | # larger (!) than designed. |
39 | # |
40 | |
41 | %-Front.ps: %.brd |
42 | $(PLOT_BRD) -l Front --mirror $< |
43 | |
44 | %-Back.ps: %.brd |
45 | $(PLOT_BRD) -l Back $< |
46 | |
47 | clean: |
48 | rm -f $(NAME)-Front.ps $(NAME)-Back.ps |
49 | rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr |
50 | rm -f $(NAME)-Front.gtl $(NAME)-Mask_Front.gts |
51 | rm -f $(NAME)-SilkS_Front.gto $(NAME)-SoldP_Front.gtp |
52 | rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs |
53 | rm -f $(NAME)-SilkS_Back.gbo $(NAME)-SoldP_Back.gbp |
54 | rm -f $(NAME)-Comments.gbr |
55 |