(kicad_pcb (version 20211014) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
    (50 "User.1" user)
    (51 "User.2" user)
    (52 "User.3" user)
    (53 "User.4" user)
    (54 "User.5" user)
    (55 "User.6" user)
    (56 "User.7" user)
    (57 "User.8" user)
    (58 "User.9" user)
  )
  (setup
    (pad_to_mask_clearance 0)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (svguseinch false)
      (svgprecision 6)
      (excludeedgelayer true)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 1)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (net 0 "")
  (net 1 "GND")
  (net 2 "Net-(J1-Pad2)")
  (net 3 "Sout")
  (net 4 "Sin")
  (net 5 "Sck")
  (net 6 "unconnected-(J1-Pad6)")
  (net 7 "unconnected-(J1-Pad7)")
  (net 8 "Vcc")
  (net 9 "unconnected-(U1-Pad4)")
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal" (layer "F.Cu")
    (tedit 59FED5CB)
    (at 154.686 94.742)
    (descr "Through hole angled pin header, 1x08, 2.54mm pitch, 6mm pin length, single row")
    (tags "Through hole angled pin header THT 1x08 2.54mm single row")
    (property "Sheetfile" "gameboy_link.kicad_sch")
    (property "Sheetname" "")
    (attr through_hole)
    (fp_text reference "J1" (at 4.385 -2.27) (layer "F.SilkS"))
    (fp_text value "M5StickC Connector" (at 4.385 20.05) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 2.77 8.89 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 1 "GND") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2.54) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 2 "Net-(J1-Pad2)") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" thru_hole oval (at 0 5.08) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 3 "Sout") (pinfunction "Pin_3") (pintype "passive"))
    (pad "4" thru_hole oval (at 0 7.62) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 4 "Sin") (pinfunction "Pin_4") (pintype "passive"))
    (pad "5" thru_hole oval (at 0 10.16) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 5 "Sck") (pinfunction "Pin_5") (pintype "passive"))
    (pad "6" thru_hole oval (at 0 12.7) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 6 "unconnected-(J1-Pad6)") (pinfunction "Pin_6") (pintype "passive+no_connect"))
    (pad "7" thru_hole oval (at 0 15.24) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 7 "unconnected-(J1-Pad7)") (pinfunction "Pin_7") (pintype "passive+no_connect"))
    (pad "8" thru_hole oval (at 0 17.78) (size 1.7 1.7) (drill 1) (layers *.Cu *.Mask)
      (net 8 "Vcc") (pinfunction "Pin_8") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x08_P2.54mm_Horizontal.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "GameBoy:GameBoy_Link_Edge" (layer "F.Cu")
    (tedit 0)
    (at 143.395 102.37 -90)
    (property "Sheetfile" "gameboy_link.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "U1" (at 0 4 -90 unlocked) (layer "User.1"))
    (fp_text value "GameBoy_Link" (at 2.5 -6.5 -90 unlocked) (layer "F.Fab"))
    (fp_line (start -0.5 -5.5) (end -0.5 -0.5) (layer "Edge.Cuts") (width 0.12))
    (fp_line (start 0 0) (end 5 0) (layer "Edge.Cuts") (width 0.12))
    (fp_line (start 5.5 -0.5) (end 5.5 -5.5) (layer "Edge.Cuts") (width 0.12))
    (fp_line (start -0.5 -0.5) (end 0 0) (layer "Edge.Cuts") (width 0.12))
    (fp_line (start 5 0) (end 5.5 -0.5) (layer "Edge.Cuts") (width 0.12))
    (pad "1" smd roundrect (at 4.5 -2.5 270) (size 1 5) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 8 "Vcc") (pinfunction "VCC") (pintype "bidirectional"))
    (pad "2" smd roundrect (at 4.5 -2.5 270) (size 1 5) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 3 "Sout") (pinfunction "SOUT") (pintype "output"))
    (pad "3" smd roundrect (at 2.5 -2.5 270) (size 1 5) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 4 "Sin") (pinfunction "SIN") (pintype "input"))
    (pad "4" smd roundrect (at 2.5 -2.5 270) (size 1 5) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 9 "unconnected-(U1-Pad4)") (pinfunction "SD") (pintype "bidirectional+no_connect"))
    (pad "5" smd roundrect (at 0.5 -2.5 270) (size 1 5) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 5 "Sck") (pinfunction "SCK") (pintype "bidirectional"))
    (pad "6" smd roundrect (at 0.5 -2.5 270) (size 1 5) (layers "B.Cu" "B.Paste" "B.Mask") (roundrect_rratio 0.25)
      (net 1 "GND") (pinfunction "GND") (pintype "bidirectional"))
  )
  (footprint "Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder" (layer "F.Cu")
    (tedit 5F68FEEE)
    (at 150.86 104.902)
    (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor handsolder")
    (property "Sheetfile" "gameboy_link.kicad_sch")
    (property "Sheetname" "")
    (attr smd)
    (fp_text reference "R1" (at 0 -1.65) (layer "F.SilkS"))
    (fp_text value "50k" (at 0 1.65) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1 0) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 4 "Sin") (pintype "passive"))
    (pad "2" smd roundrect (at 1 0) (size 1.2 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.208333)
      (net 2 "Net-(J1-Pad2)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_arc (start 152.908 93.484764) (mid 153.056044 93.121068) (end 153.416004 92.964156) (layer "Edge.Cuts") (width 0.1))
  (gr_arc (start 152.908 101.333236) (mid 152.759956 101.696932) (end 152.399996 101.853844) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 152.4 107.95) (end 148.895 107.87) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 158.242 114.3) (end 158.496 114.3) (layer "Edge.Cuts") (width 0.1))
  (gr_arc (start 158.496 92.964) (mid 158.85521 93.11279) (end 159.004 93.472) (layer "Edge.Cuts") (width 0.1))
  (gr_arc (start 152.4 107.95) (mid 152.755582 108.102418) (end 152.908 108.458) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 152.908156 113.791996) (end 152.908 108.458) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 153.416004 92.964156) (end 158.242 92.964) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 152.908 101.333236) (end 152.908 93.484764) (layer "Edge.Cuts") (width 0.1))
  (gr_arc (start 153.428764 114.3) (mid 153.065068 114.151956) (end 152.908156 113.791996) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 159.004 93.472) (end 159.004 113.792) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 148.895 101.87) (end 152.399996 101.853844) (layer "Edge.Cuts") (width 0.1))
  (gr_arc (start 159.004 113.792) (mid 158.85521 114.15121) (end 158.496 114.3) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 158.496 92.964) (end 158.242 92.964) (layer "Edge.Cuts") (width 0.1))
  (gr_line (start 158.242 114.3) (end 153.428764 114.3) (layer "Edge.Cuts") (width 0.1))
  (gr_text "M5StickC GameBoy Link V1" (at 157.48 103.632 -270) (layer "B.SilkS"))
)
