Skip to content

Commit

Permalink
o Provide a way to include the git version in the fabbed silkscreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Oct 20, 2015
1 parent b1f7fa5 commit 2aa431a
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 70 deletions.
11 changes: 7 additions & 4 deletions adapter/active-3/active3-rpi-hub75-adapter.kicad_pcb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(kicad_pcb (version 4) (host pcbnew "(2015-09-11 BZR 6184, Git bbb612d)-product")
(kicad_pcb (version 4) (host pcbnew "(2015-10-16 BZR 6271, Git e177d75)-product")

(general
(links 112)
(no_connects 0)
(area 83.949999 35.76 167.050001 72.218333)
(thickness 1.6)
(drawings 16)
(drawings 17)
(tracks 724)
(zones 0)
(modules 15)
Expand All @@ -15,7 +15,7 @@
(page A4)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(31 B.Cu signal hide)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
Expand All @@ -37,7 +37,7 @@
)

(setup
(last_trace_width 0.3048)
(last_trace_width 0.254)
(user_trace_width 0.254)
(user_trace_width 0.3048)
(user_trace_width 0.4064)
Expand Down Expand Up @@ -975,6 +975,9 @@
)
)

(gr_text %%gitversion%% (at 86.868 37.592 90) (layer B.SilkS)
(effects (font (size 1.2 1.2) (thickness 0.2)) (justify left mirror))
)
(gr_text o (at 158.25 49.5) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.25)) (justify mirror))
)
Expand Down
5 changes: 4 additions & 1 deletion adapter/kicad-scripts/makefile.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# -*- Makefile -*-

%-fab.zip : %.kicad_pcb
%-fab.zip : %-fab.kicad_pcb
python ../kicad-scripts/kicad-fab.py $<
zip -r $@ plot/

%-fab.kicad_pcb : %.kicad_pcb
sed "s/%%gitversion%%/`git log --date=short --pretty=format:'%h@%cd' -n 1`/" < $^ > $@
9 changes: 6 additions & 3 deletions adapter/passive-3/passive3-rpi-hub75-adapter.kicad_pcb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(kicad_pcb (version 4) (host pcbnew "(after 2015-may-25 BZR unknown)-product")
(kicad_pcb (version 4) (host pcbnew "(2015-10-16 BZR 6271, Git e177d75)-product")

(general
(links 54)
(no_connects 0)
(area 80.637667 35.449999 166.242334 58.550001)
(area 84.621 35.449999 166.242334 59.772333)
(thickness 1.6)
(drawings 12)
(drawings 13)
(tracks 443)
(zones 0)
(modules 6)
Expand Down Expand Up @@ -483,6 +483,9 @@
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS))
)

