(module QFN-28_4x4mm_P0.5mm_C (layer F.Cu) (tedit 5BA634A6)
  (descr "QFN, 28 Pin (http://www.st.com/resource/en/datasheet/stm32f031k6.pdf (Page 280)), generated with kicad-footprint-generator ipc_dfn_qfn_generator.py")
  (tags "QFN DFN_QFN")
  (attr smd)
  (fp_text reference U1 (at 0 -2.9) (layer F.SilkS) hide
    (effects (font (size 1 1) (thickness 0.15)))
  )
  (fp_text value STM32F042G6Ux (at -0.025 2.575) (layer F.Fab) hide
    (effects (font (size 0.25 0.25) (thickness 0.0625)))
  )
  (fp_line (start 2.25 -2.25) (end -2.25 -2.25) (layer F.CrtYd) (width 0.05))
  (fp_line (start 2.25 2.25) (end 2.25 -2.25) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2.25 2.25) (end 2.25 2.25) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2.25 -2.25) (end -2.25 2.25) (layer F.CrtYd) (width 0.05))
  (fp_line (start -2 2) (end -2 -2) (layer F.Fab) (width 0.05))
  (fp_line (start 2 2) (end -2 2) (layer F.Fab) (width 0.05))
  (fp_line (start 2 -2) (end 2 2) (layer F.Fab) (width 0.05))
  (fp_line (start -2 -2) (end 2 -2) (layer F.Fab) (width 0.05))
  (fp_line (start -1.85 -2.2) (end -2.2 -2.2) (layer F.SilkS) (width 0.12))
  (fp_line (start 2.2 2.2) (end 2.2 1.85) (layer F.SilkS) (width 0.12))
  (fp_line (start 1.85 2.2) (end 2.2 2.2) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.2 2.2) (end -2.2 1.85) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.85 2.2) (end -2.2 2.2) (layer F.SilkS) (width 0.12))
  (fp_line (start 2.2 -2.2) (end 2.2 -1.85) (layer F.SilkS) (width 0.12))
  (fp_line (start 1.85 -2.2) (end 2.2 -2.2) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.2 -2.2) (end -2.2 -1.85) (layer F.SilkS) (width 0.12))
  (fp_circle (center -2.45 -2.1) (end -2.45 -2.17929) (layer F.SilkS) (width 0.15))
  (fp_line (start -1.375 1.625) (end -1.3 1.625) (layer F.SilkS) (width 0.01))
  (fp_line (start 1.625 1.375) (end 1.625 1.3) (layer F.SilkS) (width 0.01))
  (fp_line (start 1.375 -1.625) (end 1.3 -1.625) (layer F.SilkS) (width 0.01))
  (pad 2 smd roundrect (at -1.885 -1) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 1 smd custom (at -1.9375 -1.5) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.1125 -0.075) (xy 0.2625 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 3 smd roundrect (at -1.885 -0.5) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 4 smd roundrect (at -1.885 0) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 5 smd roundrect (at -1.885 0.5) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 6 smd roundrect (at -1.885 1) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 7 smd custom (at -1.9375 1.5) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.2625 -0.075) (xy 0.1125 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 11 smd roundrect (at 0 1.885 90) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 18 smd roundrect (at 1.885 0 180) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 25 smd roundrect (at 0 -1.885 270) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 8 smd custom (at -1.5 1.9375 90) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.1125 -0.075) (xy 0.2625 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 15 smd custom (at 1.9375 1.5 180) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.1125 -0.075) (xy 0.2625 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 22 smd custom (at 1.5 -1.9375 270) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.1125 -0.075) (xy 0.2625 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 9 smd roundrect (at -1 1.885 90) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 16 smd roundrect (at 1.885 1 180) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 23 smd roundrect (at 1 -1.885 270) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 14 smd custom (at 1.5 1.9375 90) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.2625 -0.075) (xy 0.1125 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 21 smd custom (at 1.9375 -1.5 180) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.2625 -0.075) (xy 0.1125 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 28 smd custom (at -1.5 -1.9375 270) (size 0.143934 0.143934) (layers F.Cu F.Paste F.Mask)
    (zone_connect 2)
    (options (clearance outline) (anchor circle))
    (primitives
      (gr_poly (pts
         (xy -0.2625 -0.075) (xy 0.2625 -0.075) (xy 0.1125 0.075) (xy -0.2625 0.075)) (width 0.1))
    ))
  (pad 10 smd roundrect (at -0.5 1.885 90) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 17 smd roundrect (at 1.885 0.5 180) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 24 smd roundrect (at 0.5 -1.885 270) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 13 smd roundrect (at 1 1.885 90) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 20 smd roundrect (at 1.885 -1 180) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 27 smd roundrect (at -1 -1.885 270) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 12 smd roundrect (at 0.5 1.885 90) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 19 smd roundrect (at 1.885 -0.5 180) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (pad 26 smd roundrect (at -0.5 -1.885 270) (size 0.725 0.25) (layers F.Cu F.Paste F.Mask) (roundrect_rratio 0.25))
  (model ${KICAD7_3DMODEL_DIR}/Package_DFN_QFN.3dshapes/QFN-28_4x4mm_P0.5mm.step
    (at (xyz 0 0 0))
    (scale (xyz 1 1 1))
    (rotate (xyz -90 0 0))
  )
)
