initial project skeleton created
authorBdale Garbee <bdale@gag.com>
Sun, 2 May 2010 17:48:48 +0000 (11:48 -0600)
committerBdale Garbee <bdale@gag.com>
Sun, 2 May 2010 17:48:48 +0000 (11:48 -0600)
License.pdf [new file with mode: 0644]
Makefile [new file with mode: 0644]
attribs [new file with mode: 0644]
gattribrc [new symlink]
gnetlistrc [new symlink]
greenhouse.sch [new file with mode: 0644]
gschemrc [new file with mode: 0644]
project [new file with mode: 0644]

diff --git a/License.pdf b/License.pdf
new file mode 100644 (file)
index 0000000..01fceb2
Binary files /dev/null and b/License.pdf differ
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..152f2a9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,38 @@
+# intentionally want to rebuild drc and bom on every invocation
+all:   drc partslist
+
+drc:   greenhouse.sch
+       -gnetlist -g drc2 greenhouse.sch -o greenhouse.drc
+
+partslist:     greenhouse.sch
+       gnetlist -g bom -o greenhouse.unsorted greenhouse.sch
+       head -n1 greenhouse.unsorted > partslist
+       tail -n+2 greenhouse.unsorted | sort >> partslist
+       rm -f greenhouse.unsorted
+
+pcb:   greenhouse.sch project
+       gsch2pcb project
+
+# note that 'gschlas -e foo.sch' will embed all symbols in the schematic, this
+# might be a really good idea for publishing designs to the web that others
+# might review?  Like this example from DJ:
+#
+#web :
+#        for i in channel.sch ethernet.sch power.sch mcu.sch; do \
+#          cp $$i tmp.sch ; \
+#          gschlas -e tmp.sch ; \
+#          mv tmp.sch ${WEB}/$$i; \
+#        done
+
+# this shoves local work out to the git.gag.com repository
+push:  
+       git push --mirror
+
+zip:   greenhouse.back.gbr greenhouse.backmask.gbr greenhouse.fab.gbr greenhouse.front.gbr greenhouse.frontmask.gbr greenhouse.frontpaste.gbr greenhouse.frontsilk.gbr greenhouse.group2.gbr greenhouse.group3.gbr greenhouse.plated-drill.cnc
+       zip greenhouse.zip *.gbr *.cnc
+
+clean:
+       rm -f *.bom *.drc *.log *~ greenhouse.ps *.gbr *.cnc *bak* *- *.zip 
+       rm -f *.net *.xy *.cmd *.png partslist
+       rm -f *.partslist *.new.pcb *.unsorted
+
diff --git a/attribs b/attribs
new file mode 100644 (file)
index 0000000..92a91e7
--- /dev/null
+++ b/attribs
@@ -0,0 +1,6 @@
+value
+vendor
+vendor_part_number
+footprint
+loadstatus
+device
diff --git a/gattribrc b/gattribrc
new file mode 120000 (symlink)
index 0000000..441e62e
--- /dev/null
+++ b/gattribrc
@@ -0,0 +1 @@
+gschemrc
\ No newline at end of file
diff --git a/gnetlistrc b/gnetlistrc
new file mode 120000 (symlink)
index 0000000..441e62e
--- /dev/null
@@ -0,0 +1 @@
+gschemrc
\ No newline at end of file
diff --git a/greenhouse.sch b/greenhouse.sch
new file mode 100644 (file)
index 0000000..9275d3c
--- /dev/null
@@ -0,0 +1,33 @@
+v 20100214 2
+C 40000 40000 0 0 0 EMBEDDEDtitle-D-bdale.sym
+[
+T 56500 41800 5 10 0 0 0 0 1
+graphical=1
+T 66500 40400 15 8 1 0 0 0 1
+FILE:
+T 71500 40400 15 8 1 0 0 0 1
+REVISION:
+T 69400 40400 15 8 1 0 0 0 1
+PAGE
+T 70200 40400 15 8 1 0 0 0 1
+OF
+B 66400 40000 7600 2700 15 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+L 66400 40600 74000 40600 15 0 0 0 -1 -1
+T 66500 40100 15 10 1 0 0 0 1
+Project URL:
+T 66900 40800 9 10 1 0 0 0 2
+                Copyright 2010 by Bdale Garbee <bdale@gag.com>
+Licensed under the TAPR Open Hardware License, http://www.tapr.org/OHL
+L 66400 41400 74000 41400 15 0 0 0 -1 -1
+B 40000 40000 34000 22000 3 0 0 0 -1 -1 0 -1 -1 -1 -1 -1
+]
+T 67900 41800 9 30 1 0 0 0 1
+Greenhouse Shield
+T 72400 40400 9 10 1 0 0 0 1
+0.1
+T 70000 40400 9 10 1 0 0 0 1
+1
+T 70600 40400 9 10 1 0 0 0 1
+1
+T 67700 40400 9 10 1 0 0 0 1
+greenhouse.sch
diff --git a/gschemrc b/gschemrc
new file mode 100644 (file)
index 0000000..55565aa
--- /dev/null
+++ b/gschemrc
@@ -0,0 +1,2 @@
+;; list libraries here.  order matters as this sets the search order
+(component-library "../bdale/sym")
diff --git a/project b/project
new file mode 100644 (file)
index 0000000..7533136
--- /dev/null
+++ b/project
@@ -0,0 +1,13 @@
+# List all the schematics to be netlisted and laid out on the pc board
+schematics     greenhouse.sch
+
+# for an output-name of foo, gsch2pcb generates files foo.net, foo.pcb,
+# and foo.new.pcb.  if there is no output name specified, the file names
+# are derived from the first listed schematic...
+output-name    greenhouse
+
+elements-dir ../bdale/pkg
+elements-dir /usr/share/pcb
+
+# stick to newlib elements, don't use the older/odder m4 stuff
+skip-m4