Shortened refdes, make changes, docs
authorJoseph Coffland <joseph@cauldrondevelopment.com>
Fri, 5 Feb 2016 09:57:22 +0000 (01:57 -0800)
committerJoseph Coffland <joseph@cauldrondevelopment.com>
Fri, 5 Feb 2016 09:57:22 +0000 (01:57 -0800)
electronics/Makefile
electronics/README.md
electronics/buildbotics_controller.sch
electronics/motor_module.sch

index 337ae12dcd737371bed977b85bd77c4035db2288..473b68e895fce3316da6b375f33894445568f97f 100644 (file)
@@ -1,7 +1,9 @@
 NAME = buildbotics_controller
 SCHEMATICS = $(wildcard *.sch)
+SYMBOLS = $(wildcard symbols/*.sym)
+FOOTPRINTS = $(wildcard footprints/*.fp)
 
-all:
+all: drc
 
 schematics:
        gschem -q -- $(NAME).sch&
@@ -9,10 +11,10 @@ schematics:
 pcb:
        pcb $(NAME).pcb&
 
-net:
+net: $(SCHEMATICS)
        gnetlist -g geda -o $(NAME).net $(NAME).sch
 
-bom:
+bom: $(SCHEMATICS)
        gnetlist -g partslist3 -o $(NAME).bom $(NAME).sch
 
 drc:
@@ -21,7 +23,7 @@ drc:
 attrib:
        gattrib $(SCHEMATICS)
 
-layout: 
+layout: $(SCHEMATICS) $(FOOTPRINTS) $(SYMBOLS)
        gsch2pcb --elements-dir footprints/ $(NAME).sch -o $(NAME)
 
 zip:
index 1fcbac26e2dc82e902e16756c49ba10f12338b97..180659f601d1204e58a7b477b2cb4090937dc951 100644 (file)
@@ -38,8 +38,8 @@ The resulting lines should look like this:
 
 This allows power and ground rails to be routed between schematics without
 mangling the names.  Note, that as a consequence of this setting you cannot
-use ``net`` or ``netname`` attributes in any schematic modules that are used
-more than once with out having them all connected together.
+use ``net`` attributes in any schematic modules that are used more than once
+with out having them all connected together.
 
 Set the library path in PCB to point to the local footprints folder.  Use
 ``File->Preferences->Library`` in PCB to do this.
index bf4379960544a9fc44bf274457667995f90f2f7b..be77a6cef75250e51b3d8e90dcafc13104d37ca3 100644 (file)
@@ -3,22 +3,22 @@ C 40000 40000 0 0 0 title-B.sym
 C 49500 45000 1 0 0 power_supply.sym
 {
 T 50100 45500 5 10 1 1 0 0 1
-refdes=PS1
+refdes=PS
 }
 C 45500 45000 1 0 0 motor_module.sym
 {
 T 46000 45500 5 10 1 1 0 0 1
-refdes=SD1
+refdes=SD
 }
 C 43500 45000 1 0 0 raspberry_pi.sym
 {
 T 44100 45500 5 10 1 1 0 0 1
-refdes=RP1
+refdes=RP
 }
 C 47500 45000 1 0 0 microprocessor.sym
 {
 T 48095 45500 5 10 1 1 0 0 1
-refdes=MP1
+refdes=MP
 }
 T 50000 40700 9 10 1 0 0 0 2
 Buildbotics Controller
@@ -34,5 +34,5 @@ T 51500 40100 9 10 1 0 0 0 1
 C 51500 45000 1 0 0 peripherals.sym
 {
 T 52100 45500 5 10 1 1 0 0 1
-refdes=P1
+refdes=PR
 }
index 2fa09922579b3612312158da29214a7287ad5ca2..0c02354cda11e2105803311240b06bc1f79aeb45 100644 (file)
@@ -3,28 +3,28 @@ C 40000 40000 0 0 0 title-B.sym
 C 42800 46600 1 0 0 motor_driver.sym
 {
 T 43795 49200 5 10 1 1 0 0 1
-refdes=MDX
+refdes=X
 T 43295 46700 5 10 1 1 0 0 1
 source=motor_driver.sch
 }
 C 42800 43300 1 0 0 motor_driver.sym
 {
 T 43795 45900 5 10 1 1 0 0 1
-refdes=MDY
+refdes=Y
 T 43295 43400 5 10 1 1 0 0 1
 source=motor_driver.sch
 }
 C 53300 46600 1 0 0 motor_driver.sym
 {
 T 54395 49200 5 10 1 1 0 0 1
-refdes=MDZ
+refdes=Z
 T 53795 46700 5 10 1 1 0 0 1
 source=motor_driver.sch
 }
 C 53300 43300 1 0 0 motor_driver.sym
 {
 T 54395 45900 5 10 1 1 0 0 1
-refdes=MDA
+refdes=A
 T 53795 43400 5 10 1 1 0 0 1
 source=motor_driver.sch
 }