Permalink
Browse files

Initial commit after a coarce cleanup. For older revisions check the …

0 parents commit c976ed1aa7b15334699ce9a2b76fa985f0666a1a @esden esden committed Nov 24, 2011
Showing with 7,363 additions and 0 deletions.
  1. +24 −0 .gitignore
  2. +70 −0 README
  3. BIN controller/booz/BOM.ods
  4. +148 −0 controller/booz/Makefile
  5. +140 −0 controller/booz/Makefile.mirror
  6. +27 −0 controller/booz/NOTES
  7. +22 −0 controller/booz/README.power_board
  8. +4 −0 controller/booz/REVISIONS
  9. +137 −0 controller/booz/baro_amp.sce
  10. BIN controller/booz/booz_gps.brd
  11. BIN controller/booz/booz_gps.sch
  12. BIN controller/booz/booz_gps_no_ami_mag.brd
  13. BIN controller/booz/booz_gps_no_ami_mag.sch
  14. +54 −0 controller/booz/booz_imu.bom
  15. BIN controller/booz/booz_imu.brd
  16. BIN controller/booz/booz_imu.sch
  17. BIN controller/booz/booz_imu_xz.brd
  18. BIN controller/booz/booz_imu_xz.sch
  19. BIN controller/booz/booz_imu_yz.brd
  20. BIN controller/booz/booz_imu_yz.sch
  21. BIN controller/booz/booz_main.brd
  22. BIN controller/booz/booz_main.sch
  23. BIN controller/booz/booz_main_v1.2.brd
  24. BIN controller/booz/booz_main_v1.2.sch
  25. BIN controller/booz/booz_power_board.brd
  26. BIN controller/booz/booz_power_board.sch
  27. +19 −0 controller/booz/fab/eurocircuits.drl
  28. +72 −0 controller/booz/fab/eurocircuits_verified_4l.dru
  29. BIN controller/booz/my_order.gnumeric
  30. +18 −0 controller/booz/panel/Makefile
  31. +7 −0 controller/booz/panel/fabdwg.txt
  32. +14 −0 controller/booz/panel/imu101.def
  33. +145 −0 controller/booz/panel/layout.cfg
  34. +16 −0 controller/booz/panel/layout.def
  35. BIN controller/booz/test/test_baro_24.brd
  36. BIN controller/booz/test/test_baro_24.sch
  37. +12 −0 controller/classix/TODO
  38. BIN controller/classix/v0.99/classix.brd
  39. BIN controller/classix/v0.99/classix.sch
  40. BIN controller/lisa_l/lisa_ui/lisa_ui.brd
  41. BIN controller/lisa_l/lisa_ui/lisa_ui.sch
  42. +86 −0 controller/lisa_l/povray/3dusrpac.dat
  43. +137 −0 controller/lisa_l/povray/Makefile
  44. +18 −0 controller/lisa_l/povray/imu_assembly.inc
  45. +190 −0 controller/lisa_l/povray/imu_assembly.pov
  46. +28 −0 controller/lisa_l/povray/lisa_imu_assembly.inc
  47. +193 −0 controller/lisa_l/povray/lisa_imu_assembly.pov
  48. +22 −0 controller/lisa_l/povray/lisa_imu_gps_assembly.inc
  49. +194 −0 controller/lisa_l/povray/lisa_imu_gps_assembly.pov
  50. +440 −0 controller/lisa_l/povray/my_tools.inc
  51. +568 −0 controller/lisa_l/povray/user.inc
  52. BIN controller/lisa_l/v1.0/lisa_l.brd
  53. BIN controller/lisa_l/v1.0/lisa_l.sch
  54. BIN controller/lisa_l/v1.1/lisa_l.brd
  55. BIN controller/lisa_l/v1.1/lisa_l.sch
  56. BIN controller/lisa_m/v1.0/lisa_m.brd
  57. BIN controller/lisa_m/v1.0/lisa_m.sch
  58. +159 −0 controller/lisa_m/v1.1/Makefile
  59. +21 −0 controller/lisa_m/v1.1/fab/eurocircuits.drl
  60. +72 −0 controller/lisa_m/v1.1/fab/eurocircuits_europrint.dru
  61. +72 −0 controller/lisa_m/v1.1/fab/eurocircuits_png.dru
  62. +72 −0 controller/lisa_m/v1.1/fab/eurocircuits_verified_4l.dru
  63. BIN controller/lisa_m/v1.1/lisa_m.brd
  64. BIN controller/lisa_m/v1.1/lisa_m.sch
  65. +18 −0 controller/lisa_m/v1.1/panel/Makefile
  66. +7 −0 controller/lisa_m/v1.1/panel/fabdwg.txt
  67. +69 −0 controller/lisa_m/v1.1/panel/layout.cfg
  68. +6 −0 controller/lisa_m/v1.1/panel/layout.def
  69. +159 −0 controller/lisa_m/v2.0/Makefile
  70. +21 −0 controller/lisa_m/v2.0/fab/eurocircuits.drl
  71. +72 −0 controller/lisa_m/v2.0/fab/eurocircuits_europrint.dru
  72. +72 −0 controller/lisa_m/v2.0/fab/eurocircuits_png.dru
  73. +72 −0 controller/lisa_m/v2.0/fab/eurocircuits_verified_4l.dru
  74. BIN controller/lisa_m/v2.0/lisa_m.brd
  75. BIN controller/lisa_m/v2.0/lisa_m.sch
  76. BIN controller/lisa_m/v2.0/lisa_m_teardrops.brd
  77. BIN controller/lisa_m/v2.0/panel/.DS_Store
  78. +18 −0 controller/lisa_m/v2.0/panel/Makefile
  79. +7 −0 controller/lisa_m/v2.0/panel/fabdwg.txt
  80. +84 −0 controller/lisa_m/v2.0/panel/layout.cfg
  81. +6 −0 controller/lisa_m/v2.0/panel/layout.def
  82. BIN controller/lisa_m/v2.0/rail/rail.brd
  83. BIN controller/lisa_m/v2.0/rail/rail.sch
  84. +36 −0 controller/tiny/v0.99/TODO
  85. BIN controller/tiny/v0.99/tiny.brd
  86. BIN controller/tiny/v0.99/tiny.sch
  87. +2 −0 controller/tiny/v1.1/TODO
  88. BIN controller/tiny/v1.1/tiny.brd
  89. BIN controller/tiny/v1.1/tiny.sch
  90. BIN in_progress/AMI_601.brd
  91. BIN in_progress/AMI_601.sch
  92. +19 −0 in_progress/README
  93. BIN in_progress/adxrs300_breakout.brd
  94. BIN in_progress/adxrs300_breakout.sch
  95. BIN in_progress/blmc_m8_dev_bot.ps
  96. BIN in_progress/current_probe.brd
  97. BIN in_progress/current_probe.sch
  98. BIN in_progress/hump.brd
  99. BIN in_progress/hump.sch
  100. BIN in_progress/ir_single_long.brd
  101. BIN in_progress/ir_single_long.sch
  102. BIN in_progress/ir_single_slim.brd
  103. BIN in_progress/ir_single_slim.sch
  104. BIN in_progress/lipo_connector.brd
  105. BIN in_progress/lipo_connector.sch
  106. +70 −0 in_progress/lpc_board.notes
  107. BIN in_progress/olimex_add_on.brd
  108. BIN in_progress/olimex_add_on.sch
  109. BIN in_progress/pth_supply.brd
  110. BIN in_progress/pth_supply.sch
  111. BIN in_progress/pth_supply_servos.brd
  112. BIN in_progress/pth_supply_servos.sch
  113. BIN in_progress/pth_supply_servos_molex.brd
  114. BIN in_progress/pth_supply_servos_molex.sch
  115. BIN in_progress/sd_logger.brd
  116. BIN in_progress/sd_logger.sch
  117. BIN in_progress/sd_slot.brd
  118. BIN in_progress/sd_slot.sch
  119. BIN in_progress/test_2620.brd
  120. BIN in_progress/test_2620.sch
  121. BIN in_progress/test_filter.brd
  122. BIN in_progress/test_filter.sch
  123. BIN in_progress/test_usb_hub.brd
  124. BIN in_progress/test_usb_hub.sch
  125. BIN in_progress/tiny4l_18_1_99.brd
  126. BIN in_progress/tiny4l_18_1_99.sch
  127. BIN in_progress/usb_adapter.brd
  128. BIN in_progress/usb_adapter.sch
  129. BIN in_progress/vor_add_on.brd
  130. BIN in_progress/vor_add_on.sch
  131. BIN in_progress/xbee.brd
  132. BIN in_progress/xbee.sch
  133. BIN lbr/aspirin.lbr
  134. BIN lbr/booz.lbr
  135. BIN lbr/con-molex.lbr
  136. BIN lbr/paparazzi.lbr
  137. BIN lbr/paparazzi3.lbr
  138. BIN misc/antenna/ant_2G45_air.brd
  139. +145 −0 misc/csc/Makefile
  140. +126 −0 misc/csc/csc.bom
  141. BIN misc/csc/csc.brd
  142. +8 −0 misc/csc/csc.gerbv
  143. BIN misc/csc/csc.sch
  144. +72 −0 misc/csc/fab/SSC-EAGLE-4Lyr_v1.0.0.3_poine.dru
  145. +19 −0 misc/csc/fab/eurocircuits.drl
  146. BIN misc/serial_extender/serial_extender.brd
  147. BIN misc/serial_extender/serial_extender.sch
  148. BIN misc/supply/supply_L5973.brd
  149. BIN misc/supply/supply_L5973.sch
  150. BIN misc/supply/supply_LM1117.brd
  151. BIN misc/supply/supply_LM1117.sch
  152. BIN sensors/aspirin/frame_rail/frame_rail.brd
  153. BIN sensors/aspirin/frame_rail/frame_rail.sch
  154. BIN sensors/aspirin/lisa_carrier/aspirin_carrier_board.brd
  155. BIN sensors/aspirin/lisa_carrier/aspirin_carrier_board.sch
  156. +151 −0 sensors/aspirin/lisa_low_carrier/v1.0/Makefile
  157. +19 −0 sensors/aspirin/lisa_low_carrier/v1.0/fab/eurocircuits.drl
  158. +72 −0 sensors/aspirin/lisa_low_carrier/v1.0/fab/eurocircuits_europrint.dru
  159. +72 −0 sensors/aspirin/lisa_low_carrier/v1.0/fab/eurocircuits_png.dru
  160. +72 −0 sensors/aspirin/lisa_low_carrier/v1.0/fab/eurocircuits_verified_4l.dru
  161. BIN sensors/aspirin/lisa_low_carrier/v1.0/lisa_l_low_carrier.brd
  162. BIN sensors/aspirin/lisa_low_carrier/v1.0/lisa_l_low_carrier.sch
  163. +18 −0 sensors/aspirin/lisa_low_carrier/v1.0/panel/Makefile
  164. +7 −0 sensors/aspirin/lisa_low_carrier/v1.0/panel/fabdwg.txt
  165. +66 −0 sensors/aspirin/lisa_low_carrier/v1.0/panel/layout.cfg
  166. +6 −0 sensors/aspirin/lisa_low_carrier/v1.0/panel/layout.def
  167. +151 −0 sensors/aspirin/lisa_low_carrier/v1.1/Makefile
  168. +19 −0 sensors/aspirin/lisa_low_carrier/v1.1/fab/eurocircuits.drl
  169. +72 −0 sensors/aspirin/lisa_low_carrier/v1.1/fab/eurocircuits_europrint.dru
  170. +72 −0 sensors/aspirin/lisa_low_carrier/v1.1/fab/eurocircuits_png.dru
  171. +72 −0 sensors/aspirin/lisa_low_carrier/v1.1/fab/eurocircuits_verified_4l.dru
  172. BIN sensors/aspirin/lisa_low_carrier/v1.1/lisa_l_low_carrier.brd
  173. BIN sensors/aspirin/lisa_low_carrier/v1.1/lisa_l_low_carrier.sch
  174. +18 −0 sensors/aspirin/lisa_low_carrier/v1.1/panel/Makefile
  175. +7 −0 sensors/aspirin/lisa_low_carrier/v1.1/panel/fabdwg.txt
  176. +66 −0 sensors/aspirin/lisa_low_carrier/v1.1/panel/layout.cfg
  177. +6 −0 sensors/aspirin/lisa_low_carrier/v1.1/panel/layout.def
  178. BIN sensors/aspirin/mount_rail/mount_rail.brd
  179. BIN sensors/aspirin/mount_rail/mount_rail.sch
  180. BIN sensors/aspirin/v1.0/aspirin.brd
  181. BIN sensors/aspirin/v1.0/aspirin.sch
  182. BIN sensors/aspirin/v1.1/aspirin.brd
  183. BIN sensors/aspirin/v1.1/aspirin.sch
  184. BIN sensors/aspirin/v1.2/aspirin.brd
  185. BIN sensors/aspirin/v1.2/aspirin.sch
  186. BIN sensors/aspirin/v1.3/aspirin.brd
  187. BIN sensors/aspirin/v1.3/aspirin.sch
  188. BIN sensors/aspirin/v1.4/aspirin.brd
  189. BIN sensors/aspirin/v1.4/aspirin.sch
  190. BIN sensors/aspirin/v1.5/aspirin.brd
  191. BIN sensors/aspirin/v1.5/aspirin.sch
  192. +157 −0 sensors/aspirin/v2.0/Makefile
  193. BIN sensors/aspirin/v2.0/aspirin.brd
  194. BIN sensors/aspirin/v2.0/aspirin.sch
  195. +21 −0 sensors/aspirin/v2.0/fab/eurocircuits.drl
  196. +72 −0 sensors/aspirin/v2.0/fab/eurocircuits_europrint.dru
  197. +72 −0 sensors/aspirin/v2.0/fab/eurocircuits_png.dru
  198. +72 −0 sensors/aspirin/v2.0/fab/eurocircuits_verified_4l.dru
  199. +18 −0 sensors/aspirin/v2.0/panel/Makefile
  200. +7 −0 sensors/aspirin/v2.0/panel/fabdwg.txt
  201. +85 −0 sensors/aspirin/v2.0/panel/layout.cfg
  202. +8 −0 sensors/aspirin/v2.0/panel/layout.def
  203. BIN sensors/booz_imu/v1.2/booz_imu_h.sch
  204. BIN sensors/booz_imu/v1.2/booz_imu_v.sch
  205. BIN sensors/gps_13/gps_13.brd
  206. BIN sensors/gps_13/gps_13.sch
  207. BIN sensors/gyro_adxr/gyro_adxr.brd
  208. BIN sensors/gyro_adxr/gyro_adxr.sch
  209. BIN sensors/gyro_idg/gyro_idg.brd
  210. BIN sensors/gyro_idg/gyro_idg.sch
  211. +2 −0 sensors/imu_3/TODO
  212. BIN sensors/imu_3/imu_3_xy.brd
  213. BIN sensors/imu_3/imu_3_xy.sch
  214. BIN sensors/imu_3/imu_3_xz.brd
  215. BIN sensors/imu_3/imu_3_xz.sch
  216. BIN sensors/imu_3/imu_3_yz.brd
  217. BIN sensors/imu_3/imu_3_yz.sch
  218. BIN sensors/ir_dual/ir_dual.brd
  219. BIN sensors/ir_dual/ir_dual.sch
  220. BIN sensors/ir_single/ir_single.brd
  221. BIN sensors/ir_single/ir_single.sch
  222. +522 −0 sensors/yai/imu.OutJob
  223. BIN sensors/yai/imu.PDF
  224. BIN sensors/yai/imu.PcbDoc
  225. +1,052 −0 sensors/yai/imu.PrjPcb
  226. BIN sensors/yai/imu.SchDoc
