diff --git a/tests/board_samples/kicad_6/erc_warning/logic.kicad_sch b/tests/board_samples/kicad_6/erc_warning/logic.kicad_sch new file mode 100644 index 00000000..8b3f04b3 --- /dev/null +++ b/tests/board_samples/kicad_6/erc_warning/logic.kicad_sch @@ -0,0 +1,565 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid 29e78086-2175-405e-9ba3-c48766d2f50c) + + (paper "A4") + + (lib_symbols + (symbol "74xx:74LS04" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (id 1) (at 0 -1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "TTL not inv" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Hex Inverter" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "DIP*W7.62mm* SSOP?14* TSSOP?14*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LS04_1_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_2_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_3_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_4_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_5_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_6_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_7_0" + (pin power_in line (at 0 12.7 270) (length 5.08) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -12.7 90) (length 5.08) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_7_1" + (rectangle (start -5.08 7.62) (end 5.08 -7.62) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + ) + (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (id 0) (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 -1.27) + (xy 1.27 -1.27) + (xy 0 -2.54) + (xy -1.27 -1.27) + (xy 0 -1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "GND_1_1" + (pin power_in line (at 0 0 270) (length 0) hide + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "warning-project-rescue:74LVC1G126" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at -2.54 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LVC1G126" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT* SG-*" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LVC1G126_0_1" + (polyline + (pts + (xy -3.81 2.54) + (xy -3.81 -2.54) + (xy 2.54 0) + (xy -3.81 2.54) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "74LVC1G126_1_1" + (pin input line (at 0 5.08 270) (length 3.937) + (name "~" (effects (font (size 1.016 1.016)))) + (number "1" (effects (font (size 1.016 1.016)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.016 1.016)))) + (number "2" (effects (font (size 1.016 1.016)))) + ) + (pin power_in line (at 1.27 -1.27 270) (length 0) hide + (name "GND" (effects (font (size 1.016 1.016)))) + (number "3" (effects (font (size 1.016 1.016)))) + ) + (pin tri_state line (at 6.35 0 180) (length 3.81) + (name "~" (effects (font (size 1.016 1.016)))) + (number "4" (effects (font (size 1.016 1.016)))) + ) + (pin power_in line (at 1.27 1.27 90) (length 0) hide + (name "VCC" (effects (font (size 1.016 1.016)))) + (number "5" (effects (font (size 1.016 1.016)))) + ) + ) + ) + (symbol "warning-project-rescue:C-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "C" (id 0) (at 0 1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "C-passive" (id 1) (at 0 -1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (symbol "C-passive_0_1" + (polyline + (pts + (xy -0.635 0) + (xy -1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -0.635 0) + (xy -0.381 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -0.254 0.381) + (xy -0.254 -0.381) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0.254 0.381) + (xy 0.254 -0.381) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0.635 0) + (xy 0.254 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 0) + (xy 0.635 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "C-passive_1_1" + (pin passive line (at -1.27 0 0) (length 0) + (name "1" (effects (font (size 0.635 0.635)))) + (number "1" (effects (font (size 0.635 0.635)))) + ) + (pin passive line (at 1.27 0 0) (length 0) + (name "2" (effects (font (size 0.635 0.635)))) + (number "2" (effects (font (size 0.635 0.635)))) + ) + ) + ) + (symbol "warning-project-rescue:R-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "R" (id 0) (at 0 1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "R-passive" (id 1) (at 0 -1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (symbol "R-passive_0_1" + (polyline + (pts + (xy -0.635 0) + (xy -1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 0) + (xy 0.635 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start 0.635 0.254) (end -0.635 -0.254) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + (symbol "R-passive_1_1" + (pin passive line (at -1.27 0 0) (length 0) + (name "1" (effects (font (size 0.635 0.635)))) + (number "1" (effects (font (size 0.635 0.635)))) + ) + (pin passive line (at 1.27 0 0) (length 0) + (name "2" (effects (font (size 0.635 0.635)))) + (number "2" (effects (font (size 0.635 0.635)))) + ) + ) + ) + ) + + + + (wire (pts (xy 166.624 96.012) (xy 167.894 96.012)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 0755aee5-bc01-4cb5-b830-583289df50a3) + ) + (wire (pts (xy 167.894 96.012) (xy 167.894 98.298)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 12b351f9-6591-4abc-b4c0-05a9ef03306e) + ) + (wire (pts (xy 132.334 96.012) (xy 132.334 98.552)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 68877d35-b796-44db-9124-b8e744e7412e) + ) + (wire (pts (xy 138.43 70.866) (xy 134.874 70.866)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 6d26d68f-1ca7-4ff3-b058-272f1c399047) + ) + (wire (pts (xy 141.224 86.36) (xy 141.224 90.932)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 70e15522-1572-4451-9c0d-6d36ac70d8c6) + ) + (wire (pts (xy 144.78 73.914) (xy 144.78 76.2)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 7599133e-c681-4202-85d9-c20dac196c64) + ) + (wire (pts (xy 134.62 88.9) (xy 134.62 86.36)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 911bdcbe-493f-4e21-a506-7cbc636e2c17) + ) + (wire (pts (xy 151.384 96.012) (xy 147.574 96.012)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 9f32a78e-0b59-4846-9068-4909840a34ae) + ) + (wire (pts (xy 134.62 86.36) (xy 141.224 86.36)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 9f8381e9-3077-4453-a480-a01ad9c1a940) + ) + (wire (pts (xy 133.604 96.012) (xy 132.334 96.012)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid b96fe6ac-3535-4455-ab88-ed77f5e46d6e) + ) + (wire (pts (xy 140.97 70.866) (xy 144.78 70.866)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid d3d7e298-1d39-4294-a3ab-c84cc0dc5e5a) + ) + (wire (pts (xy 144.78 70.866) (xy 144.78 71.374)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid dde51ae5-b215-445e-92bb-4a12ec410531) + ) + + (hierarchical_label "VCC" (shape input) (at 134.874 70.866 180) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid ec31c074-17b2-48e1-ab01-071acad3fa04) + ) + + (symbol (lib_id "warning-project-rescue:R-passive") (at 139.7 70.866 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca75c86) + (property "Reference" "R1" (id 0) (at 139.4968 66.8528 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "R" (id 1) (at 139.4968 68.7832 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "Resistor_SMD:R_0402_1005Metric" (id 2) (at 139.7 70.866 0) + (effects (font (size 1.524 1.524)) hide) + ) + (property "Datasheet" "" (id 3) (at 139.7 70.866 0) + (effects (font (size 1.524 1.524))) + ) + (pin "1" (uuid a6b7df29-bcf8-46a9-b623-7eaac47f5110)) + (pin "2" (uuid a9b3f6e4-7a6d-4ae8-ad28-3d8458e0ca1a)) + ) + + (symbol (lib_id "warning-project-rescue:C-passive") (at 144.78 72.644 270) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca76352) + (property "Reference" "C2" (id 0) (at 145.8976 71.4756 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Value" "C" (id 1) (at 145.8976 73.406 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (id 2) (at 144.78 72.644 0) + (effects (font (size 1.524 1.524)) hide) + ) + (property "Datasheet" "" (id 3) (at 144.78 72.644 0) + (effects (font (size 1.524 1.524))) + ) + (pin "1" (uuid 9193c41e-d425-447d-b95c-6986d66ea01c)) + (pin "2" (uuid 27d56953-c620-4d5b-9c1c-e48bc3d9684a)) + ) + + (symbol (lib_id "power:GND") (at 144.78 76.2 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca77789) + (property "Reference" "#PWR03" (id 0) (at 144.78 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 144.907 80.5942 0)) + (property "Footprint" "" (id 2) (at 144.78 76.2 0)) + (property "Datasheet" "" (id 3) (at 144.78 76.2 0)) + (pin "1" (uuid 5cf2db29-f7ab-499a-9907-cdeba64bf0f3)) + ) + + (symbol (lib_id "power:GND") (at 134.62 88.9 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 14e1cf09-3ac8-4563-9bd2-f32f0f92fcaa) + (property "Reference" "#PWR05" (id 0) (at 134.62 95.25 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 134.747 93.2942 0)) + (property "Footprint" "" (id 2) (at 134.62 88.9 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 134.62 88.9 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid c9667181-b3c7-4b01-b8b4-baa29a9aea63)) + ) + + (symbol (lib_id "power:GND") (at 132.334 98.552 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 1ed5ca78-d751-47e9-b748-b057e90ebba6) + (property "Reference" "#PWR04" (id 0) (at 132.334 104.902 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 132.461 102.9462 0)) + (property "Footprint" "" (id 2) (at 132.334 98.552 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 132.334 98.552 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 0ce8d3ab-2662-4158-8a2a-18b782908fc5)) + ) + + (symbol (lib_id "74xx:74LS04") (at 159.004 96.012 180) (unit 4) + (in_bom yes) (on_board yes) + (uuid 30e3447e-b729-4837-89d0-2726c444382d) + (property "Reference" "U2" (id 0) (at 159.004 87.9602 0)) + (property "Value" "74LS04" (id 1) (at 159.004 90.2716 0)) + (property "Footprint" "" (id 2) (at 159.004 96.012 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (id 3) (at 159.004 96.012 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "8" (uuid c701ee8e-1214-4781-a973-17bef7b6e3eb)) + (pin "9" (uuid 5b34a16c-5a14-4291-8242-ea6d6ac54372)) + ) + + (symbol (lib_id "warning-project-rescue:74LVC1G126") (at 141.224 96.012 0) (unit 1) + (in_bom yes) (on_board yes) (fields_autoplaced) + (uuid d932e413-55ae-457b-a959-bad83c84d724) + (property "Reference" "U1" (id 0) (at 140.589 100.7015 0)) + (property "Value" "74LVC1G126" (id 1) (at 140.589 103.4766 0)) + (property "Footprint" "" (id 2) (at 141.224 96.012 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 141.224 96.012 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 6dcb6b48-87fc-45e5-b5d2-2e548601fab8)) + (pin "2" (uuid 8d495700-c675-4080-b7a2-5c90d83d311f)) + (pin "3" (uuid 6dbeb271-70cf-48a4-af15-4f29601b6b93)) + (pin "4" (uuid 221716b4-71b4-492e-a69e-458b8376bbcc)) + (pin "5" (uuid 1bc22e41-50b0-4676-86e9-a264ed264ea5)) + ) + + (symbol (lib_id "power:GND") (at 167.894 98.298 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid f79600f0-8aca-4c42-bd73-ad5321120380) + (property "Reference" "#PWR0102" (id 0) (at 167.894 104.648 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 168.021 102.6922 0)) + (property "Footprint" "" (id 2) (at 167.894 98.298 0)) + (property "Datasheet" "" (id 3) (at 167.894 98.298 0)) + (pin "1" (uuid 993ff105-4d18-4c9e-91c5-e8c562468585)) + ) +) diff --git a/tests/board_samples/kicad_6/erc_warning/power.kicad_sch b/tests/board_samples/kicad_6/erc_warning/power.kicad_sch new file mode 100644 index 00000000..caac30df --- /dev/null +++ b/tests/board_samples/kicad_6/erc_warning/power.kicad_sch @@ -0,0 +1,403 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid fb03d859-dcc9-4533-b352-64830e0e5423) + + (paper "A4") + + (lib_symbols + (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (id 0) (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 -1.27) + (xy 1.27 -1.27) + (xy 0 -2.54) + (xy -1.27 -1.27) + (xy 0 -1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "GND_1_1" + (pin power_in line (at 0 0 270) (length 0) hide + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes) + (property "Reference" "#FLG" (id 0) (at 0 1.905 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Special symbol for telling ERC where power comes from" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "PWR_FLAG_0_0" + (pin power_out line (at 0 0 90) (length 0) + (name "pwr" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "PWR_FLAG_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 1.27) + (xy -1.016 1.905) + (xy 0 2.54) + (xy 1.016 1.905) + (xy 0 1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + ) + (symbol "power:VCC" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (id 0) (at 0 -3.81 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (id 1) (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Power symbol creates a global label with name \"VCC\"" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "VCC_0_1" + (polyline + (pts + (xy -0.762 1.27) + (xy 0 2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0 0) + (xy 0 2.54) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0 2.54) + (xy 0.762 1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "VCC_1_1" + (pin power_in line (at 0 0 90) (length 0) hide + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "warning-project-rescue:C-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "C" (id 0) (at 0 1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "C-passive" (id 1) (at 0 -1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (symbol "C-passive_0_1" + (polyline + (pts + (xy -0.635 0) + (xy -1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -0.635 0) + (xy -0.381 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -0.254 0.381) + (xy -0.254 -0.381) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0.254 0.381) + (xy 0.254 -0.381) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0.635 0) + (xy 0.254 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 0) + (xy 0.635 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "C-passive_1_1" + (pin passive line (at -1.27 0 0) (length 0) + (name "1" (effects (font (size 0.635 0.635)))) + (number "1" (effects (font (size 0.635 0.635)))) + ) + (pin passive line (at 1.27 0 0) (length 0) + (name "2" (effects (font (size 0.635 0.635)))) + (number "2" (effects (font (size 0.635 0.635)))) + ) + ) + ) + (symbol "warning-project-rescue:CONN_01X02-conn" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "P" (id 0) (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "CONN_01X02-conn" (id 1) (at 2.54 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_fp_filters" "Pin_Header_Straight_1X02 Pin_Header_Angled_1X02 Socket_Strip_Straight_1X02 Socket_Strip_Angled_1X02" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "CONN_01X02-conn_0_1" + (rectangle (start -1.27 -1.143) (end 0.254 -1.397) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start -1.27 1.397) (end 0.254 1.143) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start -1.27 2.54) (end 1.27 -2.54) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "CONN_01X02-conn_1_1" + (pin passive line (at -5.08 1.27 0) (length 3.81) + (name "P1" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -5.08 -1.27 0) (length 3.81) + (name "P2" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + (junction (at 125.476 90.424) (diameter 1.016) (color 0 0 0 0) + (uuid 3172f2e2-18d2-4a80-ae30-5707b3409798) + ) + (junction (at 132.334 90.424) (diameter 1.016) (color 0 0 0 0) + (uuid 712d6a7d-2b62-464f-b745-fd2a6b0187f6) + ) + (junction (at 138.43 90.424) (diameter 1.016) (color 0 0 0 0) + (uuid b3d08afa-f296-4e3b-8825-73b6331d35bf) + ) + (junction (at 123.19 92.964) (diameter 1.016) (color 0 0 0 0) + (uuid c801d42e-dd94-493e-bd2f-6c3ddad43f55) + ) + + (wire (pts (xy 125.476 89.408) (xy 125.476 90.424)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 03d88a85-11fd-47aa-954c-c318bb15294a) + ) + (wire (pts (xy 132.334 90.424) (xy 138.43 90.424)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 0dcdf1b8-13c6-48b4-bd94-5d26038ff231) + ) + (wire (pts (xy 125.476 90.424) (xy 132.334 90.424)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 1a2f72d1-0b36-4610-afc4-4ad1660d5d3b) + ) + (wire (pts (xy 123.19 92.964) (xy 132.334 92.964)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 51c4dc0a-5b9f-4edf-a83f-4a12881e42ef) + ) + (wire (pts (xy 138.43 90.424) (xy 142.748 90.424)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 58dc14f9-c158-4824-a84e-24a6a482a7a4) + ) + (wire (pts (xy 115.57 92.964) (xy 123.19 92.964)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 842e430f-0c35-45f3-a0b5-95ae7b7ae388) + ) + (wire (pts (xy 115.57 90.424) (xy 125.476 90.424)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid 98e81e80-1f85-4152-be3f-99785ea97751) + ) + (wire (pts (xy 132.334 92.964) (xy 132.334 95.504)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid dde3dba8-1b81-466c-93a3-c284ff4da1ef) + ) + + (hierarchical_label "VCC" (shape output) (at 142.748 90.424 0) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid f976e2cc-36f9-4479-a816-2c74d1d5da6f) + ) + + (symbol (lib_id "warning-project-rescue:CONN_01X02-conn") (at 110.49 91.694 180) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca714f2) + (property "Reference" "P1" (id 0) (at 112.5982 84.709 0)) + (property "Value" "CONN_01X02" (id 1) (at 112.5982 87.0204 0)) + (property "Footprint" "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical" (id 2) (at 110.49 91.694 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 110.49 91.694 0)) + (pin "1" (uuid 704d6d51-bb34-4cbf-83d8-841e208048d8)) + (pin "2" (uuid 0eaa98f0-9565-4637-ace3-42a5231b07f7)) + ) + + (symbol (lib_id "power:VCC") (at 132.334 90.424 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca71fa4) + (property "Reference" "#PWR0101" (id 0) (at 132.334 94.234 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "VCC" (id 1) (at 132.7658 86.0298 0)) + (property "Footprint" "" (id 2) (at 132.334 90.424 0)) + (property "Datasheet" "" (id 3) (at 132.334 90.424 0)) + (pin "1" (uuid 54365317-1355-4216-bb75-829375abc4ec)) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 123.19 92.964 180) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca72902) + (property "Reference" "#FLG02" (id 0) (at 123.19 95.377 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 123.19 98.6282 0)) + (property "Footprint" "" (id 2) (at 123.19 92.964 0)) + (property "Datasheet" "" (id 3) (at 123.19 92.964 0)) + (pin "1" (uuid 127679a9-3981-4934-815e-896a4e3ff56e)) + ) + + (symbol (lib_id "power:GND") (at 132.334 95.504 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca73f58) + (property "Reference" "#PWR01" (id 0) (at 132.334 101.854 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 132.461 99.8982 0)) + (property "Footprint" "" (id 2) (at 132.334 95.504 0)) + (property "Datasheet" "" (id 3) (at 132.334 95.504 0)) + (pin "1" (uuid 5fc27c35-3e1c-4f96-817c-93b5570858a6)) + ) + + (symbol (lib_id "warning-project-rescue:C-passive") (at 138.43 91.694 270) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca745a6) + (property "Reference" "C1" (id 0) (at 139.5476 90.5256 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Value" "C" (id 1) (at 139.5476 92.456 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (id 2) (at 138.43 91.694 0) + (effects (font (size 1.524 1.524)) hide) + ) + (property "Datasheet" "" (id 3) (at 138.43 91.694 0) + (effects (font (size 1.524 1.524))) + ) + (pin "1" (uuid 1831fb37-1c5d-42c4-b898-151be6fca9dc)) + (pin "2" (uuid 0f22151c-f260-4674-b486-4710a2c42a55)) + ) + + (symbol (lib_id "power:GND") (at 138.43 92.964 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca755f5) + (property "Reference" "#PWR02" (id 0) (at 138.43 99.314 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 138.557 97.3582 0)) + (property "Footprint" "" (id 2) (at 138.43 92.964 0)) + (property "Datasheet" "" (id 3) (at 138.43 92.964 0)) + (pin "1" (uuid 03c52831-5dc5-43c5-a442-8d23643b46fb)) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 125.476 89.408 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 730f8822-2270-4bad-80bd-620f2d81aa41) + (property "Reference" "#FLG0101" (id 0) (at 125.476 87.503 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 125.476 85.0836 0)) + (property "Footprint" "" (id 2) (at 125.476 89.408 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 125.476 89.408 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 30f15357-ce1d-48b9-93dc-7d9b1b2aa048)) + ) +) diff --git a/tests/board_samples/kicad_6/erc_warning/sym-lib-table b/tests/board_samples/kicad_6/erc_warning/sym-lib-table new file mode 100644 index 00000000..8e2f8116 --- /dev/null +++ b/tests/board_samples/kicad_6/erc_warning/sym-lib-table @@ -0,0 +1,3 @@ +(sym_lib_table + (lib (name "warning-project-rescue")(type "KiCad")(uri "${KIPRJMOD}/warning-project-rescue.kicad_sym")(options "")(descr "")) +) diff --git a/tests/board_samples/kicad_6/erc_warning/warning-project-rescue.kicad_sym b/tests/board_samples/kicad_6/erc_warning/warning-project-rescue.kicad_sym new file mode 100644 index 00000000..0f32a973 --- /dev/null +++ b/tests/board_samples/kicad_6/erc_warning/warning-project-rescue.kicad_sym @@ -0,0 +1,282 @@ +(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor) + (symbol "74LVC1G126" (pin_names (offset 1.016)) (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at -2.54 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LVC1G126" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT* SG-*" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LVC1G126_0_1" + (polyline + (pts + (xy -3.81 2.54) + (xy -3.81 -2.54) + (xy 2.54 0) + (xy -3.81 2.54) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "74LVC1G126_1_1" + (pin input line (at 0 5.08 270) (length 3.937) + (name "~" (effects (font (size 1.016 1.016)))) + (number "1" (effects (font (size 1.016 1.016)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.016 1.016)))) + (number "2" (effects (font (size 1.016 1.016)))) + ) + (pin power_in line (at 1.27 -1.27 270) (length 0) hide + (name "GND" (effects (font (size 1.016 1.016)))) + (number "3" (effects (font (size 1.016 1.016)))) + ) + (pin tri_state line (at 6.35 0 180) (length 3.81) + (name "~" (effects (font (size 1.016 1.016)))) + (number "4" (effects (font (size 1.016 1.016)))) + ) + (pin power_in line (at 1.27 1.27 90) (length 0) hide + (name "VCC" (effects (font (size 1.016 1.016)))) + (number "5" (effects (font (size 1.016 1.016)))) + ) + ) + ) + (symbol "74AHC1G126" (extends "74LVC1G126") + (property "Reference" "U" (id 0) (at -2.54 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74AHC1G126" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT* SG-*" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + ) + (symbol "74AHCT1G126" (extends "74LVC1G126") + (property "Reference" "U" (id 0) (at -2.54 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74AHCT1G126" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT* SG-*" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + ) + (symbol "74AUC1G126" (extends "74LVC1G126") + (property "Reference" "U" (id 0) (at -2.54 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74AUC1G126" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT* SG-*" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + ) + (symbol "74AUP1G126" (extends "74LVC1G126") + (property "Reference" "U" (id 0) (at -2.54 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74AUP1G126" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "SOT* SG-*" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + ) + (symbol "C-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "C" (id 0) (at 0 1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "C-passive" (id 1) (at 0 -1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (symbol "C-passive_0_1" + (polyline + (pts + (xy -0.635 0) + (xy -1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -0.635 0) + (xy -0.381 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy -0.254 0.381) + (xy -0.254 -0.381) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0.254 0.381) + (xy 0.254 -0.381) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 0.635 0) + (xy 0.254 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 0) + (xy 0.635 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "C-passive_1_1" + (pin passive line (at -1.27 0 0) (length 0) + (name "1" (effects (font (size 0.635 0.635)))) + (number "1" (effects (font (size 0.635 0.635)))) + ) + (pin passive line (at 1.27 0 0) (length 0) + (name "2" (effects (font (size 0.635 0.635)))) + (number "2" (effects (font (size 0.635 0.635)))) + ) + ) + ) + (symbol "CONN_01X02-conn" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "P" (id 0) (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "CONN_01X02-conn" (id 1) (at 2.54 0 90) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_fp_filters" "Pin_Header_Straight_1X02 Pin_Header_Angled_1X02 Socket_Strip_Straight_1X02 Socket_Strip_Angled_1X02" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "CONN_01X02-conn_0_1" + (rectangle (start -1.27 -1.143) (end 0.254 -1.397) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start -1.27 1.397) (end 0.254 1.143) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start -1.27 2.54) (end 1.27 -2.54) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "CONN_01X02-conn_1_1" + (pin passive line (at -5.08 1.27 0) (length 3.81) + (name "P1" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin passive line (at -5.08 -1.27 0) (length 3.81) + (name "P2" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "R-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes) + (property "Reference" "R" (id 0) (at 0 1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "R-passive" (id 1) (at 0 -1.27 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.524 1.524))) + ) + (symbol "R-passive_0_1" + (polyline + (pts + (xy -0.635 0) + (xy -1.27 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (polyline + (pts + (xy 1.27 0) + (xy 0.635 0) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + (rectangle (start 0.635 0.254) (end -0.635 -0.254) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + (symbol "R-passive_1_1" + (pin passive line (at -1.27 0 0) (length 0) + (name "1" (effects (font (size 0.635 0.635)))) + (number "1" (effects (font (size 0.635 0.635)))) + ) + (pin passive line (at 1.27 0 0) (length 0) + (name "2" (effects (font (size 0.635 0.635)))) + (number "2" (effects (font (size 0.635 0.635)))) + ) + ) + ) +) diff --git a/tests/board_samples/kicad_6/erc_warning/warning-project.kicad_sch b/tests/board_samples/kicad_6/erc_warning/warning-project.kicad_sch new file mode 100644 index 00000000..c640a3e5 --- /dev/null +++ b/tests/board_samples/kicad_6/erc_warning/warning-project.kicad_sch @@ -0,0 +1,101 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid 87c78429-be2b-40ed-8d3b-56cb9666a56f) + + (paper "A4") + + (lib_symbols + ) + + + (wire (pts (xy 110.49 63.246) (xy 138.684 63.246)) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (uuid e83e0227-ac0f-4180-82bd-68d3a7b56476) + ) + + (sheet (at 81.788 54.356) (size 28.702 37.084) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (fill (color 0 0 0 0.0000)) + (uuid 00000000-0000-0000-0000-00005ca71704) + (property "Sheet name" "Power" (id 0) (at 81.788 53.7205 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheet file" "power.kicad_sch" (id 1) (at 81.788 91.9485 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "VCC" output (at 110.49 63.246 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 7e969d15-6cc0-4258-8b27-586608a21adb) + ) + ) + + (sheet (at 138.684 55.372) (size 31.242 36.322) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (fill (color 0 0 0 0.0000)) + (uuid 00000000-0000-0000-0000-00005ca75bc1) + (property "Sheet name" "logic" (id 0) (at 138.684 54.7365 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheet file" "logic.kicad_sch" (id 1) (at 138.684 92.2025 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "VCC" input (at 138.684 63.246 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 6ca3c38c-4e71-4202-b6c1-1b25f04a27ae) + ) + ) + + (sheet_instances + (path "/" (page "1")) + (path "/00000000-0000-0000-0000-00005ca71704" (page "2")) + (path "/00000000-0000-0000-0000-00005ca75bc1" (page "3")) + ) + + (symbol_instances + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca72902" + (reference "#FLG02") (unit 1) (value "PWR_FLAG") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/730f8822-2270-4bad-80bd-620f2d81aa41" + (reference "#FLG0101") (unit 1) (value "PWR_FLAG") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca73f58" + (reference "#PWR01") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca755f5" + (reference "#PWR02") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca77789" + (reference "#PWR03") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/1ed5ca78-d751-47e9-b748-b057e90ebba6" + (reference "#PWR04") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/14e1cf09-3ac8-4563-9bd2-f32f0f92fcaa" + (reference "#PWR05") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca71fa4" + (reference "#PWR0101") (unit 1) (value "VCC") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/f79600f0-8aca-4c42-bd73-ad5321120380" + (reference "#PWR0102") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca745a6" + (reference "C1") (unit 1) (value "C") (footprint "Capacitor_SMD:C_0402_1005Metric") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca76352" + (reference "C2") (unit 1) (value "C") (footprint "Capacitor_SMD:C_0402_1005Metric") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca714f2" + (reference "P1") (unit 1) (value "CONN_01X02") (footprint "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca75c86" + (reference "R1") (unit 1) (value "R") (footprint "Resistor_SMD:R_0402_1005Metric") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/d932e413-55ae-457b-a959-bad83c84d724" + (reference "U1") (unit 1) (value "74LVC1G126") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/30e3447e-b729-4837-89d0-2726c444382d" + (reference "U2") (unit 4) (value "74LS04") (footprint "") + ) + ) +) diff --git a/tests/board_samples/kicad_6/fail-erc.kicad_pcb b/tests/board_samples/kicad_6/fail-erc.kicad_pcb new file mode 100644 index 00000000..e69de29b diff --git a/tests/board_samples/kicad_6/fail-erc.kicad_sch b/tests/board_samples/kicad_6/fail-erc.kicad_sch new file mode 100644 index 00000000..0813f306 --- /dev/null +++ b/tests/board_samples/kicad_6/fail-erc.kicad_sch @@ -0,0 +1,101 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid e6521bef-4109-48f7-8b88-4121b0468927) + + (paper "A4") + + (lib_symbols + ) + + + (wire (pts (xy 110.49 63.246) (xy 138.684 63.246)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 0f3c9e3a-9c59-4881-b27a-d0e982b3ea8e) + ) + + (sheet (at 81.788 54.356) (size 28.702 37.084) (fields_autoplaced) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (fill (color 0 0 0 0.0000)) + (uuid 00000000-0000-0000-0000-00005ca71704) + (property "Sheet name" "Power" (id 0) (at 81.788 53.6444 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheet file" "power.kicad_sch" (id 1) (at 81.788 92.0246 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "VCC" output (at 110.49 63.246 0) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid edc9ab4f-487a-48dc-95f2-4d87f0e9cf9e) + ) + ) + + (sheet (at 138.684 55.372) (size 31.242 36.322) (fields_autoplaced) + (stroke (width 0) (type solid) (color 0 0 0 0)) + (fill (color 0 0 0 0.0000)) + (uuid 00000000-0000-0000-0000-00005ca75bc1) + (property "Sheet name" "logic" (id 0) (at 138.684 54.6604 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + ) + (property "Sheet file" "logic.kicad_sch" (id 1) (at 138.684 92.2786 0) + (effects (font (size 1.27 1.27)) (justify left top)) + ) + (pin "VCC" input (at 138.684 63.246 180) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid bbb15673-6d42-42b8-9d51-7515b3ad9ee9) + ) + ) + + (sheet_instances + (path "/" (page "1")) + (path "/00000000-0000-0000-0000-00005ca71704" (page "2")) + (path "/00000000-0000-0000-0000-00005ca75bc1" (page "3")) + ) + + (symbol_instances + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca71c3c" + (reference "#FLG01") (unit 1) (value "PWR_FLAG") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca72902" + (reference "#FLG02") (unit 1) (value "PWR_FLAG") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca73f58" + (reference "#PWR01") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca755f5" + (reference "#PWR02") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca77789" + (reference "#PWR03") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ead967d" + (reference "#PWR04") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ead892d" + (reference "#PWR05") (unit 1) (value "GND") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca745a6" + (reference "C1") (unit 1) (value "C") (footprint "Capacitor_SMD:C_0402_1005Metric") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca76352" + (reference "C2") (unit 1) (value "C") (footprint "Capacitor_SMD:C_0402_1005Metric") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca7214e" + (reference "C3") (unit 1) (value "CP") (footprint "Capacitor_SMD:CP_Elec_3x5.3") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca735b9" + (reference "C4") (unit 1) (value "CP") (footprint "Capacitor_SMD:CP_Elec_3x5.3") + ) + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca714f2" + (reference "P1") (unit 1) (value "CONN_01X02") (footprint "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca75c86" + (reference "R1") (unit 1) (value "R") (footprint "Resistor_SMD:R_0402_1005Metric") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ead683a" + (reference "U1") (unit 1) (value "74LS04") (footprint "") + ) + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ead766b" + (reference "U1") (unit 2) (value "74LS04") (footprint "") + ) + ) +) diff --git a/tests/board_samples/kicad_6/logic.kicad_sch b/tests/board_samples/kicad_6/logic.kicad_sch new file mode 100644 index 00000000..619be139 --- /dev/null +++ b/tests/board_samples/kicad_6/logic.kicad_sch @@ -0,0 +1,429 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid ec9e24d8-d1c5-40e2-9812-dc315d05f470) + + (paper "A4") + + (lib_symbols + (symbol "74xx:74LS04" (in_bom yes) (on_board yes) + (property "Reference" "U" (id 0) (at 0 1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Value" "74LS04" (id 1) (at 0 -1.27 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_locked" "" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27))) + ) + (property "ki_keywords" "TTL not inv" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Hex Inverter" (id 6) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_fp_filters" "DIP*W7.62mm* SSOP?14* TSSOP?14*" (id 7) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "74LS04_1_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "2" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_2_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "3" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "4" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_3_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "5" (effects (font (size 1.27 1.27)))) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "6" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_4_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "8" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "9" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_5_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "10" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "11" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_6_0" + (polyline + (pts + (xy -3.81 3.81) + (xy -3.81 -3.81) + (xy 3.81 0) + (xy -3.81 3.81) + ) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + (pin output inverted (at 7.62 0 180) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "12" (effects (font (size 1.27 1.27)))) + ) + (pin input line (at -7.62 0 0) (length 3.81) + (name "~" (effects (font (size 1.27 1.27)))) + (number "13" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_7_0" + (pin power_in line (at 0 12.7 270) (length 5.08) + (name "VCC" (effects (font (size 1.27 1.27)))) + (number "14" (effects (font (size 1.27 1.27)))) + ) + (pin power_in line (at 0 -12.7 90) (length 5.08) + (name "GND" (effects (font (size 1.27 1.27)))) + (number "7" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "74LS04_7_1" + (rectangle (start -5.08 7.62) (end 5.08 -7.62) + (stroke (width 0.254) (type default) (color 0 0 0 0)) + (fill (type background)) + ) + ) + ) + (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (id 0) (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 -1.27) + (xy 1.27 -1.27) + (xy 0 -2.54) + (xy -1.27 -1.27) + (xy 0 -1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "GND_1_1" + (pin power_in line (at 0 0 270) (length 0) hide + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + ) + + + (wire (pts (xy 160.528 61.976) (xy 160.528 64.262)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 0088d107-13d8-496c-8da6-7bbeb9d096b0) + ) + (wire (pts (xy 187.96 82.55) (xy 187.96 85.09)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 13475e15-f37c-4de8-857e-1722b0c39513) + ) + (wire (pts (xy 140.97 70.866) (xy 144.78 70.866)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2bf3f24b-fd30-41a7-a274-9b519491916b) + ) + (wire (pts (xy 155.194 64.262) (xy 155.194 61.976)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 417f13e4-c121-485a-a6b5-8b55e70350b8) + ) + (wire (pts (xy 144.78 70.866) (xy 144.78 71.374)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 4831966c-bb32-4bc8-a400-0382a02ffa1c) + ) + (wire (pts (xy 153.67 82.55) (xy 152.4 82.55)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 58dc14f9-c158-4824-a84e-24a6a482a7a4) + ) + (wire (pts (xy 155.194 69.088) (xy 155.194 66.802)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 67621f9e-0a6a-4778-ad69-04dcf300659c) + ) + (wire (pts (xy 160.528 69.088) (xy 155.194 69.088)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 68e09be7-3bbc-4443-a838-209ce20b2bef) + ) + (wire (pts (xy 160.528 66.802) (xy 160.528 69.088)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 6a780180-586a-4241-a52d-dc7a5ffcc966) + ) + (wire (pts (xy 138.43 70.866) (xy 134.874 70.866)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 75286985-9fa5-4d30-89c5-493b6e63cd66) + ) + (wire (pts (xy 186.69 82.55) (xy 187.96 82.55)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid b635b16e-60bb-4b3e-9fc3-47d34eef8381) + ) + (wire (pts (xy 155.194 61.976) (xy 160.528 61.976)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid c201e1b2-fc01-4110-bdaa-a33290468c83) + ) + (wire (pts (xy 168.91 82.55) (xy 171.45 82.55)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid dde3dba8-1b81-466c-93a3-c284ff4da1ef) + ) + (wire (pts (xy 144.78 73.914) (xy 144.78 76.2)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid e25ce415-914a-48fe-bf09-324317917b2e) + ) + (wire (pts (xy 152.4 82.55) (xy 152.4 85.09)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid f976e2cc-36f9-4479-a816-2c74d1d5da6f) + ) + + (text "Output to Output: ERC error" (at 156.21 90.17 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid 128e34ce-eee7-477d-b905-a493e98db783) + ) + (text "No driver ERC warning" (at 147.32 60.96 0) + (effects (font (size 1.27 1.27)) (justify left bottom)) + (uuid c70d9ef3-bfeb-47e0-a1e1-9aeba3da7864) + ) + + (hierarchical_label "VCC" (shape input) (at 134.874 70.866 180) + (effects (font (size 1.27 1.27)) (justify right)) + (uuid 0867287d-2e6a-4d69-a366-c29f88198f2b) + ) + + (symbol (lib_id "fail-project-rescue:CP-passive") (at 155.194 65.532 270) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca7214e) + (property "Reference" "C3" (id 0) (at 156.6672 64.3636 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Value" "CP" (id 1) (at 156.6672 66.294 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Footprint" "Capacitor_SMD:CP_Elec_3x5.3" (id 2) (at 156.6672 67.2592 90) + (effects (font (size 1.524 1.524)) (justify left) hide) + ) + (property "Datasheet" "" (id 3) (at 155.194 65.532 0) + (effects (font (size 1.524 1.524))) + ) + ) + + (symbol (lib_id "fail-project-rescue:CP-passive") (at 160.528 65.532 270) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca735b9) + (property "Reference" "C4" (id 0) (at 162.0012 64.3636 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Value" "CP" (id 1) (at 162.0012 66.294 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Footprint" "Capacitor_SMD:CP_Elec_3x5.3" (id 2) (at 162.0012 67.2592 90) + (effects (font (size 1.524 1.524)) (justify left) hide) + ) + (property "Datasheet" "" (id 3) (at 160.528 65.532 0) + (effects (font (size 1.524 1.524))) + ) + ) + + (symbol (lib_id "fail-project-rescue:R-passive") (at 139.7 70.866 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca75c86) + (property "Reference" "R1" (id 0) (at 139.4968 66.8528 0) + (effects (font (size 1.016 1.016))) + ) + (property "Value" "R" (id 1) (at 139.4968 68.7832 0) + (effects (font (size 1.016 1.016))) + ) + (property "Footprint" "Resistor_SMD:R_0402_1005Metric" (id 2) (at 139.7 70.866 0) + (effects (font (size 1.524 1.524)) hide) + ) + (property "Datasheet" "" (id 3) (at 139.7 70.866 0) + (effects (font (size 1.524 1.524))) + ) + ) + + (symbol (lib_id "fail-project-rescue:C-passive") (at 144.78 72.644 270) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca76352) + (property "Reference" "C2" (id 0) (at 145.8976 71.4756 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Value" "C" (id 1) (at 145.8976 73.406 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (id 2) (at 144.78 72.644 0) + (effects (font (size 1.524 1.524)) hide) + ) + (property "Datasheet" "" (id 3) (at 144.78 72.644 0) + (effects (font (size 1.524 1.524))) + ) + ) + + (symbol (lib_id "power:GND") (at 144.78 76.2 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca77789) + (property "Reference" "#PWR03" (id 0) (at 144.78 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 144.907 80.5942 0)) + (property "Footprint" "" (id 2) (at 144.78 76.2 0)) + (property "Datasheet" "" (id 3) (at 144.78 76.2 0)) + (pin "1" (uuid 77f01482-1a0d-408c-a0b8-f389b6fedc82)) + ) + + (symbol (lib_id "74xx:74LS04") (at 161.29 82.55 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ead683a) + (property "Reference" "U1" (id 0) (at 161.29 74.4982 0)) + (property "Value" "74LS04" (id 1) (at 161.29 76.8096 0)) + (property "Footprint" "" (id 2) (at 161.29 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (id 3) (at 161.29 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid d0da5fea-7bb8-466a-808d-a285a956d318)) + (pin "2" (uuid 3a9c4d0d-b8e3-4e3b-8868-df708ade9fd9)) + ) + + (symbol (lib_id "74xx:74LS04") (at 179.07 82.55 180) (unit 2) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ead766b) + (property "Reference" "U1" (id 0) (at 179.07 74.4982 0)) + (property "Value" "74LS04" (id 1) (at 179.07 76.8096 0)) + (property "Footprint" "" (id 2) (at 179.07 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (id 3) (at 179.07 82.55 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "3" (uuid ae113a97-dd90-42bf-96ea-bb92e7431ac6)) + (pin "4" (uuid 38f1f681-d503-49fe-ab87-4225bebb7b32)) + ) + + (symbol (lib_id "power:GND") (at 187.96 85.09 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ead892d) + (property "Reference" "#PWR05" (id 0) (at 187.96 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 188.087 89.4842 0)) + (property "Footprint" "" (id 2) (at 187.96 85.09 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 187.96 85.09 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 2498638f-f5bc-47e0-a9d3-49191018a41a)) + ) + + (symbol (lib_id "power:GND") (at 152.4 85.09 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ead967d) + (property "Reference" "#PWR04" (id 0) (at 152.4 91.44 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 152.527 89.4842 0)) + (property "Footprint" "" (id 2) (at 152.4 85.09 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 152.4 85.09 0) + (effects (font (size 1.27 1.27)) hide) + ) + (pin "1" (uuid 5821604d-5ceb-420a-b7e4-ba8f3233a4b7)) + ) +) diff --git a/tests/board_samples/kicad_6/power.kicad_sch b/tests/board_samples/kicad_6/power.kicad_sch new file mode 100644 index 00000000..185fcdf7 --- /dev/null +++ b/tests/board_samples/kicad_6/power.kicad_sch @@ -0,0 +1,198 @@ +(kicad_sch (version 20211123) (generator eeschema) + + (uuid 46cfd089-6873-4d8b-89af-02ff30e49472) + + (paper "A4") + + (lib_symbols + (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes) + (property "Reference" "#PWR" (id 0) (at 0 -6.35 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 0 -3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Power symbol creates a global label with name \"GND\" , ground" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 -1.27) + (xy 1.27 -1.27) + (xy 0 -2.54) + (xy -1.27 -1.27) + (xy 0 -1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + (symbol "GND_1_1" + (pin power_in line (at 0 0 270) (length 0) hide + (name "GND" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + ) + (symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes) + (property "Reference" "#FLG" (id 0) (at 0 1.905 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 0 3.81 0) + (effects (font (size 1.27 1.27))) + ) + (property "Footprint" "" (id 2) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "~" (id 3) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_keywords" "power-flag" (id 4) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "ki_description" "Special symbol for telling ERC where power comes from" (id 5) (at 0 0 0) + (effects (font (size 1.27 1.27)) hide) + ) + (symbol "PWR_FLAG_0_0" + (pin power_out line (at 0 0 90) (length 0) + (name "pwr" (effects (font (size 1.27 1.27)))) + (number "1" (effects (font (size 1.27 1.27)))) + ) + ) + (symbol "PWR_FLAG_0_1" + (polyline + (pts + (xy 0 0) + (xy 0 1.27) + (xy -1.016 1.905) + (xy 0 2.54) + (xy 1.016 1.905) + (xy 0 1.27) + ) + (stroke (width 0) (type default) (color 0 0 0 0)) + (fill (type none)) + ) + ) + ) + ) + + (junction (at 123.19 92.964) (diameter 0) (color 0 0 0 0) + (uuid cbc539d2-6a10-4052-9b7a-f10326dcac67) + ) + (junction (at 123.19 90.424) (diameter 0) (color 0 0 0 0) + (uuid f144a97d-c3f0-423f-b0a9-3f7dbc42478b) + ) + + (wire (pts (xy 115.57 92.964) (xy 123.19 92.964)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 213a2af1-412b-47f4-ab3b-c5f43b6be7a6) + ) + (wire (pts (xy 115.57 90.424) (xy 123.19 90.424)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 2d6718e7-f18d-444d-9792-ddf1a113460c) + ) + (wire (pts (xy 132.334 92.964) (xy 132.334 95.504)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid 43891a3c-749f-498d-ba99-685a27689b0d) + ) + (wire (pts (xy 123.19 90.424) (xy 142.748 90.424)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid b60c50d1-225e-415c-8712-7acb5e3dc8ea) + ) + (wire (pts (xy 123.19 92.964) (xy 132.334 92.964)) + (stroke (width 0) (type default) (color 0 0 0 0)) + (uuid d2de4093-1fc2-4bc1-94b6-4d0fe3426c6f) + ) + + (hierarchical_label "VCC" (shape output) (at 142.748 90.424 0) + (effects (font (size 1.27 1.27)) (justify left)) + (uuid 55992e35-fe7b-468a-9b7a-1e4dc931b904) + ) + + (symbol (lib_id "fail-project-rescue:CONN_01X02-conn") (at 110.49 91.694 180) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca714f2) + (property "Reference" "P1" (id 0) (at 112.5982 84.709 0)) + (property "Value" "CONN_01X02" (id 1) (at 112.5982 87.0204 0)) + (property "Footprint" "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical" (id 2) (at 110.49 91.694 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Datasheet" "" (id 3) (at 110.49 91.694 0)) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 123.19 90.424 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca71c3c) + (property "Reference" "#FLG01" (id 0) (at 123.19 88.011 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 123.19 84.7598 0)) + (property "Footprint" "" (id 2) (at 123.19 90.424 0)) + (property "Datasheet" "" (id 3) (at 123.19 90.424 0)) + (pin "1" (uuid b4d5ac25-a764-4661-8e59-75c6a5d8b7e8)) + ) + + (symbol (lib_id "power:PWR_FLAG") (at 123.19 92.964 180) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca72902) + (property "Reference" "#FLG02" (id 0) (at 123.19 95.377 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "PWR_FLAG" (id 1) (at 123.19 98.6282 0)) + (property "Footprint" "" (id 2) (at 123.19 92.964 0)) + (property "Datasheet" "" (id 3) (at 123.19 92.964 0)) + (pin "1" (uuid 2621aeaa-9788-4950-9c8a-57743e174960)) + ) + + (symbol (lib_id "power:GND") (at 132.334 95.504 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca73f58) + (property "Reference" "#PWR01" (id 0) (at 132.334 101.854 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 132.461 99.8982 0)) + (property "Footprint" "" (id 2) (at 132.334 95.504 0)) + (property "Datasheet" "" (id 3) (at 132.334 95.504 0)) + (pin "1" (uuid 35318ab5-9d7c-4bdd-a72a-c62185738587)) + ) + + (symbol (lib_id "fail-project-rescue:C-passive") (at 138.43 91.694 270) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca745a6) + (property "Reference" "C1" (id 0) (at 139.5476 90.5256 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Value" "C" (id 1) (at 139.5476 92.456 90) + (effects (font (size 1.016 1.016)) (justify left)) + ) + (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (id 2) (at 138.43 91.694 0) + (effects (font (size 1.524 1.524)) hide) + ) + (property "Datasheet" "" (id 3) (at 138.43 91.694 0) + (effects (font (size 1.524 1.524))) + ) + ) + + (symbol (lib_id "power:GND") (at 138.43 92.964 0) (unit 1) + (in_bom yes) (on_board yes) + (uuid 00000000-0000-0000-0000-00005ca755f5) + (property "Reference" "#PWR02" (id 0) (at 138.43 99.314 0) + (effects (font (size 1.27 1.27)) hide) + ) + (property "Value" "GND" (id 1) (at 138.557 97.3582 0)) + (property "Footprint" "" (id 2) (at 138.43 92.964 0)) + (property "Datasheet" "" (id 3) (at 138.43 92.964 0)) + (pin "1" (uuid 55b6b040-a746-4424-a5b4-1f45a1d15120)) + ) +) diff --git a/tests/board_samples/kicad_6/warning-project.kicad_pcb b/tests/board_samples/kicad_6/warning-project.kicad_pcb new file mode 100644 index 00000000..0058cad6 --- /dev/null +++ b/tests/board_samples/kicad_6/warning-project.kicad_pcb @@ -0,0 +1,256 @@ +(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) + ) + + (setup + (pad_to_mask_clearance 0.051) + (solder_mask_min_width 0.25) + (pcbplotparams + (layerselection 0x00010fc_ffffffff) + (disableapertmacros false) + (usegerberextensions false) + (usegerberattributes false) + (usegerberadvancedattributes false) + (creategerberjobfile false) + (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-(C2-Pad1)") + (net 3 "VCC") + + (footprint "Capacitor_SMD:C_0402_1005Metric" (layer "F.Cu") + (tedit 5B301BBE) (tstamp 00000000-0000-0000-0000-00005ca72801) + (at 164.775001 80.505001 90) + (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator") + (tags "capacitor") + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca745a6") + (attr smd) + (fp_text reference "C1" (at 0 -1.17 90) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 1a2f72d1-0b36-4610-afc4-4ad1660d5d3b) + ) + (fp_text value "C" (at 0 1.17 90) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 0dcdf1b8-13c6-48b4-bd94-5d26038ff231) + ) + (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab") + (effects (font (size 0.25 0.25) (thickness 0.04))) + (tstamp 8d55e186-3e11-40e8-a65e-b36a8a00069e) + ) + (fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 120a7b0f-ddfd-4447-85c1-35665465acdb)) + (fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 13475e15-f37c-4de8-857e-1722b0c39513)) + (fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 2732632c-4768-42b6-bf7f-14643424019e)) + (fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 854dd5d4-5fd2-4730-bd49-a9cd8299a065)) + (fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 58dc14f9-c158-4824-a84e-24a6a482a7a4)) + (fp_line (start 0.5 0.25) (end -0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp b635b16e-60bb-4b3e-9fc3-47d34eef8381)) + (fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp dde3dba8-1b81-466c-93a3-c284ff4da1ef)) + (fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp f976e2cc-36f9-4479-a816-2c74d1d5da6f)) + (pad "1" smd roundrect locked (at -0.485 0 90) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) + (net 3 "VCC") (tstamp 48f827a8-6e22-4a2e-abdc-c2a03098d883)) + (pad "2" smd roundrect locked (at 0.485 0 90) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) + (net 1 "GND") (tstamp e877bf4a-4210-4bd3-b7b0-806eb4affc5b)) + (model "${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl" + (offset (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (footprint "Capacitor_SMD:C_0402_1005Metric" (layer "F.Cu") + (tedit 5B301BBE) (tstamp 00000000-0000-0000-0000-00005ca72810) + (at 170.18 80.020001 90) + (descr "Capacitor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator") + (tags "capacitor") + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca76352") + (attr smd) + (fp_text reference "C2" (at 0 -1.17 90) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 4e3d7c0d-12e3-42f2-b944-e4bcdbbcac2a) + ) + (fp_text value "C" (at 0 1.17 90) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp aa02e544-13f5-4cf8-a5f4-3e6cda006090) + ) + (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab") + (effects (font (size 0.25 0.25) (thickness 0.04))) + (tstamp 6a44418c-7bb4-4e99-8836-57f153c19721) + ) + (fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 0147f16a-c952-4891-8f53-a9fb8cddeb8d)) + (fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 0d0bb7b2-a6e5-46d2-9492-a1aa6e5a7b2f)) + (fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp d1262c4d-2245-4c4f-8f35-7bb32cd9e21e)) + (fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp d22e95aa-f3db-4fbc-a331-048a2523233e)) + (fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 15875808-74d5-4210-b8ca-aa8fbc04ae21)) + (fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp 81bbc3ff-3938-49ac-8297-ce2bcc9a42bd)) + (fp_line (start 0.5 0.25) (end -0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp b1169a2d-8998-4b50-a48d-c520bcc1b8e1)) + (fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp dd00c2e1-6027-4717-b312-4fab3ee52002)) + (pad "1" smd roundrect locked (at -0.485 0 90) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) + (net 2 "Net-(C2-Pad1)") (tstamp 8322f275-268c-4e87-a69f-4cfbf05e747f)) + (pad "2" smd roundrect locked (at 0.485 0 90) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) + (net 1 "GND") (tstamp 0a3cc030-c9dd-4d74-9d50-715ed2b361a2)) + (model "${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0402_1005Metric.wrl" + (offset (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (footprint "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical" (layer "F.Cu") + (tedit 61BE130E) (tstamp 00000000-0000-0000-0000-00005ca7282d) + (at 154.94 80.01) + (descr "JST JWPF series connector, B02B-JWPF-SK-R (http://www.jst-mfg.com/product/pdf/eng/eJWPF1.pdf), generated with kicad-footprint-generator") + (tags "connector JST JWPF side entry") + (path "/00000000-0000-0000-0000-00005ca71704/00000000-0000-0000-0000-00005ca714f2") + (attr through_hole) + (fp_text reference "P1" (at -1.35 -3.7) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 32667662-ae86-4904-b198-3e95f11851bf) + ) + (fp_text value "CONN_01X02" (at -1.35 5.7) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp a05d7640-f2f6-4ba7-8c51-5a4af431fc13) + ) + (fp_text user "${REFERENCE}" (at -4.7 1 90) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp e10b5627-3247-4c86-b9f6-ef474ca11543) + ) + (fp_line (start -5.75 -1.35) (end -5.75 -2.85) (layer "F.SilkS") (width 0.12) (tstamp 3f5fe6b7-98fc-4d3e-9567-f9f7202d1455)) + (fp_line (start 2.81 -1.61) (end 2.81 3.61) (layer "F.SilkS") (width 0.12) (tstamp 5cbb5968-dbb5-4b84-864a-ead1cacf75b9)) + (fp_line (start 1.81 -2.61) (end -5.51 -2.61) (layer "F.SilkS") (width 0.12) (tstamp 62c076a3-d618-44a2-9042-9a08b3576787)) + (fp_line (start -5.51 4.61) (end 1.81 4.61) (layer "F.SilkS") (width 0.12) (tstamp afb8e687-4a13-41a1-b8c0-89a749e897fe)) + (fp_line (start -5.75 -2.85) (end -4.25 -2.85) (layer "F.SilkS") (width 0.12) (tstamp bb7f0588-d4d8-44bf-9ebf-3c533fe4d6ae)) + (fp_line (start -5.51 -2.61) (end -5.51 4.61) (layer "F.SilkS") (width 0.12) (tstamp da469d11-a8a4-414b-9449-d151eeaf4853)) + (fp_arc (start 2.81 3.61) (mid 2.517107 4.317107) (end 1.81 4.61) (layer "F.SilkS") (width 0.12) (tstamp 46918595-4a45-48e8-84c0-961b4db7f35f)) + (fp_arc (start 1.81 -2.61) (mid 2.517107 -2.317107) (end 2.81 -1.61) (layer "F.SilkS") (width 0.12) (tstamp a795f1ba-cdd5-4cc5-9a52-08586e982934)) + (fp_line (start 3.2 5) (end 3.2 -3) (layer "F.CrtYd") (width 0.05) (tstamp 23bb2798-d93a-4696-a962-c305c4298a0c)) + (fp_line (start 3.2 -3) (end -5.9 -3) (layer "F.CrtYd") (width 0.05) (tstamp 78cbdd6c-4878-4cc5-9a58-0e506478e37d)) + (fp_line (start -5.9 5) (end 3.2 5) (layer "F.CrtYd") (width 0.05) (tstamp 94c158d1-8503-4553-b511-bf42f506c2a8)) + (fp_line (start -5.9 -3) (end -5.9 5) (layer "F.CrtYd") (width 0.05) (tstamp 9ccf03e8-755a-4cd9-96fc-30e1d08fa253)) + (fp_line (start 0.375 -1.9) (end 0 -1.15) (layer "F.Fab") (width 0.1) (tstamp 6a955fc7-39d9-4c75-9a69-676ca8c0b9b2)) + (fp_line (start 1.7 -2.5) (end -5.4 -2.5) (layer "F.Fab") (width 0.1) (tstamp 6e105729-aba0-497c-a99e-c32d2b3ddb6d)) + (fp_line (start -5.4 -2.5) (end -5.4 4.5) (layer "F.Fab") (width 0.1) (tstamp 983c426c-24e0-4c65-ab69-1f1824adc5c6)) + (fp_line (start -5.4 4.5) (end 1.7 4.5) (layer "F.Fab") (width 0.1) (tstamp c1d83899-e380-49f9-a87d-8e78bc089ebf)) + (fp_line (start 0 -1.15) (end -0.375 -1.9) (layer "F.Fab") (width 0.1) (tstamp e8314017-7be6-4011-9179-37449a29b311)) + (fp_line (start 2.7 -1.5) (end 2.7 3.5) (layer "F.Fab") (width 0.1) (tstamp e9bb29b2-2bb9-4ea2-acd9-2bb3ca677a12)) + (fp_line (start -0.375 -1.9) (end 0.375 -1.9) (layer "F.Fab") (width 0.1) (tstamp f1830a1b-f0cc-47ae-a2c9-679c82032f14)) + (fp_arc (start 1.7 -2.5) (mid 2.407107 -2.207107) (end 2.7 -1.5) (layer "F.Fab") (width 0.1) (tstamp 13abf99d-5265-4779-8973-e94370fd18ff)) + (fp_arc (start 2.7 3.5) (mid 2.407107 4.207107) (end 1.7 4.5) (layer "F.Fab") (width 0.1) (tstamp a7520ad3-0f8b-4788-92d4-8ffb277041e6)) + (pad "" np_thru_hole circle (at -1.5 3.556) (size 1.15 1.15) (drill 1.15) (layers *.Cu *.Mask) (tstamp 10109f84-4940-47f8-8640-91f185ac9bc1)) + (pad "1" thru_hole roundrect (at 0 0) (size 2 1.3) (drill 1) (layers *.Cu *.Mask) (roundrect_rratio 0.192308) + (net 1 "GND") (tstamp 746ba970-8279-4e7b-aed3-f28687777c21)) + (pad "2" thru_hole oval (at 0 2) (size 2 1.3) (drill 1) (layers *.Cu *.Mask) + (net 3 "VCC") (tstamp 71c31975-2c45-4d18-a25a-18e07a55d11e)) + (model "${KISYS3DMOD}/Connector_JST.3dshapes/JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical.wrl" + (offset (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (footprint "Resistor_SMD:R_0402_1005Metric" (layer "F.Cu") + (tedit 5B301BBD) (tstamp 00000000-0000-0000-0000-00005ca7283c) + (at 167.64 83.82) + (descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: http://www.tortai-tech.com/upload/download/2011102023233369053.pdf), generated with kicad-footprint-generator") + (tags "resistor") + (path "/00000000-0000-0000-0000-00005ca75bc1/00000000-0000-0000-0000-00005ca75c86") + (attr smd) + (fp_text reference "R1" (at 0 -1.17) (layer "F.SilkS") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp e615f7aa-337e-474d-9615-2ad82b1c44ca) + ) + (fp_text value "R" (at 0 1.17) (layer "F.Fab") + (effects (font (size 1 1) (thickness 0.15))) + (tstamp 4fb02e58-160a-4a39-9f22-d0c75e82ee72) + ) + (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab") + (effects (font (size 0.25 0.25) (thickness 0.04))) + (tstamp d8603679-3e7b-4337-8dbc-1827f5f54d8a) + ) + (fp_line (start 0.93 0.47) (end -0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp 1e1b062d-fad0-427c-a622-c5b8a80b5268)) + (fp_line (start -0.93 -0.47) (end 0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 3b838d52-596d-4e4d-a6ac-e4c8e7621137)) + (fp_line (start -0.93 0.47) (end -0.93 -0.47) (layer "F.CrtYd") (width 0.05) (tstamp 749dfe75-c0d6-4872-9330-29c5bbcb8ff8)) + (fp_line (start 0.93 -0.47) (end 0.93 0.47) (layer "F.CrtYd") (width 0.05) (tstamp cbdcaa78-3bbc-413f-91bf-2709119373ce)) + (fp_line (start -0.5 -0.25) (end 0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp 44d8279a-9cd1-4db6-856f-0363131605fc)) + (fp_line (start 0.5 0.25) (end -0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp 66116376-6967-4178-9f23-a26cdeafc400)) + (fp_line (start 0.5 -0.25) (end 0.5 0.25) (layer "F.Fab") (width 0.1) (tstamp eb667eea-300e-4ca7-8a6f-4b00de80cd45)) + (fp_line (start -0.5 0.25) (end -0.5 -0.25) (layer "F.Fab") (width 0.1) (tstamp ef8fe2ac-6a7f-4682-9418-b801a1b10a3b)) + (pad "1" smd roundrect locked (at -0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) + (net 3 "VCC") (tstamp 30f15357-ce1d-48b9-93dc-7d9b1b2aa048)) + (pad "2" smd roundrect locked (at 0.485 0) (size 0.59 0.64) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25) + (net 2 "Net-(C2-Pad1)") (tstamp 87371631-aa02-498a-998a-09bdb74784c1)) + (model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl" + (offset (xyz 0 0 0)) + (scale (xyz 1 1 1)) + (rotate (xyz 0 0 0)) + ) + ) + + (gr_line (start 187.96 69.85) (end 142.24 69.85) (layer "Edge.Cuts") (width 0.12) (tstamp 2e642b3e-a476-4c54-9a52-dcea955640cd)) + (gr_line (start 187.96 91.44) (end 187.96 69.85) (layer "Edge.Cuts") (width 0.12) (tstamp 5038e144-5119-49db-b6cf-f7c345f1cf03)) + (gr_line (start 142.24 69.85) (end 142.24 91.44) (layer "Edge.Cuts") (width 0.12) (tstamp 54365317-1355-4216-bb75-829375abc4ec)) + (gr_line (start 142.24 91.44) (end 187.96 91.44) (layer "Edge.Cuts") (width 0.12) (tstamp ac264c30-3e9a-4be2-b97a-9949b68bd497)) + + (segment (start 164.765 80.01) (end 164.775001 80.020001) (width 0.25) (layer "F.Cu") (net 1) (tstamp a3e4f0ae-9f86-49e9-b386-ed8b42e012fb)) + (segment (start 154.94 80.01) (end 164.765 80.01) (width 0.25) (layer "F.Cu") (net 1) (tstamp a690fc6c-55d9-47e6-b533-faa4b67e20f3)) + (segment (start 170.18 81.765) (end 168.125 83.82) (width 0.25) (layer "F.Cu") (net 2) (tstamp c144caa5-b0d4-4cef-840a-d4ad178a2102)) + (segment (start 170.18 80.505001) (end 170.18 81.765) (width 0.25) (layer "F.Cu") (net 2) (tstamp efeac2a2-7682-4dc7-83ee-f6f1b23da506)) + (segment (start 157.769999 80.990001) (end 156.75 82.01) (width 0.25) (layer "F.Cu") (net 3) (tstamp 127679a9-3981-4934-815e-896a4e3ff56e)) + (segment (start 167.155 83.37) (end 165.1 81.315) (width 0.25) (layer "F.Cu") (net 3) (tstamp 5fc27c35-3e1c-4f96-817c-93b5570858a6)) + (segment (start 165.1 81.315) (end 164.775001 80.990001) (width 0.25) (layer "F.Cu") (net 3) (tstamp 6a45789b-3855-401f-8139-3c734f7f52f9)) + (segment (start 167.155 83.82) (end 167.155 83.37) (width 0.25) (layer "F.Cu") (net 3) (tstamp 6c9b793c-e74d-4754-a2c0-901e73b26f1c)) + (segment (start 156.75 82.01) (end 154.94 82.01) (width 0.25) (layer "F.Cu") (net 3) (tstamp 716e31c5-485f-40b5-88e3-a75900da9811)) + (segment (start 164.775001 80.990001) (end 157.769999 80.990001) (width 0.25) (layer "F.Cu") (net 3) (tstamp b1086f75-01ba-4188-8d36-75a9e2828ca9)) + +)