From 10ffefb728cfcd915656d3af49afabcd82d5b5e4 Mon Sep 17 00:00:00 2001 From: Julia Luna Date: Sun, 1 May 2022 14:28:10 +0200 Subject: [PATCH] chore: add tc2030 swd connector footprint --- libs/xenua.kicad_sym | 46 ++++++++++++++++++++++++++++++ libs/xenua.pretty/TC2030.kicad_mod | 29 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 libs/xenua.pretty/TC2030.kicad_mod diff --git a/libs/xenua.kicad_sym b/libs/xenua.kicad_sym index 8351d80..0439edd 100644 --- a/libs/xenua.kicad_sym +++ b/libs/xenua.kicad_sym @@ -259,6 +259,52 @@ ) ) ) + (symbol "SWD6" (in_bom yes) (on_board yes) + (property "Reference" "J" (id 0) (at 6.35 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "SWD6" (id 1) (at 6.35 1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 6.35 1.27 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 6.35 1.27 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "SWD6_0_1" + (rectangle (start 0 0) (end 8.89 -12.7) + (stroke (width 0.1524) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + (symbol "SWD6_1_1" + (pin power_in line (at 2.54 2.54 270) (length 2.54) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin bidirectional line (at 11.43 -7.62 180) (length 2.54) + (name "DIO" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 11.43 -2.54 180) (length 2.54) + (name "RST" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 11.43 -5.08 180) (length 2.54) + (name "CLK" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at 2.54 -15.24 90) (length 2.54) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output line (at 11.43 -10.16 180) (length 2.54) + (name "SWO" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + ) (symbol "TPS2058AD" (in_bom yes) (on_board yes) (property "Reference" "U" (id 0) (at 0 2.54 0) (effects (font (size 1.27 1.27))) diff --git a/libs/xenua.pretty/TC2030.kicad_mod b/libs/xenua.pretty/TC2030.kicad_mod new file mode 100644 index 0000000..b97c02d --- /dev/null +++ b/libs/xenua.pretty/TC2030.kicad_mod @@ -0,0 +1,29 @@ +(module TC2030 (layer F.Cu) (tedit 5BE5615D) + (descr "Tag-Connect TC2030-NL footprint by carloscuev@gmail.com") + (tags "Tag-Connect TC2030-NL") + (clearance 0.127) + (attr virtual) + (fp_text reference P1 (at -3.025 -2.075) (layer F.SilkS) hide + (effects (font (size 0.4 0.4) (thickness 0.1))) + ) + (fp_text value TC2030-CTX (at 0 2.667) (layer F.SilkS) hide + (effects (font (size 0.75692 0.75692) (thickness 0.127))) + ) + (fp_line (start 2.6035 1.905) (end -2.0828 1.905) (layer F.SilkS) (width 0.127)) + (fp_line (start 2.6035 -1.905) (end -2.0828 -1.905) (layer F.SilkS) (width 0.127)) + (fp_line (start -3.2639 0.7239) (end -2.0828 1.905) (layer F.SilkS) (width 0.127)) + (fp_line (start -3.2639 -0.7239) (end -2.0828 -1.905) (layer F.SilkS) (width 0.127)) + (fp_arc (start -2.54 0) (end -3.2639 0.7239) (angle 90) (layer F.SilkS) (width 0.127)) + (fp_line (start 3.556 -0.9525) (end 3.556 0.9525) (layer F.SilkS) (width 0.127)) + (fp_arc (start 2.6035 0.9525) (end 3.556 0.9525) (angle 90) (layer F.SilkS) (width 0.127)) + (fp_arc (start 2.6035 -0.9525) (end 2.6035 -1.905) (angle 90) (layer F.SilkS) (width 0.127)) + (pad 1 connect circle (at -1.27 0.635) (size 0.78486 0.78486) (layers F.Cu F.Mask)) + (pad 2 connect circle (at -1.27 -0.635) (size 0.78486 0.78486) (layers F.Cu F.Mask)) + (pad 3 connect circle (at 0 0.635) (size 0.78486 0.78486) (layers F.Cu F.Mask)) + (pad 4 connect circle (at 0 -0.635) (size 0.78486 0.78486) (layers F.Cu F.Mask)) + (pad 5 connect circle (at 1.27 0.635) (size 0.78486 0.78486) (layers F.Cu F.Mask)) + (pad 6 connect circle (at 1.27 -0.635) (size 0.78486 0.78486) (layers F.Cu F.Mask)) + (pad "" np_thru_hole circle (at -2.54 0) (size 0.98806 0.98806) (drill 0.98806) (layers *.Cu *.Mask F.SilkS)) + (pad "" np_thru_hole circle (at 2.54 -1.016) (size 0.98552 0.98552) (drill 0.98552) (layers *.Cu *.Mask F.SilkS)) + (pad "" np_thru_hole circle (at 2.54 1.016) (size 0.98552 0.98552) (drill 0.98552) (layers *.Cu *.Mask F.SilkS)) +)