@@ -0,0 +1,24 @@
+*.[bsl]\#*
+*.all
+*.bor
+*.bplc
+*.cmp
+*.dri
+*.gpi
+*.pro
+*.sol
+*.stc
+*.sts
+*.tplc
+*.xln
+*.ger
+merged.*.drl
+merged.*.txt
+*.zip
+.DS_Store
+*.bcr
+*.l02
+*.l15
+*.lbr
+*.tcr
+*.tsv
@@ -0,0 +1,70 @@
+#
+# $Id: README 6372 2010-11-07 00:50:29Z esden $
+# Copyright (C) 2004 Pascal Brisset, Antoine Drouin
+#
+# This file is part of paparazzi.
+#
+# paparazzi is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# paparazzi is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with paparazzi; see the file COPYING. If not, write to
+# the Free Software Foundation, 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+#
+
+License:
+--------
+All PCB CAD files are released under GNU General Public License version 2 or
+newer if not stated otherwise.
+
+Older revisions:
+----------------
+This is a cleaned up repository that does not contain all the history of the
+files. For older revisions please check the SVN repository on Savannah:
+http://svn.savannah.nongnu.org/viewvc/paparazzi-hardware/trunk/?root=paparazzi
+
+Techno:
+-------
+PCBs are 4 layers boards.
+ They can be ordered from companies like eurocircuits (www.eurocircuits.com).
+ I solder the components with a fine temperatue controlled iron. The IMU board
+ contains BGA gyros which will require some sort hot hot air method.
+
+Tools:
+ This files are produced using Eagle (www.cadsoft.de) version 4.11 for Linux.
+ gerbmerge (http://claymore.engineer.gvsu.edu/~steriana/Python/gerbmerge/) is a
+ free gerber panelisation tool. gerbv (http://gerbv.sourceforge.net) is a free
+ gerber viewer. eagle3d ( http://www.matwei.de/doku.php?id=en:eagle3d:eagle3d )
+ is a tool that allows generation of povray views of the boards.
+
+Outputs:
+ We use the eagle batch CAM processor to generate various outputs.
+ type "make gerber" to generate gerber.
+ type "make printable" to generate postscript and pdf.
+ they will be put in a printable subdirectory in each subdirectory.
+
+Directory content:
+------------------
+panel:
+ Contains configuration files used in conjunction with gerbmerge to produce a pannel
+ to be send to the PCB manufacturer (eurocircuits). A panel is a big PCB containing several smaller PCB.
+ It allows you to choose which boards you want for your particular system.
+
+controller:
+ This are the paparazzi controller boards.
+
+sensors:
+
+tools:
+
+
+lib:
+ contains eagle library parts for components not found in the standard eagle library.
Binary file not shown.
@@ -0,0 +1,148 @@
+# Paparazzi main $Id: Makefile,v 1.13 2007/03/27 16:12:22 poine Exp $
+# Copyright (C) 2004-2005 Pascal Brisset Antoine Drouin
+#
+# This file is part of paparazzi.
+#
+# paparazzi is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# paparazzi is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with paparazzi; see the file COPYING. If not, write to
+# the Free Software Foundation, 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+BRD_SRCS = \
+ booz_gps.brd \
+ booz_imu_xz.brd \
+ booz_imu_yz.brd \
+ booz_main.brd
+# booz_imu.brd
+# booz_imu is mirrored
+
+
+DIRS = .
+
+##### This substitutions work only with EXACTLY ONE level of subdirectory !!!!!
+SCHEMATICS=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.schematics.ps))
+TOP_LAYER=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.top_layer.ps))
+TOP_COMP=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.top_comp.ps))
+BOTTOM_LAYER=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.bottom_layer.ps))
+BOTTOM_COMP=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.bottom_comp.ps))
+POSTSCRIPTS= $(SCHEMATICS) $(TOP_LAYER) $(TOP_COMP) $(BOTTOM_LAYER) $(BOTTOM_COMP)
+PDF=$(POSTSCRIPTS:%.ps=%.pdf)
+
+
+GERB_O = $(BRD_SRCS:.brd=.all)
+
+all: gerber
+
+gerber: $(GERB_O)
+
+printable: dirs $(POSTSCRIPTS) $(PDF)
+
+dirs :
+ mkdir -p $(DIRS:%=%/printable)
+
+
+### GERBER GENERATION
+
+.PRECIOUS : %.cmp %.sol %.stc %.sts %.plc %.pls %.bor %.xln %.l02 %.l15
+
+%.all: %.cmp %.sol %.stc %.sts %.plc %.pls %.xln %.bor %.l02 %.l15
+ touch $@
+
+# Component side
+%.cmp : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Top Pads Vias
+# Solder side
+%.sol : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Bottom Pads Vias
+# Solder stop mask comp. side
+%.stc : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< tStop
+# Solder stop mask sold. side
+%.sts : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< bStop
+# Silkscreen comp. side
+%.plc : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Dimension tPlace tDocu
+# Silkscreen solder. side
+%.pls : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Dimension bPlace bDocu
+# Drill data for NC drill st.
+# warning : eagle takes path of -R option from input file directory.
+%.xln : %.brd
+ eagle -X -N -d EXCELLON -E -0.02 -E 0.1 -R fab/eurocircuits.drl -o $@ $< Drills Holes
+# Outline
+%.bor : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Dimension
+# Inner layer top
+%.l02 : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Route2 Pads Vias
+# Inner layer bot
+%.l15 : %.brd
+ eagle -X -N -d GERBER_RS274X -o $@ $< Route15 Pads Vias
+
+
+### POSTSCRIPT AND PDF GENERATION
+
+
+%.pdf : %.ps
+ ps2pdf $< $@
+
+%.schematics.ps : ../%.sch
+ eagle -X -N -d PS -x.4 -y.2 -o $@ $< Nets Busses Symbols Names Values
+
+%.top_layer.ps : ../%.brd
+ eagle -X -N -f- -m+ -d PS -h2 -w3 -o $@ $< Top Pad Via Dimension
+
+%.top_comp.ps : ../%.brd
+ eagle -X -N -f- -d PS -h2 -w2 -o $@ $< Pad Via Dimension tPlace tNames tDocu
+
+%.bottom_layer.ps : ../%.brd
+ eagle -X -N -f- -d PS -h2 -w3 -o $@ $< Bottom Pad Via Dimension
+
+%.bottom_comp.ps : ../%.brd
+ eagle -X -N -f- -m+ -c -d PS -h2 -w2 -o $@ $< Pad Via Dimension bPlace bNames bDocu
+
+clean:
+# gerber and excellon
+ find .. -name '*.cmp' -exec rm -f {} \;
+ find .. -name '*.sol' -exec rm -f {} \;
+ find .. -name '*.stc' -exec rm -f {} \;
+ find .. -name '*.sts' -exec rm -f {} \;
+ find .. -name '*.plc' -exec rm -f {} \;
+ find .. -name '*.pls' -exec rm -f {} \;
+ find .. -name '*.bor' -exec rm -f {} \;
+ find .. -name '*.xln' -exec rm -f {} \;
+ find .. -name '*.dri' -exec rm -f {} \;
+ find .. -name '*.gpi' -exec rm -f {} \;
+ find .. -name '*.l02' -exec rm -f {} \;
+ find .. -name '*.l15' -exec rm -f {} \;
+ find .. -name '*.all' -exec rm -f {} \;
+# printable
+ find . -name '*.schematics.ps' -exec rm -f {} \;
+ find . -name '*.schematics.pdf' -exec rm -f {} \;
+ find . -name '*.top_layer.ps' -exec rm -f {} \;
+ find . -name '*.top_layer.pdf' -exec rm -f {} \;
+ find . -name '*.top_comp.ps' -exec rm -f {} \;
+ find . -name '*.top_comp.pdf' -exec rm -f {} \;
+ find . -name '*.bottom_layer.ps' -exec rm -f {} \;
+ find . -name '*.bottom_layer.pdf' -exec rm -f {} \;
+ find . -name '*.bottom_comp.ps' -exec rm -f {} \;
+ find . -name '*.bottom_comp.pdf' -exec rm -f {} \;
+# eagle error log
+ find .. -name '*.erc' -exec rm -f {} \;
+# eagle autorouter log
+ find .. -name '*.pro' -exec rm -f {} \;
+# eagle backups
+ find .. -name '*#*' -exec rm -f {} \;
+# emacs backups
+ find .. -name '*~' -exec rm -f {} \;
@@ -0,0 +1,140 @@
+# Paparazzi main $Id: Makefile,v 1.13 2007/03/27 16:12:22 poine Exp $
+# Copyright (C) 2004-2005 Pascal Brisset Antoine Drouin
+#
+# This file is part of paparazzi.
+#
+# paparazzi is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# paparazzi is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with paparazzi; see the file COPYING. If not, write to
+# the Free Software Foundation, 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+BRD_SRCS = booz_imu.brd
+
+DIRS = .
+
+##### This substitutions work only with EXACTLY ONE level of subdirectory !!!!!
+SCHEMATICS=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.schematics.ps))
+TOP_LAYER=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.top_layer.ps))
+TOP_COMP=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.top_comp.ps))
+BOTTOM_LAYER=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.bottom_layer.ps))
+BOTTOM_COMP=$(subst /,/printable/,$(BRD_SRCS:%.brd=%.bottom_comp.ps))
+POSTSCRIPTS= $(SCHEMATICS) $(TOP_LAYER) $(TOP_COMP) $(BOTTOM_LAYER) $(BOTTOM_COMP)
+PDF=$(POSTSCRIPTS:%.ps=%.pdf)
+
+
+GERB_O = $(BRD_SRCS:.brd=.all)
+
+all: gerber
+
+gerber: $(GERB_O)
+
+printable: dirs $(POSTSCRIPTS) $(PDF)
+
+dirs :
+ mkdir -p $(DIRS:%=%/printable)
+
+
+### GERBER GENERATION
+
+.PRECIOUS : %.cmp %.sol %.stc %.sts %.plc %.pls %.bor %.xln %.l02 %.l15
+
+%.all: %.cmp %.sol %.stc %.sts %.plc %.pls %.xln %.bor %.l02 %.l15
+ touch $@
+
+# Component side
+%.cmp : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Bottom Pads Vias
+# Solder side
+%.sol : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Top Pads Vias
+# Solder stop mask comp. side
+%.stc : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< bStop
+# Solder stop mask sold. side
+%.sts : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< tStop
+# Silkscreen comp. side
+%.plc : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Dimension bPlace bDocu
+# Silkscreen solder side
+%.pls : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Dimension tPlace tDocu
+# Drill data for NC drill st.
+# warning : eagle takes path of -R option from input file directory.
+%.xln : %.brd
+ eagle -m -X -N -d EXCELLON -E -0.02 -E 0.1 -R fab/eurocircuits.drl -o $@ $< Drills Holes
+# Outline
+%.bor : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Dimension
+# Inner layer top
+%.l02 : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Route15 Pads Vias
+# Inner layer bot
+%.l15 : %.brd
+ eagle -m -X -N -d GERBER_RS274X -o $@ $< Route2 Pads Vias
+
+
+### POSTSCRIPT AND PDF GENERATION
+
+
+%.pdf : %.ps
+ ps2pdf $< $@
+
+%.schematics.ps : ../%.sch
+ eagle -X -N -d PS -x.4 -y.2 -o $@ $< Nets Busses Symbols Names Values
+
+%.top_layer.ps : ../%.brd
+ eagle -X -N -f- -m+ -d PS -h2 -w3 -o $@ $< Top Pad Via Dimension
+
+%.top_comp.ps : ../%.brd
+ eagle -X -N -f- -d PS -h2 -w2 -o $@ $< Pad Via Dimension tPlace tNames tDocu
+
+%.bottom_layer.ps : ../%.brd
+ eagle -X -N -f- -d PS -h2 -w3 -o $@ $< Bottom Pad Via Dimension
+
+%.bottom_comp.ps : ../%.brd
+ eagle -X -N -f- -m+ -c -d PS -h2 -w2 -o $@ $< Pad Via Dimension bPlace bNames bDocu
+
+clean:
+# gerber and excellon
+ find .. -name '*.cmp' -exec rm -f {} \;
+ find .. -name '*.sol' -exec rm -f {} \;
+ find .. -name '*.stc' -exec rm -f {} \;
+ find .. -name '*.sts' -exec rm -f {} \;
+ find .. -name '*.plc' -exec rm -f {} \;
+ find .. -name '*.bor' -exec rm -f {} \;
+ find .. -name '*.xln' -exec rm -f {} \;
+ find .. -name '*.dri' -exec rm -f {} \;
+ find .. -name '*.gpi' -exec rm -f {} \;
+ find .. -name '*.l02' -exec rm -f {} \;
+ find .. -name '*.l15' -exec rm -f {} \;
+ find .. -name '*.all' -exec rm -f {} \;
+# printable
+ find . -name '*.schematics.ps' -exec rm -f {} \;
+ find . -name '*.schematics.pdf' -exec rm -f {} \;
+ find . -name '*.top_layer.ps' -exec rm -f {} \;
+ find . -name '*.top_layer.pdf' -exec rm -f {} \;
+ find . -name '*.top_comp.ps' -exec rm -f {} \;
+ find . -name '*.top_comp.pdf' -exec rm -f {} \;
+ find . -name '*.bottom_layer.ps' -exec rm -f {} \;
+ find . -name '*.bottom_layer.pdf' -exec rm -f {} \;
+ find . -name '*.bottom_comp.ps' -exec rm -f {} \;
+ find . -name '*.bottom_comp.pdf' -exec rm -f {} \;
+# eagle error log
+ find .. -name '*.erc' -exec rm -f {} \;
+# eagle autorouter log
+ find .. -name '*.pro' -exec rm -f {} \;
+# eagle backups
+ find .. -name '*#*' -exec rm -f {} \;
+# emacs backups
+ find .. -name '*~' -exec rm -f {} \;
Oops, something went wrong.

0 comments on commit c976ed1

Please sign in to comment.