(gr_text %%gitversion%% (at 114.808 47.244) (layer B.SilkS)
(effects (font (size 1.2 1.2) (thickness 0.2)) (justify left mirror))
)
(gr_text github.com/hzeller/rpi-rgb-led-matrix (at 126 37.5) (layer F.SilkS)
(effects (font (size 2.2 2.2) (thickness 0.3)))
)
Expand Down
126 changes: 64 additions & 62 deletions adapter/passive-rpi1/passive-rpi-hub75-adapter.kicad_pcb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(kicad_pcb (version 4) (host pcbnew "(after 2015-may-25 BZR unknown)-product")
(kicad_pcb (version 4) (host pcbnew "(2015-10-16 BZR 6271, Git e177d75)-product")

(general
(links 19)
(no_connects 0)
(area 81.018619 38.449999 122.550001 57.550001)
(area 83.657 38.37 122.550001 58.502333)
(thickness 1.6)
(drawings 8)
(drawings 9)
(tracks 128)
(zones 0)
(modules 2)
Expand Down Expand Up @@ -268,6 +268,9 @@
(net 6 p0_b1))
)

(gr_text %%gitversion%% (at 118.872 47.244) (layer B.SilkS)
(effects (font (size 1.2 1.2) (thickness 0.2)) (justify left mirror))
)
(gr_text "↖RPi corner" (at 90.17 39.37) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.2)))
)
Expand Down Expand Up @@ -423,65 +426,64 @@
)
(filled_polygon
(pts
(xy 121.815 56.815) (xy 121.815 56.815) (xy 86.185 56.815) (xy 86.185 39.747041) (xy 88.9 39.747041)
(xy 88.326511 39.861115) (xy 87.84033 40.185971) (xy 87.515474 40.672152) (xy 87.4014 41.245641) (xy 87.4014 41.304359)
(xy 87.515474 41.877848) (xy 87.827301 42.34453) (xy 87.794277 42.350937) (xy 87.581473 42.490727) (xy 87.439023 42.70176)
(xy 87.38896 42.9514) (xy 87.38896 44.6786) (xy 87.435937 44.920723) (xy 87.575727 45.133527) (xy 87.78676 45.275977)
(xy 88.0364 45.32604) (xy 89.7636 45.32604) (xy 90.005723 45.279063) (xy 90.218527 45.139273) (xy 90.360977 44.92824)
(xy 90.369179 44.88734) (xy 90.38033 44.904029) (xy 90.866511 45.228885) (xy 91.44 45.342959) (xy 92.013489 45.228885)
(xy 92.49967 44.904029) (xy 92.71 44.589248) (xy 92.92033 44.904029) (xy 93.406511 45.228885) (xy 93.98 45.342959)
(xy 94.553489 45.228885) (xy 95.03967 44.904029) (xy 95.25 44.589248) (xy 95.46033 44.904029) (xy 95.543001 44.959268)
(xy 93.454285 47.047985) (xy 93.289104 47.295195) (xy 93.2311 47.5868) (xy 93.2311 54.4202) (xy 93.289104 54.711805)
(xy 93.404766 54.884905) (xy 93.454285 54.959015) (xy 93.627384 55.132115) (xy 93.702342 55.1822) (xy 93.874595 55.297296)
(xy 94.1662 55.3553) (xy 100.9179 55.3553) (xy 101.209505 55.297296) (xy 101.456715 55.132115) (xy 102.019822 54.569008)
(xy 102.296511 54.753885) (xy 102.87 54.867959) (xy 103.443489 54.753885) (xy 103.92967 54.429029) (xy 104.14 54.114248)
(xy 104.35033 54.429029) (xy 104.836511 54.753885) (xy 105.41 54.867959) (xy 105.983489 54.753885) (xy 106.46967 54.429029)
(xy 106.68 54.114248) (xy 106.89033 54.429029) (xy 107.376511 54.753885) (xy 107.95 54.867959) (xy 108.523489 54.753885)
(xy 109.00967 54.429029) (xy 109.22 54.114248) (xy 109.43033 54.429029) (xy 109.916511 54.753885) (xy 110.49 54.867959)
(xy 111.063489 54.753885) (xy 111.54967 54.429029) (xy 111.76 54.114248) (xy 111.97033 54.429029) (xy 112.456511 54.753885)
(xy 113.03 54.867959) (xy 113.603489 54.753885) (xy 114.08967 54.429029) (xy 114.414526 53.942848) (xy 114.5286 53.369359)
(xy 114.5286 53.310641) (xy 114.414526 52.737152) (xy 114.08967 52.250971) (xy 113.818839 52.070008) (xy 114.236821 51.68849)
(xy 114.484968 51.159027) (xy 114.364469 50.927) (xy 113.157 50.927) (xy 113.157 50.947) (xy 112.903 50.947)
(xy 112.903 50.927) (xy 112.883 50.927) (xy 112.883 50.673) (xy 112.903 50.673) (xy 112.903 49.466183)
(xy 112.670974 49.345042) (xy 113.389026 49.345042) (xy 113.157 49.466183) (xy 113.157 50.673) (xy 114.364469 50.673)
(xy 114.484968 50.440973) (xy 114.236821 49.91151) (xy 113.804947 49.517312) (xy 113.389026 49.345042) (xy 112.670974 49.345042)
(xy 112.670974 49.345042) (xy 112.255053 49.517312) (xy 111.823179 49.91151) (xy 111.765664 50.034228) (xy 111.54967 49.710971)
(xy 111.063489 49.386115) (xy 110.49 49.272041) (xy 109.916511 49.386115) (xy 109.43033 49.710971) (xy 109.22 50.025752)
(xy 109.00967 49.710971) (xy 108.523489 49.386115) (xy 107.95 49.272041) (xy 107.376511 49.386115) (xy 106.89033 49.710971)
(xy 106.68 50.025752) (xy 106.46967 49.710971) (xy 105.983489 49.386115) (xy 105.41 49.272041) (xy 104.836511 49.386115)
(xy 104.35033 49.710971) (xy 104.134336 50.034228) (xy 104.076821 49.91151) (xy 103.644947 49.517312) (xy 103.47833 49.448301)
(xy 104.093531 48.8331) (xy 111.8058 48.8331) (xy 112.097405 48.775096) (xy 112.344615 48.609915) (xy 115.942286 45.012245)
(xy 116.266511 45.228885) (xy 116.84 45.342959) (xy 117.413489 45.228885) (xy 117.89967 44.904029) (xy 118.115664 44.580772)
(xy 118.173179 44.70349) (xy 118.605053 45.097688) (xy 119.020974 45.269958) (xy 119.253 45.148817) (xy 119.253 43.942)
(xy 119.507 43.942) (xy 119.507 45.148817) (xy 119.739026 45.269958) (xy 120.154947 45.097688) (xy 120.586821 44.70349)
(xy 120.834968 44.174027) (xy 120.714469 43.942) (xy 119.507 43.942) (xy 119.253 43.942) (xy 119.253 43.942)
(xy 119.233 43.942) (xy 119.233 43.688) (xy 119.253 43.688) (xy 119.253 43.668) (xy 119.507 43.668)
(xy 119.507 43.688) (xy 120.714469 43.688) (xy 120.834968 43.455973) (xy 120.586821 42.92651) (xy 120.168839 42.544992)
(xy 120.43967 42.364029) (xy 120.764526 41.877848) (xy 120.8786 41.304359) (xy 120.8786 41.245641) (xy 120.764526 40.672152)
(xy 120.43967 40.185971) (xy 119.953489 39.861115) (xy 119.38 39.747041) (xy 118.806511 39.861115) (xy 118.32033 40.185971)
(xy 118.11 40.500752) (xy 117.89967 40.185971) (xy 117.413489 39.861115) (xy 116.84 39.747041) (xy 116.266511 39.861115)
(xy 115.78033 40.185971) (xy 115.57 40.500752) (xy 115.35967 40.185971) (xy 114.873489 39.861115) (xy 114.3 39.747041)
(xy 113.726511 39.861115) (xy 113.24033 40.185971) (xy 113.024336 40.509228) (xy 112.966821 40.38651) (xy 112.534947 39.992312)
(xy 112.119026 39.820042) (xy 111.887 39.941183) (xy 111.887 41.148) (xy 111.907 41.148) (xy 111.907 41.402)
(xy 111.887 41.402) (xy 111.887 41.422) (xy 111.633 41.422) (xy 111.633 41.402) (xy 111.613 41.402)
(xy 111.613 41.148) (xy 111.633 41.148) (xy 111.633 39.941183) (xy 111.400974 39.820042) (xy 110.985053 39.992312)
(xy 110.553179 40.38651) (xy 110.495664 40.509228) (xy 110.27967 40.185971) (xy 109.793489 39.861115) (xy 109.22 39.747041)
(xy 108.646511 39.861115) (xy 108.16033 40.185971) (xy 107.95 40.500752) (xy 107.73967 40.185971) (xy 107.253489 39.861115)
(xy 106.68 39.747041) (xy 106.106511 39.861115) (xy 105.62033 40.185971) (xy 105.404336 40.509228) (xy 105.346821 40.38651)
(xy 104.914947 39.992312) (xy 104.499026 39.820042) (xy 104.267 39.941183) (xy 104.267 41.148) (xy 104.287 41.148)
(xy 104.287 41.402) (xy 104.267 41.402) (xy 104.267 41.422) (xy 104.013 41.422) (xy 104.013 41.402)
(xy 103.993 41.402) (xy 103.993 41.148) (xy 104.013 41.148) (xy 104.013 39.941183) (xy 103.780974 39.820042)
(xy 103.365053 39.992312) (xy 102.933179 40.38651) (xy 102.875664 40.509228) (xy 102.65967 40.185971) (xy 102.173489 39.861115)
(xy 101.6 39.747041) (xy 101.026511 39.861115) (xy 100.54033 40.185971) (xy 100.33 40.500752) (xy 100.11967 40.185971)
(xy 99.633489 39.861115) (xy 99.06 39.747041) (xy 98.486511 39.861115) (xy 98.00033 40.185971) (xy 97.79 40.500752)
(xy 97.57967 40.185971) (xy 97.093489 39.861115) (xy 96.52 39.747041) (xy 95.946511 39.861115) (xy 95.46033 40.185971)
(xy 95.244336 40.509228) (xy 95.186821 40.38651) (xy 94.754947 39.992312) (xy 94.339026 39.820042) (xy 94.107 39.941183)
(xy 94.107 41.148) (xy 94.127 41.148) (xy 94.127 41.402) (xy 94.107 41.402) (xy 94.107 41.422)
(xy 93.853 41.422) (xy 93.853 41.402) (xy 93.833 41.402) (xy 93.833 41.148) (xy 93.853 41.148)
(xy 93.853 39.941183) (xy 93.620974 39.820042) (xy 93.205053 39.992312) (xy 92.773179 40.38651) (xy 92.715664 40.509228)
(xy 92.49967 40.185971) (xy 92.013489 39.861115) (xy 91.44 39.747041) (xy 90.866511 39.861115) (xy 90.38033 40.185971)
(xy 90.17 40.500752) (xy 89.95967 40.185971) (xy 89.473489 39.861115) (xy 88.9 39.747041) (xy 86.185 39.747041)
(xy 86.185 39.185) (xy 121.815 39.185) (xy 121.815 56.815)
(xy 121.815 56.815) (xy 86.185 56.815) (xy 86.185 39.747041) (xy 88.9 39.747041) (xy 88.326511 39.861115)
(xy 87.84033 40.185971) (xy 87.515474 40.672152) (xy 87.4014 41.245641) (xy 87.4014 41.304359) (xy 87.515474 41.877848)
(xy 87.827301 42.34453) (xy 87.794277 42.350937) (xy 87.581473 42.490727) (xy 87.439023 42.70176) (xy 87.38896 42.9514)
(xy 87.38896 44.6786) (xy 87.435937 44.920723) (xy 87.575727 45.133527) (xy 87.78676 45.275977) (xy 88.0364 45.32604)
(xy 89.7636 45.32604) (xy 90.005723 45.279063) (xy 90.218527 45.139273) (xy 90.360977 44.92824) (xy 90.369179 44.88734)
(xy 90.38033 44.904029) (xy 90.866511 45.228885) (xy 91.44 45.342959) (xy 92.013489 45.228885) (xy 92.49967 44.904029)
(xy 92.71 44.589248) (xy 92.92033 44.904029) (xy 93.406511 45.228885) (xy 93.98 45.342959) (xy 94.553489 45.228885)
(xy 95.03967 44.904029) (xy 95.25 44.589248) (xy 95.46033 44.904029) (xy 95.543001 44.959268) (xy 93.454285 47.047985)
(xy 93.289104 47.295195) (xy 93.2311 47.5868) (xy 93.2311 54.4202) (xy 93.289104 54.711805) (xy 93.404766 54.884905)
(xy 93.454285 54.959015) (xy 93.627384 55.132115) (xy 93.702342 55.1822) (xy 93.874595 55.297296) (xy 94.1662 55.3553)
(xy 100.9179 55.3553) (xy 101.209505 55.297296) (xy 101.456715 55.132115) (xy 102.019822 54.569008) (xy 102.296511 54.753885)
(xy 102.87 54.867959) (xy 103.443489 54.753885) (xy 103.92967 54.429029) (xy 104.14 54.114248) (xy 104.35033 54.429029)
(xy 104.836511 54.753885) (xy 105.41 54.867959) (xy 105.983489 54.753885) (xy 106.46967 54.429029) (xy 106.68 54.114248)
(xy 106.89033 54.429029) (xy 107.376511 54.753885) (xy 107.95 54.867959) (xy 108.523489 54.753885) (xy 109.00967 54.429029)
(xy 109.22 54.114248) (xy 109.43033 54.429029) (xy 109.916511 54.753885) (xy 110.49 54.867959) (xy 111.063489 54.753885)
(xy 111.54967 54.429029) (xy 111.76 54.114248) (xy 111.97033 54.429029) (xy 112.456511 54.753885) (xy 113.03 54.867959)
(xy 113.603489 54.753885) (xy 114.08967 54.429029) (xy 114.414526 53.942848) (xy 114.5286 53.369359) (xy 114.5286 53.310641)
(xy 114.414526 52.737152) (xy 114.08967 52.250971) (xy 113.818839 52.070008) (xy 114.236821 51.68849) (xy 114.484968 51.159027)
(xy 114.364469 50.927) (xy 113.157 50.927) (xy 113.157 50.947) (xy 112.903 50.947) (xy 112.903 50.927)
(xy 112.883 50.927) (xy 112.883 50.673) (xy 112.903 50.673) (xy 112.903 49.466183) (xy 112.670974 49.345042)
(xy 113.389026 49.345042) (xy 113.157 49.466183) (xy 113.157 50.673) (xy 114.364469 50.673) (xy 114.484968 50.440973)
(xy 114.236821 49.91151) (xy 113.804947 49.517312) (xy 113.389026 49.345042) (xy 112.670974 49.345042) (xy 112.255053 49.517312)
(xy 111.823179 49.91151) (xy 111.765664 50.034228) (xy 111.54967 49.710971) (xy 111.063489 49.386115) (xy 110.49 49.272041)
(xy 109.916511 49.386115) (xy 109.43033 49.710971) (xy 109.22 50.025752) (xy 109.00967 49.710971) (xy 108.523489 49.386115)
(xy 107.95 49.272041) (xy 107.376511 49.386115) (xy 106.89033 49.710971) (xy 106.68 50.025752) (xy 106.46967 49.710971)
(xy 105.983489 49.386115) (xy 105.41 49.272041) (xy 104.836511 49.386115) (xy 104.35033 49.710971) (xy 104.134336 50.034228)
(xy 104.076821 49.91151) (xy 103.644947 49.517312) (xy 103.47833 49.448301) (xy 104.093531 48.8331) (xy 111.8058 48.8331)
(xy 112.097405 48.775096) (xy 112.344615 48.609915) (xy 115.942286 45.012245) (xy 116.266511 45.228885) (xy 116.84 45.342959)
(xy 117.413489 45.228885) (xy 117.89967 44.904029) (xy 118.115664 44.580772) (xy 118.173179 44.70349) (xy 118.605053 45.097688)
(xy 119.020974 45.269958) (xy 119.253 45.148817) (xy 119.253 43.942) (xy 119.507 43.942) (xy 119.507 45.148817)
(xy 119.739026 45.269958) (xy 120.154947 45.097688) (xy 120.586821 44.70349) (xy 120.834968 44.174027) (xy 120.714469 43.942)
(xy 119.507 43.942) (xy 119.253 43.942) (xy 119.233 43.942) (xy 119.233 43.688) (xy 119.253 43.688)
(xy 119.253 43.668) (xy 119.507 43.668) (xy 119.507 43.688) (xy 120.714469 43.688) (xy 120.834968 43.455973)
(xy 120.586821 42.92651) (xy 120.168839 42.544992) (xy 120.43967 42.364029) (xy 120.764526 41.877848) (xy 120.8786 41.304359)
(xy 120.8786 41.245641) (xy 120.764526 40.672152) (xy 120.43967 40.185971) (xy 119.953489 39.861115) (xy 119.38 39.747041)
(xy 118.806511 39.861115) (xy 118.32033 40.185971) (xy 118.11 40.500752) (xy 117.89967 40.185971) (xy 117.413489 39.861115)
(xy 116.84 39.747041) (xy 116.266511 39.861115) (xy 115.78033 40.185971) (xy 115.57 40.500752) (xy 115.35967 40.185971)
(xy 114.873489 39.861115) (xy 114.3 39.747041) (xy 113.726511 39.861115) (xy 113.24033 40.185971) (xy 113.024336 40.509228)
(xy 112.966821 40.38651) (xy 112.534947 39.992312) (xy 112.119026 39.820042) (xy 111.887 39.941183) (xy 111.887 41.148)
(xy 111.907 41.148) (xy 111.907 41.402) (xy 111.887 41.402) (xy 111.887 41.422) (xy 111.633 41.422)
(xy 111.633 41.402) (xy 111.613 41.402) (xy 111.613 41.148) (xy 111.633 41.148) (xy 111.633 39.941183)
(xy 111.400974 39.820042) (xy 110.985053 39.992312) (xy 110.553179 40.38651) (xy 110.495664 40.509228) (xy 110.27967 40.185971)
(xy 109.793489 39.861115) (xy 109.22 39.747041) (xy 108.646511 39.861115) (xy 108.16033 40.185971) (xy 107.95 40.500752)
(xy 107.73967 40.185971) (xy 107.253489 39.861115) (xy 106.68 39.747041) (xy 106.106511 39.861115) (xy 105.62033 40.185971)
(xy 105.404336 40.509228) (xy 105.346821 40.38651) (xy 104.914947 39.992312) (xy 104.499026 39.820042) (xy 104.267 39.941183)
(xy 104.267 41.148) (xy 104.287 41.148) (xy 104.287 41.402) (xy 104.267 41.402) (xy 104.267 41.422)
(xy 104.013 41.422) (xy 104.013 41.402) (xy 103.993 41.402) (xy 103.993 41.148) (xy 104.013 41.148)
(xy 104.013 39.941183) (xy 103.780974 39.820042) (xy 103.365053 39.992312) (xy 102.933179 40.38651) (xy 102.875664 40.509228)
(xy 102.65967 40.185971) (xy 102.173489 39.861115) (xy 101.6 39.747041) (xy 101.026511 39.861115) (xy 100.54033 40.185971)
(xy 100.33 40.500752) (xy 100.11967 40.185971) (xy 99.633489 39.861115) (xy 99.06 39.747041) (xy 98.486511 39.861115)
(xy 98.00033 40.185971) (xy 97.79 40.500752) (xy 97.57967 40.185971) (xy 97.093489 39.861115) (xy 96.52 39.747041)
(xy 95.946511 39.861115) (xy 95.46033 40.185971) (xy 95.244336 40.509228) (xy 95.186821 40.38651) (xy 94.754947 39.992312)
(xy 94.339026 39.820042) (xy 94.107 39.941183) (xy 94.107 41.148) (xy 94.127 41.148) (xy 94.127 41.402)
(xy 94.107 41.402) (xy 94.107 41.422) (xy 93.853 41.422) (xy 93.853 41.402) (xy 93.833 41.402)
(xy 93.833 41.148) (xy 93.853 41.148) (xy 93.853 39.941183) (xy 93.620974 39.820042) (xy 93.205053 39.992312)
(xy 92.773179 40.38651) (xy 92.715664 40.509228) (xy 92.49967 40.185971) (xy 92.013489 39.861115) (xy 91.44 39.747041)
(xy 90.866511 39.861115) (xy 90.38033 40.185971) (xy 90.17 40.500752) (xy 89.95967 40.185971) (xy 89.473489 39.861115)
(xy 88.9 39.747041) (xy 86.185 39.747041) (xy 86.185 39.185) (xy 121.815 39.185) (xy 121.815 56.815)
)
)
(filled_polygon
Expand Down

0 comments on commit 2aa431a

Please sign in to comment.