From: Joseph Coffland Date: Fri, 5 Feb 2016 09:57:22 +0000 (-0800) Subject: Shortened refdes, make changes, docs X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=b7c41937ee7be18bf8b661fc00f32d3a85c13462;p=bbctrl-pcb Shortened refdes, make changes, docs --- diff --git a/electronics/Makefile b/electronics/Makefile index 337ae12..473b68e 100644 --- a/electronics/Makefile +++ b/electronics/Makefile @@ -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: diff --git a/electronics/README.md b/electronics/README.md index 1fcbac2..180659f 100644 --- a/electronics/README.md +++ b/electronics/README.md @@ -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. diff --git a/electronics/buildbotics_controller.sch b/electronics/buildbotics_controller.sch index bf43799..be77a6c 100644 --- a/electronics/buildbotics_controller.sch +++ b/electronics/buildbotics_controller.sch @@ -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 } diff --git a/electronics/motor_module.sch b/electronics/motor_module.sch index 2fa0992..0c02354 100644 --- a/electronics/motor_module.sch +++ b/electronics/motor_module.sch @@ -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 }