diff --git a/kibot/pre_update_xml.py b/kibot/pre_update_xml.py
index c089ec39..14a9c3d5 100644
--- a/kibot/pre_update_xml.py
+++ b/kibot/pre_update_xml.py
@@ -118,7 +118,7 @@ class Update_XML(BasePreFlight): # noqa: F821
errors.append('PCB net code {} missing connection/s: {}'.format(n, ','.join(list(dif))))
def check_pcb_parity(self):
- if GS.ki5:
+ if GS.ki5 or GS.ki7:
logger.error('PCB vs schematic parity only available for KiCad 6')
exit(MISSING_TOOL)
fname = GS.sch_no_ext+'.xml'
diff --git a/tests/board_samples/kicad_7/.gitignore b/tests/board_samples/kicad_7/.gitignore
index 72a84386..123e99e3 100644
--- a/tests/board_samples/kicad_7/.gitignore
+++ b/tests/board_samples/kicad_7/.gitignore
@@ -1,4 +1,3 @@
-bom/
print_err.pro
test_v5/
zone-refill.pro
diff --git a/tests/board_samples/kicad_7/bom/bom.kicad_pcb b/tests/board_samples/kicad_7/bom/bom.kicad_pcb
new file mode 100644
index 00000000..3249eb4c
--- /dev/null
+++ b/tests/board_samples/kicad_7/bom/bom.kicad_pcb
@@ -0,0 +1,240 @@
+(kicad_pcb (version 20221018) (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)
+ (aux_axis_origin 148.4 80.2)
+ (pcbplotparams
+ (layerselection 0x00010fc_ffffffff)
+ (plot_on_all_layers_selection 0x0000000_00000000)
+ (disableapertmacros false)
+ (usegerberextensions false)
+ (usegerberattributes false)
+ (usegerberadvancedattributes false)
+ (creategerberjobfile false)
+ (dashed_line_dash_ratio 12.000000)
+ (dashed_line_gap_ratio 3.000000)
+ (svgprecision 6)
+ (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-(C1-Pad1)")
+ (net 3 "VCC")
+
+ (footprint "Capacitor_SMD:C_0805_2012Metric" (layer "F.Cu")
+ (tstamp 00000000-0000-0000-0000-00005ebea01d)
+ (at 146.3 78.6)
+ (descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf, https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
+ (tags "capacitor")
+ (path "/00000000-0000-0000-0000-00005ebe91ac")
+ (attr smd)
+ (fp_text reference "C1" (at 0 -1.65) (layer "F.SilkS")
+ (effects (font (size 1 1) (thickness 0.15)))
+ (tstamp 9c9d8199-175d-4e72-9011-0f0185e5f8cd)
+ )
+ (fp_text value "1uF" (at 0 1.65) (layer "F.Fab")
+ (effects (font (size 1 1) (thickness 0.15)))
+ (tstamp 75316dc7-6d46-417e-8b6a-162b22dfd19a)
+ )
+ (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
+ (effects (font (size 0.5 0.5) (thickness 0.08)))
+ (tstamp db1cd0fb-05d4-44ec-b454-d6a236c238a3)
+ )
+ (fp_line (start -0.261252 -0.735) (end 0.261252 -0.735)
+ (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp bbb604e2-8eaa-49ba-bc8d-1266d9ba7dd4))
+ (fp_line (start -0.261252 0.735) (end 0.261252 0.735)
+ (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 27655bcd-4c1a-46cc-955d-5b5b5261c864))
+ (fp_line (start -1.7 -0.98) (end 1.7 -0.98)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 0540ca27-05d9-4ca7-b70d-f92722d38ba5))
+ (fp_line (start -1.7 0.98) (end -1.7 -0.98)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 8a85c785-84a4-4187-8351-25e248f4f364))
+ (fp_line (start 1.7 -0.98) (end 1.7 0.98)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 6953b3ec-5f36-4382-8414-4b8ed5275ff0))
+ (fp_line (start 1.7 0.98) (end -1.7 0.98)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp e6211b5c-800e-40b7-aff2-63e2fd710db4))
+ (fp_line (start -1 -0.625) (end 1 -0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 03097cce-abba-42fb-a29b-81d00831759b))
+ (fp_line (start -1 0.625) (end -1 -0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 713f7208-b71b-4b1b-baa8-a647790e865d))
+ (fp_line (start 1 -0.625) (end 1 0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 776241c6-9634-465f-9f35-31d275ddb70e))
+ (fp_line (start 1 0.625) (end -1 0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp d279b9bc-2303-4272-bf6a-94f4bd8fd219))
+ (pad "1" smd roundrect (at -0.95 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
+ (net 2 "Net-(C1-Pad1)") (tstamp 22724ee9-7edc-46c3-9dad-daeaebd9c606))
+ (pad "2" smd roundrect (at 0.95 0) (size 1 1.45) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
+ (net 1 "GND") (tstamp b1ef38df-3c86-4fc6-8739-1c64ab2bf578))
+ (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_0805_2012Metric.wrl"
+ (offset (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (footprint "Resistor_SMD:R_0805_2012Metric" (layer "F.Cu")
+ (tstamp 00000000-0000-0000-0000-00005ebea02e)
+ (at 146.3 81.55 180)
+ (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
+ (tags "resistor")
+ (path "/00000000-0000-0000-0000-00005ebe8a2e")
+ (attr smd)
+ (fp_text reference "R1" (at 0 -1.65) (layer "F.SilkS")
+ (effects (font (size 1 1) (thickness 0.15)))
+ (tstamp c673541e-281f-463a-ac6b-ad54dbd30319)
+ )
+ (fp_text value "100" (at 0 1.65) (layer "F.Fab")
+ (effects (font (size 1 1) (thickness 0.15)))
+ (tstamp a8816dfd-28bb-412c-ad07-1214032d763b)
+ )
+ (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
+ (effects (font (size 0.5 0.5) (thickness 0.08)))
+ (tstamp 79fa1346-eb17-4f67-9688-7380b95bf08b)
+ )
+ (fp_line (start -0.227064 -0.735) (end 0.227064 -0.735)
+ (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp d5c0d515-fbd4-46ff-925e-63100f09db13))
+ (fp_line (start -0.227064 0.735) (end 0.227064 0.735)
+ (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 8272a645-4413-41c6-8bed-c4b4760f96a4))
+ (fp_line (start -1.68 -0.95) (end 1.68 -0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp fdc0f79f-e515-4d7e-a030-b9d3f4c60b60))
+ (fp_line (start -1.68 0.95) (end -1.68 -0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp ecc8577a-84bc-4200-ad6a-3b661b80c38c))
+ (fp_line (start 1.68 -0.95) (end 1.68 0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 5e8d5ff4-4f6f-4251-984b-61022789ae1b))
+ (fp_line (start 1.68 0.95) (end -1.68 0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp fcfcd859-0f83-481b-b094-a2f57961025a))
+ (fp_line (start -1 -0.625) (end 1 -0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp b5b58052-9f31-4837-981b-aa3c19b1ac9c))
+ (fp_line (start -1 0.625) (end -1 -0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 5568ea96-73af-4c53-8865-e6917f8edfbf))
+ (fp_line (start 1 -0.625) (end 1 0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 4f5af935-8675-4256-babd-43718301424e))
+ (fp_line (start 1 0.625) (end -1 0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 475e817c-7d78-449c-9aaa-cef1253ad63c))
+ (pad "1" smd roundrect (at -0.9125 0 180) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
+ (net 3 "VCC") (tstamp b79d1e40-2471-4764-9ea4-56137645d19e))
+ (pad "2" smd roundrect (at 0.9125 0 180) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
+ (net 2 "Net-(C1-Pad1)") (tstamp b12bc4bb-c30f-4872-8ca4-7f2a2f7652fb))
+ (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
+ (offset (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (footprint "Resistor_SMD:R_0805_2012Metric" (layer "F.Cu")
+ (tstamp 00000000-0000-0000-0000-00005ebea03f)
+ (at 150.71 78.6 180)
+ (descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
+ (tags "resistor")
+ (path "/00000000-0000-0000-0000-00005ebe8e9e")
+ (attr smd)
+ (fp_text reference "R2" (at 0 -1.65) (layer "F.SilkS")
+ (effects (font (size 1 1) (thickness 0.15)))
+ (tstamp 153c0863-275c-47bf-ab70-70617d013f8e)
+ )
+ (fp_text value "200" (at 0 1.65) (layer "F.Fab")
+ (effects (font (size 1 1) (thickness 0.15)))
+ (tstamp 25a27614-40a6-42df-8b74-01d12486edf1)
+ )
+ (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
+ (effects (font (size 0.5 0.5) (thickness 0.08)))
+ (tstamp b21cc471-e229-4084-a5e1-e63e632764bf)
+ )
+ (fp_line (start -0.227064 -0.735) (end 0.227064 -0.735)
+ (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp c12980f3-1246-4d40-a994-da434db439c0))
+ (fp_line (start -0.227064 0.735) (end 0.227064 0.735)
+ (stroke (width 0.12) (type solid)) (layer "F.SilkS") (tstamp 94bb58a0-1695-4d34-b64b-a659b4788a2c))
+ (fp_line (start -1.68 -0.95) (end 1.68 -0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp e1cb63cf-7550-434d-ab1c-f8201fda6fcc))
+ (fp_line (start -1.68 0.95) (end -1.68 -0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 5fd2b0bd-aa1f-4e3d-aaba-810b73d95668))
+ (fp_line (start 1.68 -0.95) (end 1.68 0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp d96e0a1f-fc49-4e92-8838-2b7d4e9dc208))
+ (fp_line (start 1.68 0.95) (end -1.68 0.95)
+ (stroke (width 0.05) (type solid)) (layer "F.CrtYd") (tstamp 3db38e3b-940f-4b79-aa38-456142c68041))
+ (fp_line (start -1 -0.625) (end 1 -0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 74ffcc5f-7b35-4182-9427-003dd8fe602f))
+ (fp_line (start -1 0.625) (end -1 -0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp f5335666-b6e0-4b78-8e64-4c69dfba6283))
+ (fp_line (start 1 -0.625) (end 1 0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 5a075f5a-14f8-4e51-ba50-aa1e538ec9e1))
+ (fp_line (start 1 0.625) (end -1 0.625)
+ (stroke (width 0.1) (type solid)) (layer "F.Fab") (tstamp 59e09225-6686-4ef0-ae60-013a703477da))
+ (pad "1" smd roundrect (at -0.9125 0 180) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
+ (net 2 "Net-(C1-Pad1)") (tstamp 830253c8-8a42-4c56-8887-0fd8f7d59d1d))
+ (pad "2" smd roundrect (at 0.9125 0 180) (size 1.025 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.243902)
+ (net 1 "GND") (tstamp d4aa7cc8-3eb8-4f8d-a86f-bce11b19d712))
+ (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.wrl"
+ (offset (xyz 0 0 0))
+ (scale (xyz 1 1 1))
+ (rotate (xyz 0 0 0))
+ )
+ )
+
+ (gr_line (start 153 84) (end 153 76)
+ (stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp 00000000-0000-0000-0000-00005ebea29b))
+ (gr_line (start 144 76) (end 144 84)
+ (stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp bb3326cd-028c-43fb-af47-5975412a67c7))
+ (gr_line (start 153 76) (end 144 76)
+ (stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp d534140b-6f16-4b83-8893-ef4b026f6ec9))
+ (gr_line (start 144 84) (end 153 84)
+ (stroke (width 0.05) (type solid)) (layer "Edge.Cuts") (tstamp ea655683-6135-4d3f-a322-1186e1a703b2))
+
+ (segment (start 147.2375 78.6) (end 149.7725 78.6) (width 0.25) (layer "F.Cu") (net 1) (tstamp 4ebf58f7-8428-4480-b240-bb7d3c895103))
+ (segment (start 145.3625 78.6) (end 146.4625 77.5) (width 0.25) (layer "F.Cu") (net 2) (tstamp 1b063e64-61f9-4040-a610-60a05ee660d5))
+ (segment (start 146.4625 77.5) (end 150.5475 77.5) (width 0.25) (layer "F.Cu") (net 2) (tstamp 47e9ca4c-383c-4a7f-a00e-65cdec517ca4))
+ (segment (start 150.5475 77.5) (end 151.6475 78.6) (width 0.25) (layer "F.Cu") (net 2) (tstamp d280ba73-e3e4-48e5-961d-6330b91cc2cc))
+ (segment (start 145.3625 81.55) (end 145.3625 78.6) (width 0.25) (layer "F.Cu") (net 2) (tstamp fa5e5b8e-4772-4e87-91b9-d14646e82a50))
+
+)
diff --git a/tests/board_samples/kicad_7/bom/bom.kicad_prl b/tests/board_samples/kicad_7/bom/bom.kicad_prl
new file mode 100644
index 00000000..4b62ca3c
--- /dev/null
+++ b/tests/board_samples/kicad_7/bom/bom.kicad_prl
@@ -0,0 +1,77 @@
+{
+ "board": {
+ "active_layer": 0,
+ "active_layer_preset": "",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "ratsnest_display_mode": 0,
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": true,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 30,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 37,
+ 38
+ ],
+ "visible_layers": "fffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "meta": {
+ "filename": "bom.kicad_prl",
+ "version": 3
+ },
+ "project": {
+ "files": []
+ }
+}
diff --git a/tests/board_samples/kicad_7/bom/bom.kicad_pro b/tests/board_samples/kicad_7/bom/bom.kicad_pro
new file mode 100644
index 00000000..9eca37ea
--- /dev/null
+++ b/tests/board_samples/kicad_7/bom/bom.kicad_pro
@@ -0,0 +1,430 @@
+{
+ "board": {
+ "3dviewports": [],
+ "design_settings": {
+ "defaults": {
+ "board_outline_line_width": 0.09999999999999999,
+ "copper_line_width": 0.19999999999999998,
+ "copper_text_italic": false,
+ "copper_text_size_h": 1.5,
+ "copper_text_size_v": 1.5,
+ "copper_text_thickness": 0.3,
+ "copper_text_upright": false,
+ "courtyard_line_width": 0.049999999999999996,
+ "dimension_precision": 4,
+ "dimension_units": 3,
+ "dimensions": {
+ "arrow_length": 1270000,
+ "extension_offset": 500000,
+ "keep_text_aligned": true,
+ "suppress_zeroes": false,
+ "text_position": 0,
+ "units_format": 1
+ },
+ "fab_line_width": 0.09999999999999999,
+ "fab_text_italic": false,
+ "fab_text_size_h": 1.0,
+ "fab_text_size_v": 1.0,
+ "fab_text_thickness": 0.15,
+ "fab_text_upright": false,
+ "other_line_width": 0.15,
+ "other_text_italic": false,
+ "other_text_size_h": 1.0,
+ "other_text_size_v": 1.0,
+ "other_text_thickness": 0.15,
+ "other_text_upright": false,
+ "pads": {
+ "drill": 0.762,
+ "height": 1.524,
+ "width": 1.524
+ },
+ "silk_line_width": 0.15,
+ "silk_text_italic": false,
+ "silk_text_size_h": 1.0,
+ "silk_text_size_v": 1.0,
+ "silk_text_thickness": 0.15,
+ "silk_text_upright": false,
+ "zones": {
+ "45_degree_only": false,
+ "min_clearance": 0.508
+ }
+ },
+ "diff_pair_dimensions": [],
+ "drc_exclusions": [],
+ "meta": {
+ "version": 1
+ },
+ "rule_severities": {
+ "annular_width": "error",
+ "clearance": "error",
+ "copper_edge_clearance": "error",
+ "courtyards_overlap": "error",
+ "diff_pair_gap_out_of_range": "error",
+ "diff_pair_uncoupled_length_too_long": "error",
+ "drill_too_small": "error",
+ "duplicate_footprints": "warning",
+ "extra_footprint": "warning",
+ "hole_clearance": "error",
+ "hole_near_hole": "error",
+ "invalid_outline": "error",
+ "item_on_disabled_layer": "error",
+ "items_not_allowed": "error",
+ "keepout": "error",
+ "length_out_of_range": "error",
+ "malformed_courtyard": "error",
+ "microvia_drill_too_small": "error",
+ "missing_courtyard": "ignore",
+ "missing_footprint": "warning",
+ "net_conflict": "warning",
+ "npth_inside_courtyard": "ignore",
+ "padstack": "error",
+ "pth_inside_courtyard": "ignore",
+ "shorting_items": "error",
+ "silk_over_copper": "error",
+ "silk_overlap": "error",
+ "skew_out_of_range": "error",
+ "too_many_vias": "error",
+ "track_dangling": "warning",
+ "track_width": "error",
+ "tracks_crossing": "error",
+ "unconnected_items": "error",
+ "unresolved_variable": "error",
+ "via_dangling": "warning",
+ "via_hole_larger_than_pad": "error",
+ "zone_has_empty_net": "error",
+ "zones_intersect": "error"
+ },
+ "rules": {
+ "allow_blind_buried_vias": false,
+ "allow_microvias": false,
+ "max_error": 0.005,
+ "min_clearance": 0.0,
+ "min_copper_edge_clearance": 0.01,
+ "min_hole_to_hole": 0.25,
+ "min_microvia_diameter": 0.19999999999999998,
+ "min_microvia_drill": 0.09999999999999999,
+ "min_silk_clearance": 0.0,
+ "min_through_hole_diameter": 0.3,
+ "min_track_width": 0.19999999999999998,
+ "min_via_annular_width": 0.049999999999999996,
+ "min_via_diameter": 0.39999999999999997,
+ "solder_mask_clearance": 0.0,
+ "solder_mask_min_width": 0.0,
+ "solder_paste_clearance": 0.0,
+ "solder_paste_margin_ratio": 0.0
+ },
+ "track_widths": [],
+ "via_dimensions": [],
+ "zones_allow_external_fillets": false,
+ "zones_use_no_outline": true
+ },
+ "layer_presets": [],
+ "viewports": []
+ },
+ "boards": [],
+ "cvpcb": {
+ "equivalence_files": []
+ },
+ "erc": {
+ "erc_exclusions": [],
+ "meta": {
+ "version": 0
+ },
+ "pin_map": [
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 1,
+ 0,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 1,
+ 2,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 0,
+ 1,
+ 1,
+ 1,
+ 1,
+ 1,
+ 2
+ ],
+ [
+ 0,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 2,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 2,
+ 2,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 0,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 0,
+ 2,
+ 1,
+ 1,
+ 0,
+ 0,
+ 1,
+ 0,
+ 2,
+ 0,
+ 0,
+ 2
+ ],
+ [
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2,
+ 2
+ ]
+ ],
+ "rule_severities": {
+ "bus_definition_conflict": "error",
+ "bus_entry_needed": "error",
+ "bus_to_bus_conflict": "error",
+ "bus_to_net_conflict": "error",
+ "conflicting_netclasses": "error",
+ "different_unit_footprint": "error",
+ "different_unit_net": "error",
+ "duplicate_reference": "error",
+ "duplicate_sheet_names": "error",
+ "endpoint_off_grid": "warning",
+ "extra_units": "error",
+ "global_label_dangling": "warning",
+ "hier_label_mismatch": "error",
+ "label_dangling": "error",
+ "lib_symbol_issues": "warning",
+ "missing_bidi_pin": "warning",
+ "missing_input_pin": "warning",
+ "missing_power_pin": "error",
+ "missing_unit": "warning",
+ "multiple_net_names": "warning",
+ "net_not_bus_member": "warning",
+ "no_connect_connected": "error",
+ "no_connect_dangling": "error",
+ "pin_not_connected": "error",
+ "pin_not_driven": "error",
+ "pin_to_pin": "warning",
+ "power_pin_not_driven": "error",
+ "similar_labels": "warning",
+ "simulation_model_issue": "error",
+ "unannotated": "error",
+ "unit_value_mismatch": "error",
+ "unresolved_variable": "error",
+ "wire_dangling": "error"
+ }
+ },
+ "libraries": {
+ "pinned_footprint_libs": [],
+ "pinned_symbol_libs": []
+ },
+ "meta": {
+ "filename": "bom.kicad_pro",
+ "version": 1
+ },
+ "net_settings": {
+ "classes": [
+ {
+ "bus_width": 12,
+ "clearance": 0.2,
+ "diff_pair_gap": 0.25,
+ "diff_pair_via_gap": 0.25,
+ "diff_pair_width": 0.2,
+ "line_style": 0,
+ "microvia_diameter": 0.3,
+ "microvia_drill": 0.1,
+ "name": "Default",
+ "pcb_color": "rgba(0, 0, 0, 0.000)",
+ "schematic_color": "rgba(0, 0, 0, 0.000)",
+ "track_width": 0.25,
+ "via_diameter": 0.8,
+ "via_drill": 0.4,
+ "wire_width": 6
+ }
+ ],
+ "meta": {
+ "version": 3
+ },
+ "net_colors": null,
+ "netclass_assignments": null,
+ "netclass_patterns": []
+ },
+ "pcbnew": {
+ "last_paths": {
+ "gencad": "",
+ "idf": "",
+ "netlist": "",
+ "specctra_dsn": "",
+ "step": "",
+ "vrml": ""
+ },
+ "page_layout_descr_file": ""
+ },
+ "schematic": {
+ "annotate_start_num": 0,
+ "drawing": {
+ "dashed_lines_dash_length_ratio": 12.0,
+ "dashed_lines_gap_length_ratio": 3.0,
+ "default_bus_thickness": 12.0,
+ "default_junction_size": 40.0,
+ "default_line_thickness": 6.0,
+ "default_text_size": 50.0,
+ "default_wire_thickness": 6.0,
+ "field_names": [],
+ "intersheets_ref_own_page": false,
+ "intersheets_ref_prefix": "",
+ "intersheets_ref_short": false,
+ "intersheets_ref_show": false,
+ "intersheets_ref_suffix": "",
+ "junction_size_choice": 3,
+ "label_size_ratio": 0.3,
+ "pin_symbol_size": 25.0,
+ "text_offset_ratio": 0.3
+ },
+ "legacy_lib_dir": "",
+ "legacy_lib_list": [],
+ "meta": {
+ "version": 1
+ },
+ "net_format_name": "",
+ "page_layout_descr_file": "",
+ "plot_directory": "",
+ "spice_adjust_passive_values": false,
+ "spice_current_sheet_as_root": false,
+ "spice_external_command": "spice \"%I\"",
+ "spice_model_current_sheet_as_root": true,
+ "spice_save_all_currents": false,
+ "spice_save_all_voltages": false,
+ "subpart_first_id": 65,
+ "subpart_id_separator": 0
+ },
+ "sheets": [
+ [
+ "d2d83f5f-ce2c-48e9-9bf7-d06fc221d288",
+ ""
+ ]
+ ],
+ "text_variables": {}
+}
diff --git a/tests/board_samples/kicad_7/bom/bom.kicad_sch b/tests/board_samples/kicad_7/bom/bom.kicad_sch
new file mode 100644
index 00000000..c4dcafac
--- /dev/null
+++ b/tests/board_samples/kicad_7/bom/bom.kicad_sch
@@ -0,0 +1,381 @@
+(kicad_sch (version 20230121) (generator eeschema)
+
+ (uuid d2d83f5f-ce2c-48e9-9bf7-d06fc221d288)
+
+ (paper "A4")
+
+ (lib_symbols
+ (symbol "Device:C" (pin_numbers hide) (pin_names (offset 0.254)) (in_bom yes) (on_board yes)
+ (property "Reference" "C" (at 0.635 2.54 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Value" "C" (at 0.635 -2.54 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Footprint" "" (at 0.9652 -3.81 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "~" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_keywords" "cap capacitor" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_description" "Unpolarized capacitor" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_fp_filters" "C_*" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (symbol "C_0_1"
+ (polyline
+ (pts
+ (xy -2.032 -0.762)
+ (xy 2.032 -0.762)
+ )
+ (stroke (width 0.508) (type default))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy -2.032 0.762)
+ (xy 2.032 0.762)
+ )
+ (stroke (width 0.508) (type default))
+ (fill (type none))
+ )
+ )
+ (symbol "C_1_1"
+ (pin passive line (at 0 3.81 270) (length 2.794)
+ (name "~" (effects (font (size 1.27 1.27))))
+ (number "1" (effects (font (size 1.27 1.27))))
+ )
+ (pin passive line (at 0 -3.81 90) (length 2.794)
+ (name "~" (effects (font (size 1.27 1.27))))
+ (number "2" (effects (font (size 1.27 1.27))))
+ )
+ )
+ )
+ (symbol "Device:R" (pin_numbers hide) (pin_names (offset 0)) (in_bom yes) (on_board yes)
+ (property "Reference" "R" (at 2.032 0 90)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "R" (at 0 0 90)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at -1.778 0 90)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "~" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_keywords" "R res resistor" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_description" "Resistor" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_fp_filters" "R_*" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (symbol "R_0_1"
+ (rectangle (start -1.016 -2.54) (end 1.016 2.54)
+ (stroke (width 0.254) (type default))
+ (fill (type none))
+ )
+ )
+ (symbol "R_1_1"
+ (pin passive line (at 0 3.81 270) (length 1.27)
+ (name "~" (effects (font (size 1.27 1.27))))
+ (number "1" (effects (font (size 1.27 1.27))))
+ )
+ (pin passive line (at 0 -3.81 90) (length 1.27)
+ (name "~" (effects (font (size 1.27 1.27))))
+ (number "2" (effects (font (size 1.27 1.27))))
+ )
+ )
+ )
+ (symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
+ (property "Reference" "#PWR" (at 0 -6.35 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 0 -3.81 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_keywords" "power-flag" (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" (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))
+ (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:VCC" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
+ (property "Reference" "#PWR" (at 0 -3.81 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "VCC" (at 0 3.81 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_keywords" "power-flag" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_description" "Power symbol creates a global label with name \"VCC\"" (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))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 0 0)
+ (xy 0 2.54)
+ )
+ (stroke (width 0) (type default))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 0 2.54)
+ (xy 0.762 1.27)
+ )
+ (stroke (width 0) (type default))
+ (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))))
+ )
+ )
+ )
+ )
+
+ (junction (at 88.9 62.23) (diameter 1.016) (color 0 0 0 0)
+ (uuid 733adfd3-6c20-491a-b55e-2f221f97af3d)
+ )
+
+ (wire (pts (xy 88.9 59.69) (xy 88.9 62.23))
+ (stroke (width 0) (type solid))
+ (uuid 2291694f-250b-45b6-8a57-5cc6823fa44a)
+ )
+ (wire (pts (xy 99.06 62.23) (xy 88.9 62.23))
+ (stroke (width 0) (type solid))
+ (uuid 36e4c43b-d90a-4461-af49-36fa3d58aa8f)
+ )
+ (wire (pts (xy 99.06 76.2) (xy 99.06 73.66))
+ (stroke (width 0) (type solid))
+ (uuid 6ca7e247-bbe9-4f5a-8cb8-6422be6978c3)
+ )
+ (wire (pts (xy 88.9 76.2) (xy 88.9 73.66))
+ (stroke (width 0) (type solid))
+ (uuid bf12deb3-56d7-4c0f-ae70-87cc7f5abbb8)
+ )
+ (wire (pts (xy 99.06 66.04) (xy 99.06 62.23))
+ (stroke (width 0) (type solid))
+ (uuid c7f57cf0-e666-419a-a949-8322a5ce509f)
+ )
+ (wire (pts (xy 88.9 62.23) (xy 88.9 66.04))
+ (stroke (width 0) (type solid))
+ (uuid db3f1494-e01f-45ab-89d3-d2a2b1bfe48f)
+ )
+ (wire (pts (xy 88.9 52.07) (xy 88.9 49.53))
+ (stroke (width 0) (type solid))
+ (uuid e94f9bc1-5e26-4353-bcaf-a4b67275876d)
+ )
+
+ (symbol (lib_id "Device:R") (at 88.9 55.88 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ebe8a2e)
+ (property "Reference" "R1" (at 90.678 54.7116 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Value" "100" (at 90.678 57.023 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Footprint" "Resistor_SMD:R_0805_2012Metric" (at 87.122 55.88 90)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "~" (at 88.9 55.88 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 41a7481d-00ef-4f95-b270-387d00c6df9a))
+ (pin "2" (uuid e3a2973a-bc35-45f1-a043-cf2976dc2b5d))
+ (instances
+ (project "bom"
+ (path "/d2d83f5f-ce2c-48e9-9bf7-d06fc221d288"
+ (reference "R1") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "Device:R") (at 88.9 69.85 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ebe8e9e)
+ (property "Reference" "R2" (at 90.678 68.6816 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Value" "200" (at 90.678 70.993 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Footprint" "Resistor_SMD:R_0805_2012Metric" (at 87.122 69.85 90)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "~" (at 88.9 69.85 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid aaceb31f-4d72-451c-8cb8-058c56067150))
+ (pin "2" (uuid 826e04a0-5a98-42db-9954-1a9f1f2390c5))
+ (instances
+ (project "bom"
+ (path "/d2d83f5f-ce2c-48e9-9bf7-d06fc221d288"
+ (reference "R2") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "Device:C") (at 99.06 69.85 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ebe91ac)
+ (property "Reference" "C1" (at 101.981 68.6816 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Value" "1uF" (at 101.981 70.993 0)
+ (effects (font (size 1.27 1.27)) (justify left))
+ )
+ (property "Footprint" "Capacitor_SMD:C_0805_2012Metric" (at 100.0252 73.66 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "~" (at 99.06 69.85 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 5741fe5d-b9b1-42fd-aeef-01b933ca2176))
+ (pin "2" (uuid 16cfe212-d011-4465-b1ac-2d25135a6940))
+ (instances
+ (project "bom"
+ (path "/d2d83f5f-ce2c-48e9-9bf7-d06fc221d288"
+ (reference "C1") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 99.06 76.2 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ebe965a)
+ (property "Reference" "#PWR03" (at 99.06 82.55 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 99.187 80.5942 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 99.06 76.2 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 99.06 76.2 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 9dd259d1-0b41-4122-b9ea-3b42cc2fa45f))
+ (instances
+ (project "bom"
+ (path "/d2d83f5f-ce2c-48e9-9bf7-d06fc221d288"
+ (reference "#PWR03") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 88.9 76.2 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ebe9830)
+ (property "Reference" "#PWR02" (at 88.9 82.55 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 89.027 80.5942 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 88.9 76.2 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 88.9 76.2 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid d2035865-177f-4c63-bc31-6c50f2c4a84b))
+ (instances
+ (project "bom"
+ (path "/d2d83f5f-ce2c-48e9-9bf7-d06fc221d288"
+ (reference "#PWR02") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:VCC") (at 88.9 49.53 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ebe99a0)
+ (property "Reference" "#PWR01" (at 88.9 53.34 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "VCC" (at 89.3318 45.1358 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 88.9 49.53 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 88.9 49.53 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 36e7785c-2308-4c49-9be8-2624d1a4fa9b))
+ (instances
+ (project "bom"
+ (path "/d2d83f5f-ce2c-48e9-9bf7-d06fc221d288"
+ (reference "#PWR01") (unit 1)
+ )
+ )
+ )
+ )
+
+ (sheet_instances
+ (path "/" (page "1"))
+ )
+)
diff --git a/tests/board_samples/kicad_7/bom/fp-lib-table b/tests/board_samples/kicad_7/bom/fp-lib-table
new file mode 100644
index 00000000..3a81fd09
--- /dev/null
+++ b/tests/board_samples/kicad_7/bom/fp-lib-table
@@ -0,0 +1,5 @@
+(fp_lib_table
+ (lib (name Connector_JST)(type KiCad)(uri ${KICAD7_FOOTPRINT_DIR}/Connector_JST.pretty)(options "")(descr ""))
+ (lib (name Capacitor_SMD)(type KiCad)(uri ${KICAD7_FOOTPRINT_DIR}/Capacitor_SMD.pretty)(options "")(descr ""))
+ (lib (name Resistor_SMD)(type KiCad)(uri ${KICAD7_FOOTPRINT_DIR}/Resistor_SMD.pretty)(options "")(descr ""))
+)
diff --git a/tests/board_samples/kicad_7/erc_warning/fail-project-rescue.lib b/tests/board_samples/kicad_7/erc_warning/fail-project-rescue.lib
new file mode 100644
index 00000000..21c16d98
--- /dev/null
+++ b/tests/board_samples/kicad_7/erc_warning/fail-project-rescue.lib
@@ -0,0 +1,83 @@
+EESchema-LIBRARY Version 2.4
+#encoding utf-8
+#
+# C-passive
+#
+DEF C-passive C 0 40 N N 1 F N
+F0 "C" 0 50 40 H V C CNN
+F1 "C-passive" 0 -50 40 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 2 0 1 0 -25 0 -50 0 N
+P 2 0 1 0 -25 0 -15 0 N
+P 2 0 1 0 -10 15 -10 -15 N
+P 2 0 1 0 10 15 10 -15 N
+P 2 0 1 0 25 0 10 0 N
+P 2 0 1 0 50 0 25 0 N
+X 1 1 -50 0 0 R 25 25 1 1 P
+X 2 2 50 0 0 R 25 25 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CONN_01X02-conn
+#
+DEF CONN_01X02-conn P 0 40 Y N 1 F N
+F0 "P" 0 150 50 H V C CNN
+F1 "CONN_01X02-conn" 100 0 50 V V C CNN
+F2 "" 0 0 50 H V C CNN
+F3 "" 0 0 50 H V C CNN
+$FPLIST
+ Pin_Header_Straight_1X02
+ Pin_Header_Angled_1X02
+ Socket_Strip_Straight_1X02
+ Socket_Strip_Angled_1X02
+$ENDFPLIST
+DRAW
+S -50 -45 10 -55 0 1 0 N
+S -50 55 10 45 0 1 0 N
+S -50 100 50 -100 0 1 0 N
+X P1 1 -200 50 150 R 50 50 1 1 P
+X P2 2 -200 -50 150 R 50 50 1 1 P
+ENDDRAW
+ENDDEF
+#
+# CP-passive
+#
+DEF CP-passive C 0 40 N N 1 F N
+F0 "C" 0 55 40 H V C CNN
+F1 "CP-passive" 0 -50 40 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A 20 0 15 901 -901 0 1 0 N 20 15 20 -15
+S -35 20 -15 20 0 1 0 N
+S -25 25 -25 10 0 1 0 N
+S -25 30 -25 25 0 1 0 N
+P 2 0 1 0 -25 0 -50 0 N
+P 2 0 1 0 -25 0 -15 0 N
+P 2 0 1 0 -10 15 -10 -15 N
+P 2 0 1 0 25 0 10 0 N
+P 2 0 1 0 50 0 25 0 N
+X 1 1 -50 0 0 R 25 25 1 1 I
+X 2 2 50 0 0 R 25 25 1 1 I
+ENDDRAW
+ENDDEF
+#
+# R-passive
+#
+DEF R-passive R 0 40 N N 1 F N
+F0 "R" 0 50 40 H V C CNN
+F1 "R-passive" 0 -50 40 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S 25 10 -25 -10 0 1 0 f
+P 2 0 1 0 -25 0 -50 0 N
+P 2 0 1 0 50 0 25 0 N
+X 1 1 -50 0 0 R 25 25 1 1 P
+X 2 2 50 0 0 R 25 25 1 1 P
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/tests/board_samples/kicad_7/erc_warning/logic.kicad_sch b/tests/board_samples/kicad_7/erc_warning/logic.kicad_sch
index 2d43f70c..7f00c032 100644
--- a/tests/board_samples/kicad_7/erc_warning/logic.kicad_sch
+++ b/tests/board_samples/kicad_7/erc_warning/logic.kicad_sch
@@ -1,10 +1,67 @@
(kicad_sch (version 20230121) (generator eeschema)
- (uuid 29e78086-2175-405e-9ba3-c48766d2f50c)
+ (uuid 2e642b3e-a476-4c54-9a52-dcea955640cd)
(paper "A4")
(lib_symbols
+ (symbol "74xGxx:74AHC1G126" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
+ (property "Reference" "U" (at -2.54 3.81 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74AHC1G126" (at 0 -3.81 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/sg/scyt129e/scyt129e.pdf" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_keywords" "Single Gate Buff Tri-State LVC CMOS" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_description" "Single Buffer Gate Tri-State, Low-Voltage CMOS" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "ki_fp_filters" "SOT* SG-*" (at 0 0 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (symbol "74AHC1G126_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))
+ (fill (type none))
+ )
+ )
+ (symbol "74AHC1G126_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 "74xx:74LS04" (in_bom yes) (on_board yes)
(property "Reference" "U" (at 0 1.27 0)
(effects (font (size 1.27 1.27)))
@@ -167,6 +224,126 @@
)
)
)
+ (symbol "fail-project-rescue:C-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
+ (property "Reference" "C" (at 0 1.27 0)
+ (effects (font (size 1.016 1.016)))
+ )
+ (property "Value" "C-passive" (at 0 -1.27 0)
+ (effects (font (size 1.016 1.016)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.524 1.524)))
+ )
+ (property "Datasheet" "" (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 solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy -0.635 0)
+ (xy -0.381 0)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy -0.254 0.381)
+ (xy -0.254 -0.381)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 0.254 0.381)
+ (xy 0.254 -0.381)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 0.635 0)
+ (xy 0.254 0)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 1.27 0)
+ (xy 0.635 0)
+ )
+ (stroke (width 0) (type solid))
+ (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 "fail-project-rescue:R-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
+ (property "Reference" "R" (at 0 1.27 0)
+ (effects (font (size 1.016 1.016)))
+ )
+ (property "Value" "R-passive" (at 0 -1.27 0)
+ (effects (font (size 1.016 1.016)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.524 1.524)))
+ )
+ (property "Datasheet" "" (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 solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 1.27 0)
+ (xy 0.635 0)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (rectangle (start 0.635 0.254) (end -0.635 -0.254)
+ (stroke (width 0) (type solid))
+ (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))))
+ )
+ )
+ )
(symbol "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
@@ -207,251 +384,171 @@
)
)
)
- (symbol "warning-project-rescue:74LVC1G126" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
- (property "Reference" "U" (at -2.54 3.81 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Value" "74LVC1G126" (at 0 -3.81 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Footprint" "" (at 0 0 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Datasheet" "" (at 0 0 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "ki_fp_filters" "SOT* SG-*" (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))
- (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" (at 0 1.27 0)
- (effects (font (size 1.016 1.016)))
- )
- (property "Value" "C-passive" (at 0 -1.27 0)
- (effects (font (size 1.016 1.016)))
- )
- (property "Footprint" "" (at 0 0 0)
- (effects (font (size 1.524 1.524)))
- )
- (property "Datasheet" "" (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))
- (fill (type none))
- )
- (polyline
- (pts
- (xy -0.635 0)
- (xy -0.381 0)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy -0.254 0.381)
- (xy -0.254 -0.381)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 0.254 0.381)
- (xy 0.254 -0.381)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 0.635 0)
- (xy 0.254 0)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 1.27 0)
- (xy 0.635 0)
- )
- (stroke (width 0) (type default))
- (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" (at 0 1.27 0)
- (effects (font (size 1.016 1.016)))
- )
- (property "Value" "R-passive" (at 0 -1.27 0)
- (effects (font (size 1.016 1.016)))
- )
- (property "Footprint" "" (at 0 0 0)
- (effects (font (size 1.524 1.524)))
- )
- (property "Datasheet" "" (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))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 1.27 0)
- (xy 0.635 0)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (rectangle (start 0.635 0.254) (end -0.635 -0.254)
- (stroke (width 0) (type default))
- (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))))
- )
- )
- )
)
+ (junction (at 134.62 71.12) (diameter 0) (color 0 0 0 0)
+ (uuid 6999032a-e2ec-42e6-95c1-710059913fa1)
+ )
- (wire (pts (xy 166.624 96.012) (xy 167.894 96.012))
+ (no_connect (at 167.64 58.42) (uuid 1b2c26a0-f00c-459c-82cc-dde64168b9a8))
+ (no_connect (at 171.45 82.55) (uuid 284c2c83-f2e0-4a6f-8d35-4fcab007a61c))
+ (no_connect (at 168.91 82.55) (uuid 49470b8c-5d20-424c-8f6e-7b17258e96f1))
+ (no_connect (at 171.45 58.42) (uuid 6f4ab8ff-7f76-41b6-9e49-da9ef787e456))
+ (no_connect (at 214.63 80.01) (uuid 7f5032ab-8834-4d1f-ac02-1a5839574cbc))
+ (no_connect (at 214.63 95.25) (uuid 8c3b776f-7c6c-4ef4-ba70-29419e9e807b))
+
+ (wire (pts (xy 210.82 58.42) (xy 214.63 58.42))
(stroke (width 0) (type solid))
- (uuid 0755aee5-bc01-4cb5-b830-583289df50a3)
+ (uuid 03caada9-9e22-4e2d-9035-b15433dfbb17)
)
- (wire (pts (xy 167.894 96.012) (xy 167.894 98.298))
+ (wire (pts (xy 231.14 58.42) (xy 231.14 60.96))
(stroke (width 0) (type solid))
- (uuid 12b351f9-6591-4abc-b4c0-05a9ef03306e)
+ (uuid 0ff508fd-18da-4ab7-9844-3c8a28c2587e)
)
- (wire (pts (xy 132.334 96.012) (xy 132.334 98.552))
+ (wire (pts (xy 231.14 80.01) (xy 231.14 82.55))
(stroke (width 0) (type solid))
- (uuid 68877d35-b796-44db-9124-b8e744e7412e)
+ (uuid 16ffc453-3023-4920-8abc-0940ff4eaf51)
)
- (wire (pts (xy 138.43 70.866) (xy 134.874 70.866))
+ (wire (pts (xy 229.87 58.42) (xy 231.14 58.42))
(stroke (width 0) (type solid))
- (uuid 6d26d68f-1ca7-4ff3-b058-272f1c399047)
+ (uuid 1f3003e6-dce5-420f-906b-3f1e92b67249)
)
- (wire (pts (xy 141.224 86.36) (xy 141.224 90.932))
+ (wire (pts (xy 161.29 48.26) (xy 161.29 53.34))
(stroke (width 0) (type solid))
- (uuid 70e15522-1572-4451-9c0d-6d36ac70d8c6)
+ (uuid 25d545dc-8f50-4573-922c-35ef5a2a3a19)
)
- (wire (pts (xy 144.78 73.914) (xy 144.78 76.2))
+ (wire (pts (xy 229.87 95.25) (xy 231.14 95.25))
(stroke (width 0) (type solid))
- (uuid 7599133e-c681-4202-85d9-c20dac196c64)
+ (uuid 2e886c7b-d397-4a2c-872a-6072332a7cae)
)
- (wire (pts (xy 134.62 88.9) (xy 134.62 86.36))
- (stroke (width 0) (type solid))
- (uuid 911bdcbe-493f-4e21-a506-7cbc636e2c17)
- )
- (wire (pts (xy 151.384 96.012) (xy 147.574 96.012))
+ (wire (pts (xy 134.62 71.12) (xy 134.62 73.66))
(stroke (width 0) (type default))
- (uuid 9f32a78e-0b59-4846-9068-4909840a34ae)
+ (uuid 3663ee2d-1cb4-4e44-a4b8-96973f834662)
)
- (wire (pts (xy 134.62 86.36) (xy 141.224 86.36))
+ (wire (pts (xy 129.54 71.12) (xy 134.62 71.12))
(stroke (width 0) (type solid))
- (uuid 9f8381e9-3077-4453-a480-a01ad9c1a940)
+ (uuid 40165eda-4ba6-4565-9bb4-b9df6dbb08da)
)
- (wire (pts (xy 133.604 96.012) (xy 132.334 96.012))
+ (wire (pts (xy 187.96 58.42) (xy 187.96 60.96))
(stroke (width 0) (type solid))
- (uuid b96fe6ac-3535-4455-ab88-ed77f5e46d6e)
+ (uuid 40976bf0-19de-460f-ad64-224d4f51e16b)
)
- (wire (pts (xy 140.97 70.866) (xy 144.78 70.866))
+ (wire (pts (xy 144.78 71.12) (xy 144.78 72.39))
(stroke (width 0) (type solid))
- (uuid d3d7e298-1d39-4294-a3ab-c84cc0dc5e5a)
+ (uuid 4780a290-d25c-4459-9579-eba3f7678762)
)
- (wire (pts (xy 144.78 70.866) (xy 144.78 71.374))
+ (wire (pts (xy 134.62 71.12) (xy 138.43 71.12))
(stroke (width 0) (type solid))
- (uuid dde51ae5-b215-445e-92bb-4a12ec410531)
+ (uuid 6093c683-6391-48e5-89ac-05c8305ce9c7)
+ )
+ (wire (pts (xy 198.12 48.26) (xy 198.12 52.07))
+ (stroke (width 0) (type solid))
+ (uuid 639c0e59-e95c-4114-bccd-2e7277505454)
+ )
+ (wire (pts (xy 140.97 71.12) (xy 144.78 71.12))
+ (stroke (width 0) (type solid))
+ (uuid 7e023245-2c2b-4e2b-bfb9-5d35176e88f2)
+ )
+ (wire (pts (xy 186.69 82.55) (xy 187.96 82.55))
+ (stroke (width 0) (type solid))
+ (uuid 8c514922-ffe1-4e37-a260-e807409f2e0d)
+ )
+ (wire (pts (xy 196.85 58.42) (xy 195.58 58.42))
+ (stroke (width 0) (type solid))
+ (uuid a15a7506-eae4-4933-84da-9ad754258706)
+ )
+ (wire (pts (xy 231.14 95.25) (xy 231.14 97.79))
+ (stroke (width 0) (type solid))
+ (uuid ab3dbc0d-1fa3-4d60-b199-49d8b004b069)
+ )
+ (wire (pts (xy 153.67 82.55) (xy 152.4 82.55))
+ (stroke (width 0) (type solid))
+ (uuid aca4de92-9c41-4c2b-9afa-540d02dafa1c)
+ )
+ (wire (pts (xy 134.62 99.06) (xy 134.62 101.6))
+ (stroke (width 0) (type solid))
+ (uuid ae12f776-5601-4058-9e1a-7cc80b0ee340)
+ )
+ (wire (pts (xy 152.4 58.42) (xy 152.4 60.96))
+ (stroke (width 0) (type solid))
+ (uuid babeabf2-f3b0-4ed5-8d9e-0215947e6cf3)
+ )
+ (wire (pts (xy 186.69 58.42) (xy 187.96 58.42))
+ (stroke (width 0) (type solid))
+ (uuid c25a772d-af9c-4ebc-96f6-0966738c13a8)
+ )
+ (wire (pts (xy 154.94 48.26) (xy 161.29 48.26))
+ (stroke (width 0) (type solid))
+ (uuid c43663ee-9a0d-4f27-a292-89ba89964065)
+ )
+ (wire (pts (xy 154.94 50.8) (xy 154.94 48.26))
+ (stroke (width 0) (type solid))
+ (uuid c830e3bc-dc64-4f65-8f47-3b106bae2807)
+ )
+ (wire (pts (xy 195.58 58.42) (xy 195.58 60.96))
+ (stroke (width 0) (type solid))
+ (uuid c8c79177-94d4-43e2-a654-f0a5554fbb68)
+ )
+ (wire (pts (xy 153.67 58.42) (xy 152.4 58.42))
+ (stroke (width 0) (type solid))
+ (uuid d7269d2a-b8c0-422d-8f25-f79ea31bf75e)
+ )
+ (wire (pts (xy 204.47 48.26) (xy 198.12 48.26))
+ (stroke (width 0) (type default))
+ (uuid d8ff1a9c-d9b0-4fba-90de-04aa3aaca259)
+ )
+ (wire (pts (xy 204.47 53.34) (xy 204.47 48.26))
+ (stroke (width 0) (type default))
+ (uuid debf2e44-5102-4fc3-b5d2-e869052f7a57)
+ )
+ (wire (pts (xy 144.78 74.93) (xy 144.78 76.2))
+ (stroke (width 0) (type solid))
+ (uuid df68c26a-03b5-4466-aecf-ba34b7dce6b7)
+ )
+ (wire (pts (xy 187.96 82.55) (xy 187.96 85.09))
+ (stroke (width 0) (type solid))
+ (uuid e21aa84b-970e-47cf-b64f-3b55ee0e1b51)
+ )
+ (wire (pts (xy 229.87 80.01) (xy 231.14 80.01))
+ (stroke (width 0) (type solid))
+ (uuid e7b265aa-5504-453f-8a3d-154364edc075)
+ )
+ (wire (pts (xy 152.4 82.55) (xy 152.4 85.09))
+ (stroke (width 0) (type solid))
+ (uuid e8c50f1b-c316-4110-9cce-5c24c65a1eaa)
)
- (hierarchical_label "VCC" (shape input) (at 134.874 70.866 180) (fields_autoplaced)
+ (text "Tri-state connected to output\nWarning?" (at 153.924 47.498 0)
+ (effects (font (size 1.27 1.27)) (justify left bottom))
+ (uuid 378af8b4-af3d-46e7-89ae-deff12ca9067)
+ )
+ (text "Output to Output: ERC error" (at 156.21 90.17 0)
+ (effects (font (size 1.27 1.27)) (justify left bottom))
+ (uuid a27eb049-c992-4f11-a026-1e6a8d9d0160)
+ )
+
+ (hierarchical_label "VCC" (shape input) (at 129.54 71.12 180) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify right))
- (uuid ec31c074-17b2-48e1-ab01-071acad3fa04)
+ (uuid 13c0ff76-ed71-4cd9-abb0-92c376825d5d)
)
- (symbol (lib_id "warning-project-rescue:R-passive") (at 139.7 70.866 0) (unit 1)
+ (symbol (lib_id "fail-project-rescue:R-passive") (at 139.7 71.12 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca75c86)
- (property "Reference" "R1" (at 139.4968 66.8528 0)
+ (property "Reference" "R1" (at 139.4968 67.1068 0)
(effects (font (size 1.016 1.016)))
)
- (property "Value" "R" (at 139.4968 68.7832 0)
+ (property "Value" "R" (at 139.4968 69.0372 0)
(effects (font (size 1.016 1.016)))
)
- (property "Footprint" "Resistor_SMD:R_0402_1005Metric" (at 139.7 70.866 0)
+ (property "Footprint" "Resistor_SMD:R_0402_1005Metric" (at 139.7 71.12 0)
(effects (font (size 1.524 1.524)) hide)
)
- (property "Datasheet" "" (at 139.7 70.866 0)
+ (property "Datasheet" "" (at 139.7 71.12 0)
(effects (font (size 1.524 1.524)))
)
- (pin "1" (uuid a6b7df29-bcf8-46a9-b623-7eaac47f5110))
- (pin "2" (uuid a9b3f6e4-7a6d-4ae8-ad28-3d8458e0ca1a))
+ (pin "1" (uuid fef37e8b-0ff0-4da2-8a57-acaf19551d1a))
+ (pin "2" (uuid d21cc5e4-177a-4e1d-a8d5-060ed33e5b8e))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
@@ -461,23 +558,23 @@
)
)
- (symbol (lib_id "warning-project-rescue:C-passive") (at 144.78 72.644 270) (unit 1)
+ (symbol (lib_id "fail-project-rescue:C-passive") (at 144.78 73.66 270) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca76352)
- (property "Reference" "C2" (at 145.8976 71.4756 90)
+ (property "Reference" "C2" (at 145.8976 72.4916 90)
(effects (font (size 1.016 1.016)) (justify left))
)
- (property "Value" "C" (at 145.8976 73.406 90)
+ (property "Value" "C" (at 145.8976 74.422 90)
(effects (font (size 1.016 1.016)) (justify left))
)
- (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (at 144.78 72.644 0)
+ (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (at 144.78 73.66 0)
(effects (font (size 1.524 1.524)) hide)
)
- (property "Datasheet" "" (at 144.78 72.644 0)
+ (property "Datasheet" "" (at 144.78 73.66 0)
(effects (font (size 1.524 1.524)))
)
- (pin "1" (uuid 9193c41e-d425-447d-b95c-6986d66ea01c))
- (pin "2" (uuid 27d56953-c620-4d5b-9c1c-e48bc3d9684a))
+ (pin "1" (uuid f8fc38ec-0b98-40bc-ae2f-e5cc29973bca))
+ (pin "2" (uuid 34d03349-6d78-4165-a683-2d8b76f2bae8))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
@@ -502,7 +599,7 @@
(property "Datasheet" "" (at 144.78 76.2 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 5cf2db29-f7ab-499a-9907-cdeba64bf0f3))
+ (pin "1" (uuid 721d1be9-236e-470b-ba69-f1cc6c43faf9))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
@@ -512,114 +609,35 @@
)
)
- (symbol (lib_id "power:GND") (at 134.62 88.9 0) (unit 1)
+ (symbol (lib_id "74xx:74LS04") (at 161.29 82.55 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
- (uuid 14e1cf09-3ac8-4563-9bd2-f32f0f92fcaa)
- (property "Reference" "#PWR05" (at 134.62 95.25 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Value" "GND" (at 134.747 93.2942 0)
+ (uuid 00000000-0000-0000-0000-00005ead683a)
+ (property "Reference" "U1" (at 161.29 74.4982 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 134.62 88.9 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Datasheet" "" (at 134.62 88.9 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (pin "1" (uuid c9667181-b3c7-4b01-b8b4-baa29a9aea63))
- (instances
- (project "warning-project"
- (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
- (reference "#PWR05") (unit 1)
- )
- )
- )
- )
-
- (symbol (lib_id "power:GND") (at 132.334 98.552 0) (unit 1)
- (in_bom yes) (on_board yes) (dnp no)
- (uuid 1ed5ca78-d751-47e9-b748-b057e90ebba6)
- (property "Reference" "#PWR04" (at 132.334 104.902 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Value" "GND" (at 132.461 102.9462 0)
+ (property "Value" "74LS04" (at 161.29 76.8096 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 132.334 98.552 0)
+ (property "Footprint" "" (at 161.29 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Datasheet" "" (at 132.334 98.552 0)
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 161.29 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
- (pin "1" (uuid 0ce8d3ab-2662-4158-8a2a-18b782908fc5))
- (instances
- (project "warning-project"
- (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
- (reference "#PWR04") (unit 1)
- )
- )
- )
- )
-
- (symbol (lib_id "74xx:74LS04") (at 159.004 96.012 180) (unit 4)
- (in_bom yes) (on_board yes) (dnp no)
- (uuid 30e3447e-b729-4837-89d0-2726c444382d)
- (property "Reference" "U2" (at 159.004 87.9602 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Value" "74LS04" (at 159.004 90.2716 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Footprint" "" (at 159.004 96.012 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 159.004 96.012 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (pin "1" (uuid 578b6eff-4039-4ca2-9e13-1586c075f39d))
- (pin "2" (uuid d99ecf84-7577-4554-bd1c-372174d6ae3a))
- (pin "3" (uuid e37c661d-29bb-4915-bfa0-9d1d8f43bf08))
- (pin "4" (uuid 00c9dd4b-7278-4175-872f-ee8302a3180c))
- (pin "5" (uuid da0a3942-3d84-47e6-bda5-356cce72c323))
- (pin "6" (uuid 9d00e8c3-a98d-4954-ac57-6fb3c657a4a3))
- (pin "8" (uuid c701ee8e-1214-4781-a973-17bef7b6e3eb))
- (pin "9" (uuid 5b34a16c-5a14-4291-8242-ea6d6ac54372))
- (pin "10" (uuid 4a64ae11-75d1-49c1-a8f0-a28a3a0c1277))
- (pin "11" (uuid 0d203ad1-befb-4a4b-9d06-33b62d65ebdc))
- (pin "12" (uuid e5ffce84-8747-4fb7-9236-dbc982d2c3c8))
- (pin "13" (uuid 71b02362-1b2f-4568-9be3-55b8e5e3d68a))
- (pin "14" (uuid 0c6a8ac0-6749-48cc-a8b2-98c49a654ce6))
- (pin "7" (uuid 93447618-8fdb-42cb-b410-9c595d85f630))
- (instances
- (project "warning-project"
- (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
- (reference "U2") (unit 4)
- )
- )
- )
- )
-
- (symbol (lib_id "warning-project-rescue:74LVC1G126") (at 141.224 96.012 0) (unit 1)
- (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced)
- (uuid d932e413-55ae-457b-a959-bad83c84d724)
- (property "Reference" "U1" (at 140.589 100.7015 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Value" "74LVC1G126" (at 140.589 103.4766 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Footprint" "" (at 141.224 96.012 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Datasheet" "" (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))
+ (pin "1" (uuid dc2801a1-d539-4721-b31f-fe196b9f13df))
+ (pin "2" (uuid 970e0f64-111f-41e3-9f5a-fb0d0f6fa101))
+ (pin "3" (uuid f8e49346-3362-4f40-b0fc-81ee26ac5353))
+ (pin "4" (uuid 1ac4eb77-27b7-42f6-81cc-e575ac721dbb))
+ (pin "5" (uuid e921ec3c-5712-4675-b732-14b777f57bf3))
+ (pin "6" (uuid 909499ee-5c19-4457-b8fc-3db7beaff643))
+ (pin "8" (uuid 21472811-45d3-4609-a2bd-1a862eaf7706))
+ (pin "9" (uuid 1e29b74c-5b74-4f17-b404-cdf031eed4e6))
+ (pin "10" (uuid 04997719-4dfa-4509-b99d-57697b0cf6cb))
+ (pin "11" (uuid 9be2ab3e-01f8-4842-85a7-42a605bc5413))
+ (pin "12" (uuid 15c3924b-b7d3-4bc2-a022-afa700885e8c))
+ (pin "13" (uuid 59606bda-2449-4e99-9cc0-b926567aaf07))
+ (pin "14" (uuid 83453a5e-3726-4452-9b84-5c7e45f0a62b))
+ (pin "7" (uuid cd851356-4696-405d-917a-029f087baf4d))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
@@ -629,22 +647,533 @@
)
)
- (symbol (lib_id "power:GND") (at 167.894 98.298 0) (unit 1)
+ (symbol (lib_id "74xx:74LS04") (at 179.07 82.55 180) (unit 2)
(in_bom yes) (on_board yes) (dnp no)
- (uuid f79600f0-8aca-4c42-bd73-ad5321120380)
- (property "Reference" "#PWR0102" (at 167.894 104.648 0)
+ (uuid 00000000-0000-0000-0000-00005ead766b)
+ (property "Reference" "U1" (at 179.07 74.4982 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74LS04" (at 179.07 76.8096 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 179.07 82.55 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Value" "GND" (at 168.021 102.6922 0)
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 179.07 82.55 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 1dd6d85c-6dd0-4898-bbad-67848d8fed26))
+ (pin "2" (uuid ec9398d6-6a2f-4812-afb3-7c93d571ec2d))
+ (pin "3" (uuid f6c644f4-3036-41a6-9e14-2c08c079c6cd))
+ (pin "4" (uuid 0cc45b5b-96b3-4284-9cae-a3a9e324a916))
+ (pin "5" (uuid 0590305b-363e-4b0d-b25d-910596e918cc))
+ (pin "6" (uuid 2b7ba329-b03e-4ca5-8e89-0e1dfed07b62))
+ (pin "8" (uuid bb3f780a-9cf3-4922-b0a7-10e6564cf518))
+ (pin "9" (uuid d1ae85d8-5fa1-40a5-84bc-611ae0efa2ff))
+ (pin "10" (uuid 0ae188b7-71fb-4d71-a601-80157610d54e))
+ (pin "11" (uuid a02f29ae-1a04-437d-a785-d527f11d6936))
+ (pin "12" (uuid 143e1b55-ed1c-47d5-a542-d642a73e8dc8))
+ (pin "13" (uuid 44fefb91-9ef8-4d8f-86a7-e50b73ccc005))
+ (pin "14" (uuid ce4fda94-475e-4535-81b9-eca7d8eadbe2))
+ (pin "7" (uuid f9dc7ca9-eb92-4be6-963f-9fadd5dca387))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U1") (unit 2)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 187.96 85.09 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ead892d)
+ (property "Reference" "#PWR05" (at 187.96 91.44 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 188.087 89.4842 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 167.894 98.298 0)
+ (property "Footprint" "" (at 187.96 85.09 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 187.96 85.09 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 6bf05d19-ba3e-4ba6-8a6f-4e0bc45ea3b2))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR05") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 152.4 85.09 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 00000000-0000-0000-0000-00005ead967d)
+ (property "Reference" "#PWR04" (at 152.4 91.44 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 152.527 89.4842 0)
(effects (font (size 1.27 1.27)))
)
- (property "Datasheet" "" (at 167.894 98.298 0)
+ (property "Footprint" "" (at 152.4 85.09 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 152.4 85.09 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 22999e73-da32-43a5-9163-4b3a41614f25))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR04") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 134.62 101.6 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 16c7f284-2b10-439a-a5a8-96500b546572)
+ (property "Reference" "#PWR011" (at 134.62 107.95 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 134.747 105.9942 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 993ff105-4d18-4c9e-91c5-e8c562468585))
+ (property "Footprint" "" (at 134.62 101.6 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 134.62 101.6 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 995f6303-f911-466d-8224-3f67bf1ea80a))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR011") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 152.4 60.96 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 2709dad1-5eb9-460e-90f1-0438844315e3)
+ (property "Reference" "#PWR0101" (at 152.4 67.31 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 152.527 65.3542 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 152.4 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 152.4 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 2d697cf0-e02e-4ed1-a048-a704dab0ee43))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR0101") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 195.58 60.96 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 4876e42b-a4f8-409b-a842-d78426f93102)
+ (property "Reference" "#PWR06" (at 195.58 67.31 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 195.707 65.3542 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 195.58 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 195.58 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid c0c2eb8e-f6d1-4506-8e6b-4f995ad74c1f))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR06") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xGxx:74AHC1G126") (at 161.29 58.42 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 7959b162-7bf9-4339-87f4-83cfe8902206)
+ (property "Reference" "U2" (at 160.655 62.8714 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74AHC1G126" (at 160.655 65.1701 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 161.29 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/sg/scyt129e/scyt129e.pdf" (at 161.29 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 926001fd-2747-4639-8c0f-4fc46ff7218d))
+ (pin "2" (uuid 59ec3156-036e-4049-89db-91a9dd07095f))
+ (pin "3" (uuid d39d813e-3e64-490c-ba5c-a64bb5ad6bd0))
+ (pin "4" (uuid 6a2b20ae-096c-4d9f-92f8-2087c865914f))
+ (pin "5" (uuid 4e315e69-0417-463a-8b7f-469a08d1496e))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U2") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 154.94 50.8 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 8504b81b-54aa-42c2-b5da-3aa90998406b)
+ (property "Reference" "#PWR0103" (at 154.94 57.15 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 155.067 55.1942 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 154.94 50.8 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 154.94 50.8 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 20cca02e-4c4d-4961-b6b4-b40a1731b220))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR0103") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xx:74LS04") (at 222.25 80.01 180) (unit 5)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 912cb692-df98-445e-8f7d-dff002f9aba7)
+ (property "Reference" "U1" (at 222.25 71.9582 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74LS04" (at 222.25 74.2696 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 222.25 80.01 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 222.25 80.01 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 0df17d68-7def-48c9-914c-b5251629f4c1))
+ (pin "2" (uuid a717bb5a-f3dc-4486-8b44-787f1d0ef4b1))
+ (pin "3" (uuid 3ab8e3b8-82ba-4c81-9410-b7bd19fb4b77))
+ (pin "4" (uuid fd438c2b-0ca2-43de-be60-a33cf031fce3))
+ (pin "5" (uuid bd1d02d3-7b5d-45a5-a50d-f7984a0b47a2))
+ (pin "6" (uuid 16ba747e-0b72-4cec-b149-0955f38b1e8b))
+ (pin "8" (uuid ebe1bd68-7001-4823-83ab-33ee2ab4d31d))
+ (pin "9" (uuid 0f0eb1fd-8ec4-4335-9ca0-580441fb2454))
+ (pin "10" (uuid c253a22c-a5a8-4743-8c94-c9b35fc37f17))
+ (pin "11" (uuid 1bf4504b-5431-4c44-822f-b790d7434d73))
+ (pin "12" (uuid 0cbd53ea-bc25-49a7-b18a-cee491f822fb))
+ (pin "13" (uuid 172fc0c8-22c5-4308-82f6-ec825ebca719))
+ (pin "14" (uuid f595a441-99ea-4eee-be6d-cbf8bcdf07c9))
+ (pin "7" (uuid f7135f6a-69ff-4638-b49a-570a01b7a015))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U1") (unit 5)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xGxx:74AHC1G126") (at 204.47 58.42 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid 9bd61bef-1674-427b-8157-adb8f874be70)
+ (property "Reference" "U4" (at 203.835 62.8714 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74AHC1G126" (at 203.835 65.1701 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 204.47 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/sg/scyt129e/scyt129e.pdf" (at 204.47 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid d2d7bea6-0c22-495f-8666-323b30e03150))
+ (pin "2" (uuid 0f324b67-75ef-407f-8dbc-3c1fc5c2abba))
+ (pin "3" (uuid 1c68b844-c861-46b7-b734-0242168a4220))
+ (pin "4" (uuid 4b03e854-02fe-44cc-bece-f8268b7cae54))
+ (pin "5" (uuid b5071759-a4d7-4769-be02-251f23cd4454))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U4") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 231.14 82.55 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid a2c004a6-861b-4db9-8fcd-6dec7cfd9b02)
+ (property "Reference" "#PWR09" (at 231.14 88.9 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 231.267 86.9442 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 231.14 82.55 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 231.14 82.55 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid afab8ae9-304c-47d6-a03e-ffca3931e03b))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR09") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xx:74LS04") (at 179.07 58.42 180) (unit 3)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid a4a5dc51-4b05-4b9f-80fd-ce47b381d9f5)
+ (property "Reference" "U1" (at 179.07 50.3682 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74LS04" (at 179.07 52.6796 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 179.07 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 179.07 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid e6309776-46f2-4d8a-a9a5-6ffb737e7697))
+ (pin "2" (uuid 2c6fefb5-74f3-4863-b92b-bbb8b75227b8))
+ (pin "3" (uuid cb3231c5-82e6-4a1b-a64f-c6dea5462732))
+ (pin "4" (uuid 9e058ec2-6f23-4e3f-8057-0bd20e2df5e4))
+ (pin "5" (uuid c106154f-d948-43e5-abfa-e1b96055d91b))
+ (pin "6" (uuid c24d6ac8-802d-4df3-a210-9cb1f693e865))
+ (pin "8" (uuid 80ab43c5-0fd7-42e9-bc3b-8b9d3706526b))
+ (pin "9" (uuid 73180b3e-87c7-48d3-b4f7-744e23217021))
+ (pin "10" (uuid 50fac96d-6cfd-4697-be04-6a8156eac8ed))
+ (pin "11" (uuid ccae5081-a217-4452-b68a-0383da1230a7))
+ (pin "12" (uuid 7b878586-7326-4f48-a301-7479e2b74585))
+ (pin "13" (uuid 5085b206-209a-4227-9ddd-8330928dec09))
+ (pin "14" (uuid a0f016f4-07ca-4c15-87f2-6298052f353a))
+ (pin "7" (uuid 4967f85c-1438-4701-9a14-c9771415bd41))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U1") (unit 3)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 198.12 52.07 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid bc973790-2a00-4fa8-9f08-a2ab2bb7ebd2)
+ (property "Reference" "#PWR07" (at 198.12 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 198.247 56.4642 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 198.12 52.07 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 198.12 52.07 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 0fdc6f30-77bc-4e9b-8665-c8aa9acf5bf9))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR07") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xx:74LS04") (at 134.62 86.36 180) (unit 7)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid c9dbf4f2-a5c0-4362-a1b5-090b86109be4)
+ (property "Reference" "U1" (at 134.62 78.3082 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74LS04" (at 134.62 80.6196 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 134.62 86.36 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 134.62 86.36 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 0df17d68-7def-48c9-914c-b5251629f4c2))
+ (pin "2" (uuid a717bb5a-f3dc-4486-8b44-787f1d0ef4b2))
+ (pin "3" (uuid 3ab8e3b8-82ba-4c81-9410-b7bd19fb4b78))
+ (pin "4" (uuid fd438c2b-0ca2-43de-be60-a33cf031fce4))
+ (pin "5" (uuid bd1d02d3-7b5d-45a5-a50d-f7984a0b47a3))
+ (pin "6" (uuid 16ba747e-0b72-4cec-b149-0955f38b1e8c))
+ (pin "8" (uuid ebe1bd68-7001-4823-83ab-33ee2ab4d31e))
+ (pin "9" (uuid 0f0eb1fd-8ec4-4335-9ca0-580441fb2455))
+ (pin "10" (uuid a352474b-9056-4bd3-9f18-9b4c7a005901))
+ (pin "11" (uuid e8770305-9926-4b08-a25d-3c8bb2db52c7))
+ (pin "12" (uuid 6e5ace0e-df30-4725-87d4-cef0e6772f8d))
+ (pin "13" (uuid 13210688-8bcd-4a53-8625-bd813171f806))
+ (pin "14" (uuid f595a441-99ea-4eee-be6d-cbf8bcdf07ca))
+ (pin "7" (uuid f7135f6a-69ff-4638-b49a-570a01b7a016))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U1") (unit 7)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xx:74LS04") (at 222.25 95.25 180) (unit 6)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid cdf8f05a-748e-45cc-a151-91e4b8867f0f)
+ (property "Reference" "U1" (at 222.25 87.1982 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74LS04" (at 222.25 89.5096 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 222.25 95.25 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 222.25 95.25 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 0df17d68-7def-48c9-914c-b5251629f4c3))
+ (pin "2" (uuid a717bb5a-f3dc-4486-8b44-787f1d0ef4b3))
+ (pin "3" (uuid 3ab8e3b8-82ba-4c81-9410-b7bd19fb4b79))
+ (pin "4" (uuid fd438c2b-0ca2-43de-be60-a33cf031fce5))
+ (pin "5" (uuid bd1d02d3-7b5d-45a5-a50d-f7984a0b47a4))
+ (pin "6" (uuid 16ba747e-0b72-4cec-b149-0955f38b1e8d))
+ (pin "8" (uuid ebe1bd68-7001-4823-83ab-33ee2ab4d31f))
+ (pin "9" (uuid 0f0eb1fd-8ec4-4335-9ca0-580441fb2456))
+ (pin "10" (uuid a352474b-9056-4bd3-9f18-9b4c7a005902))
+ (pin "11" (uuid e8770305-9926-4b08-a25d-3c8bb2db52c8))
+ (pin "12" (uuid 0cbd53ea-bc25-49a7-b18a-cee491f822fc))
+ (pin "13" (uuid 172fc0c8-22c5-4308-82f6-ec825ebca71a))
+ (pin "14" (uuid f595a441-99ea-4eee-be6d-cbf8bcdf07cb))
+ (pin "7" (uuid f7135f6a-69ff-4638-b49a-570a01b7a017))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U1") (unit 6)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 231.14 97.79 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid ce490224-4cf6-4f50-9a4e-3f9359144e1f)
+ (property "Reference" "#PWR010" (at 231.14 104.14 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 231.267 102.1842 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 231.14 97.79 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 231.14 97.79 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid cfd4cad2-2714-4675-a07c-f40608f9cd0b))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR010") (unit 1)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "74xx:74LS04") (at 222.25 58.42 180) (unit 4)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid d5ecec5a-6b26-4537-8532-9179e8f36ff2)
+ (property "Reference" "U1" (at 222.25 50.3682 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "74LS04" (at 222.25 52.6796 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 222.25 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "http://www.ti.com/lit/gpn/sn74LS04" (at 222.25 58.42 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 0df17d68-7def-48c9-914c-b5251629f4c4))
+ (pin "2" (uuid a717bb5a-f3dc-4486-8b44-787f1d0ef4b4))
+ (pin "3" (uuid 3ab8e3b8-82ba-4c81-9410-b7bd19fb4b7a))
+ (pin "4" (uuid fd438c2b-0ca2-43de-be60-a33cf031fce6))
+ (pin "5" (uuid bd1d02d3-7b5d-45a5-a50d-f7984a0b47a5))
+ (pin "6" (uuid 16ba747e-0b72-4cec-b149-0955f38b1e8e))
+ (pin "8" (uuid 088f77ba-fca9-42b3-876e-a6937267f957))
+ (pin "9" (uuid 71989e06-8659-4605-b2da-4f729cc41263))
+ (pin "10" (uuid c253a22c-a5a8-4743-8c94-c9b35fc37f18))
+ (pin "11" (uuid 1bf4504b-5431-4c44-822f-b790d7434d74))
+ (pin "12" (uuid 0cbd53ea-bc25-49a7-b18a-cee491f822fd))
+ (pin "13" (uuid 172fc0c8-22c5-4308-82f6-ec825ebca71b))
+ (pin "14" (uuid f595a441-99ea-4eee-be6d-cbf8bcdf07cc))
+ (pin "7" (uuid f7135f6a-69ff-4638-b49a-570a01b7a018))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "U1") (unit 4)
+ )
+ )
+ )
+ )
+
+ (symbol (lib_id "power:GND") (at 187.96 60.96 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid f4c432dc-9d81-44df-bf5e-d355cd9b3adb)
+ (property "Reference" "#PWR0102" (at 187.96 67.31 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 188.087 65.3542 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 187.96 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 187.96 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 399fc36a-ed5d-44b5-82f7-c6f83d9acc14))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
@@ -653,4 +1182,29 @@
)
)
)
+
+ (symbol (lib_id "power:GND") (at 231.14 60.96 0) (unit 1)
+ (in_bom yes) (on_board yes) (dnp no)
+ (uuid fec181be-c1c0-4bc7-bcf8-c8f966248ace)
+ (property "Reference" "#PWR08" (at 231.14 67.31 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Value" "GND" (at 231.267 65.3542 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 231.14 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (property "Datasheet" "" (at 231.14 60.96 0)
+ (effects (font (size 1.27 1.27)) hide)
+ )
+ (pin "1" (uuid 0bcafe80-ffba-4f1e-ae51-95a595b006db))
+ (instances
+ (project "warning-project"
+ (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca75bc1"
+ (reference "#PWR08") (unit 1)
+ )
+ )
+ )
+ )
)
diff --git a/tests/board_samples/kicad_7/erc_warning/power.kicad_sch b/tests/board_samples/kicad_7/erc_warning/power.kicad_sch
index a1211775..65528a99 100644
--- a/tests/board_samples/kicad_7/erc_warning/power.kicad_sch
+++ b/tests/board_samples/kicad_7/erc_warning/power.kicad_sch
@@ -5,6 +5,121 @@
(paper "A4")
(lib_symbols
+ (symbol "fail-project-rescue:C-passive" (pin_numbers hide) (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
+ (property "Reference" "C" (at 0 1.27 0)
+ (effects (font (size 1.016 1.016)))
+ )
+ (property "Value" "C-passive" (at 0 -1.27 0)
+ (effects (font (size 1.016 1.016)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.524 1.524)))
+ )
+ (property "Datasheet" "" (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 solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy -0.635 0)
+ (xy -0.381 0)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy -0.254 0.381)
+ (xy -0.254 -0.381)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 0.254 0.381)
+ (xy 0.254 -0.381)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 0.635 0)
+ (xy 0.254 0)
+ )
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (polyline
+ (pts
+ (xy 1.27 0)
+ (xy 0.635 0)
+ )
+ (stroke (width 0) (type solid))
+ (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 "fail-project-rescue:CONN_01X02-conn" (pin_names (offset 1.016) hide) (in_bom yes) (on_board yes)
+ (property "Reference" "P" (at 0 3.81 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Value" "CONN_01X02-conn" (at 2.54 0 90)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Footprint" "" (at 0 0 0)
+ (effects (font (size 1.27 1.27)))
+ )
+ (property "Datasheet" "" (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" (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 solid))
+ (fill (type none))
+ )
+ (rectangle (start -1.27 1.397) (end 0.254 1.143)
+ (stroke (width 0) (type solid))
+ (fill (type none))
+ )
+ (rectangle (start -1.27 2.54) (end 1.27 -2.54)
+ (stroke (width 0) (type solid))
+ (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 "power:GND" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
(property "Reference" "#PWR" (at 0 -6.35 0)
(effects (font (size 1.27 1.27)) hide)
@@ -85,243 +200,81 @@
)
)
)
- (symbol "power:VCC" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
- (property "Reference" "#PWR" (at 0 -3.81 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Value" "VCC" (at 0 3.81 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Footprint" "" (at 0 0 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Datasheet" "" (at 0 0 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "ki_keywords" "power-flag" (at 0 0 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "ki_description" "Power symbol creates a global label with name \"VCC\"" (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))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 0 0)
- (xy 0 2.54)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 0 2.54)
- (xy 0.762 1.27)
- )
- (stroke (width 0) (type default))
- (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" (at 0 1.27 0)
- (effects (font (size 1.016 1.016)))
- )
- (property "Value" "C-passive" (at 0 -1.27 0)
- (effects (font (size 1.016 1.016)))
- )
- (property "Footprint" "" (at 0 0 0)
- (effects (font (size 1.524 1.524)))
- )
- (property "Datasheet" "" (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))
- (fill (type none))
- )
- (polyline
- (pts
- (xy -0.635 0)
- (xy -0.381 0)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy -0.254 0.381)
- (xy -0.254 -0.381)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 0.254 0.381)
- (xy 0.254 -0.381)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 0.635 0)
- (xy 0.254 0)
- )
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (polyline
- (pts
- (xy 1.27 0)
- (xy 0.635 0)
- )
- (stroke (width 0) (type default))
- (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" (at 0 3.81 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Value" "CONN_01X02-conn" (at 2.54 0 90)
- (effects (font (size 1.27 1.27)))
- )
- (property "Footprint" "" (at 0 0 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Datasheet" "" (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" (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))
- (fill (type none))
- )
- (rectangle (start -1.27 1.397) (end 0.254 1.143)
- (stroke (width 0) (type default))
- (fill (type none))
- )
- (rectangle (start -1.27 2.54) (end 1.27 -2.54)
- (stroke (width 0) (type default))
- (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 123.19 90.17) (diameter 1.016) (color 0 0 0 0)
+ (uuid 0f41a909-27c4-4be2-9d5e-9ae2108c8ff5)
)
- (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.17) (diameter 1.016) (color 0 0 0 0)
+ (uuid 35354519-a28c-40c4-befd-0943e98dea53)
)
- (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)
+ (junction (at 123.19 92.71) (diameter 1.016) (color 0 0 0 0)
+ (uuid 632acde9-b7fd-4f04-8cb4-d2cbb06b3595)
)
- (wire (pts (xy 125.476 89.408) (xy 125.476 90.424))
+ (wire (pts (xy 123.19 90.17) (xy 138.43 90.17))
(stroke (width 0) (type solid))
- (uuid 03d88a85-11fd-47aa-954c-c318bb15294a)
+ (uuid 150a6923-10ec-4a0b-bf2e-18204cd1f43e)
)
- (wire (pts (xy 132.334 90.424) (xy 138.43 90.424))
+ (wire (pts (xy 116.84 90.17) (xy 123.19 90.17))
(stroke (width 0) (type solid))
- (uuid 0dcdf1b8-13c6-48b4-bd94-5d26038ff231)
+ (uuid 38f2d955-ea7a-4a21-aba6-02ae23f1bd4a)
)
- (wire (pts (xy 125.476 90.424) (xy 132.334 90.424))
+ (wire (pts (xy 138.43 90.17) (xy 142.24 90.17))
(stroke (width 0) (type solid))
- (uuid 1a2f72d1-0b36-4610-afc4-4ad1660d5d3b)
+ (uuid 417f13e4-c121-485a-a6b5-8b55e70350b8)
)
- (wire (pts (xy 123.19 92.964) (xy 132.334 92.964))
- (stroke (width 0) (type solid))
- (uuid 51c4dc0a-5b9f-4edf-a83f-4a12881e42ef)
+ (wire (pts (xy 123.19 90.17) (xy 123.19 88.9))
+ (stroke (width 0) (type default))
+ (uuid 6343779f-beb2-4103-a4d9-e220408dea94)
)
- (wire (pts (xy 138.43 90.424) (xy 142.748 90.424))
- (stroke (width 0) (type solid))
- (uuid 58dc14f9-c158-4824-a84e-24a6a482a7a4)
+ (wire (pts (xy 123.19 93.98) (xy 123.19 92.71))
+ (stroke (width 0) (type default))
+ (uuid 78b7feb0-0b7c-4192-9e1c-8e9c631dabac)
)
- (wire (pts (xy 115.57 92.964) (xy 123.19 92.964))
+ (wire (pts (xy 132.08 92.71) (xy 132.08 96.52))
(stroke (width 0) (type solid))
- (uuid 842e430f-0c35-45f3-a0b5-95ae7b7ae388)
+ (uuid 9dab0cb7-2557-4419-963b-5ae736517f62)
)
- (wire (pts (xy 115.57 90.424) (xy 125.476 90.424))
+ (wire (pts (xy 116.84 92.71) (xy 123.19 92.71))
(stroke (width 0) (type solid))
- (uuid 98e81e80-1f85-4152-be3f-99785ea97751)
+ (uuid b730f65f-6cde-4ea1-9534-9186248be2cc)
)
- (wire (pts (xy 132.334 92.964) (xy 132.334 95.504))
+ (wire (pts (xy 138.43 91.44) (xy 138.43 90.17))
+ (stroke (width 0) (type default))
+ (uuid b7e8ba25-d115-4fe4-8b60-45066b963960)
+ )
+ (wire (pts (xy 138.43 95.25) (xy 138.43 93.98))
+ (stroke (width 0) (type default))
+ (uuid df0a9cff-f402-4745-ad96-fa7a1fe69951)
+ )
+ (wire (pts (xy 123.19 92.71) (xy 132.08 92.71))
(stroke (width 0) (type solid))
- (uuid dde3dba8-1b81-466c-93a3-c284ff4da1ef)
+ (uuid e12e827e-36be-4503-8eef-6fc7e8bc5d49)
)
- (hierarchical_label "VCC" (shape output) (at 142.748 90.424 0) (fields_autoplaced)
+ (hierarchical_label "VCC" (shape output) (at 142.24 90.17 0) (fields_autoplaced)
(effects (font (size 1.27 1.27)) (justify left))
- (uuid f976e2cc-36f9-4479-a816-2c74d1d5da6f)
+ (uuid c201e1b2-fc01-4110-bdaa-a33290468c83)
)
- (symbol (lib_id "warning-project-rescue:CONN_01X02-conn") (at 110.49 91.694 180) (unit 1)
+ (symbol (lib_id "fail-project-rescue:CONN_01X02-conn") (at 111.76 91.44 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca714f2)
- (property "Reference" "P1" (at 112.5982 84.709 0)
+ (property "Reference" "P1" (at 113.8682 84.455 0)
(effects (font (size 1.27 1.27)))
)
- (property "Value" "CONN_01X02" (at 112.5982 87.0204 0)
+ (property "Value" "CONN_01X02" (at 113.8682 86.7664 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical" (at 110.49 91.694 0)
+ (property "Footprint" "Connector_JST:JST_JWPF_B02B-JWPF-SK-R_1x02_P2.00mm_Vertical" (at 111.76 91.44 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Datasheet" "" (at 110.49 91.694 0)
+ (property "Datasheet" "" (at 111.76 91.44 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 704d6d51-bb34-4cbf-83d8-841e208048d8))
- (pin "2" (uuid 0eaa98f0-9565-4637-ace3-42a5231b07f7))
+ (pin "1" (uuid 10109f84-4940-47f8-8640-91f185ac9bc1))
+ (pin "2" (uuid 55e740a3-0735-4744-896e-2bf5437093b9))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
@@ -331,47 +284,47 @@
)
)
- (symbol (lib_id "power:VCC") (at 132.334 90.424 0) (unit 1)
+ (symbol (lib_id "power:PWR_FLAG") (at 123.19 88.9 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
- (uuid 00000000-0000-0000-0000-00005ca71fa4)
- (property "Reference" "#PWR0101" (at 132.334 94.234 0)
+ (uuid 00000000-0000-0000-0000-00005ca71c3c)
+ (property "Reference" "#FLG01" (at 123.19 86.487 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Value" "VCC" (at 132.7658 86.0298 0)
+ (property "Value" "PWR_FLAG" (at 123.19 83.2358 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 132.334 90.424 0)
+ (property "Footprint" "" (at 123.19 88.9 0)
(effects (font (size 1.27 1.27)))
)
- (property "Datasheet" "" (at 132.334 90.424 0)
+ (property "Datasheet" "~" (at 123.19 88.9 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 54365317-1355-4216-bb75-829375abc4ec))
+ (pin "1" (uuid afb8e687-4a13-41a1-b8c0-89a749e897fe))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
- (reference "#PWR0101") (unit 1)
+ (reference "#FLG01") (unit 1)
)
)
)
)
- (symbol (lib_id "power:PWR_FLAG") (at 123.19 92.964 180) (unit 1)
+ (symbol (lib_id "power:PWR_FLAG") (at 123.19 93.98 180) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca72902)
- (property "Reference" "#FLG02" (at 123.19 95.377 0)
+ (property "Reference" "#FLG02" (at 123.19 96.393 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Value" "PWR_FLAG" (at 123.19 98.6282 0)
+ (property "Value" "PWR_FLAG" (at 123.19 99.6442 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 123.19 92.964 0)
+ (property "Footprint" "" (at 123.19 93.98 0)
(effects (font (size 1.27 1.27)))
)
- (property "Datasheet" "" (at 123.19 92.964 0)
+ (property "Datasheet" "~" (at 123.19 93.98 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 127679a9-3981-4934-815e-896a4e3ff56e))
+ (pin "1" (uuid 6a955fc7-39d9-4c75-9a69-676ca8c0b9b2))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
@@ -381,22 +334,22 @@
)
)
- (symbol (lib_id "power:GND") (at 132.334 95.504 0) (unit 1)
+ (symbol (lib_id "power:GND") (at 132.08 96.52 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca73f58)
- (property "Reference" "#PWR01" (at 132.334 101.854 0)
+ (property "Reference" "#PWR01" (at 132.08 102.87 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Value" "GND" (at 132.461 99.8982 0)
+ (property "Value" "GND" (at 132.207 100.9142 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 132.334 95.504 0)
+ (property "Footprint" "" (at 132.08 96.52 0)
(effects (font (size 1.27 1.27)))
)
- (property "Datasheet" "" (at 132.334 95.504 0)
+ (property "Datasheet" "" (at 132.08 96.52 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 5fc27c35-3e1c-4f96-817c-93b5570858a6))
+ (pin "1" (uuid e615f7aa-337e-474d-9615-2ad82b1c44ca))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
@@ -406,23 +359,23 @@
)
)
- (symbol (lib_id "warning-project-rescue:C-passive") (at 138.43 91.694 270) (unit 1)
+ (symbol (lib_id "fail-project-rescue:C-passive") (at 138.43 92.71 270) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca745a6)
- (property "Reference" "C1" (at 139.5476 90.5256 90)
+ (property "Reference" "C1" (at 139.5476 91.5416 90)
(effects (font (size 1.016 1.016)) (justify left))
)
- (property "Value" "C" (at 139.5476 92.456 90)
+ (property "Value" "C" (at 139.5476 93.472 90)
(effects (font (size 1.016 1.016)) (justify left))
)
- (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (at 138.43 91.694 0)
+ (property "Footprint" "Capacitor_SMD:C_0402_1005Metric" (at 138.43 92.71 0)
(effects (font (size 1.524 1.524)) hide)
)
- (property "Datasheet" "" (at 138.43 91.694 0)
+ (property "Datasheet" "" (at 138.43 92.71 0)
(effects (font (size 1.524 1.524)))
)
- (pin "1" (uuid 1831fb37-1c5d-42c4-b898-151be6fca9dc))
- (pin "2" (uuid 0f22151c-f260-4674-b486-4710a2c42a55))
+ (pin "1" (uuid 66116376-6967-4178-9f23-a26cdeafc400))
+ (pin "2" (uuid 749dfe75-c0d6-4872-9330-29c5bbcb8ff8))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
@@ -432,22 +385,22 @@
)
)
- (symbol (lib_id "power:GND") (at 138.43 92.964 0) (unit 1)
+ (symbol (lib_id "power:GND") (at 138.43 95.25 0) (unit 1)
(in_bom yes) (on_board yes) (dnp no)
(uuid 00000000-0000-0000-0000-00005ca755f5)
- (property "Reference" "#PWR02" (at 138.43 99.314 0)
+ (property "Reference" "#PWR02" (at 138.43 101.6 0)
(effects (font (size 1.27 1.27)) hide)
)
- (property "Value" "GND" (at 138.557 97.3582 0)
+ (property "Value" "GND" (at 138.557 99.6442 0)
(effects (font (size 1.27 1.27)))
)
- (property "Footprint" "" (at 138.43 92.964 0)
+ (property "Footprint" "" (at 138.43 95.25 0)
(effects (font (size 1.27 1.27)))
)
- (property "Datasheet" "" (at 138.43 92.964 0)
+ (property "Datasheet" "" (at 138.43 95.25 0)
(effects (font (size 1.27 1.27)))
)
- (pin "1" (uuid 03c52831-5dc5-43c5-a442-8d23643b46fb))
+ (pin "1" (uuid 30f15357-ce1d-48b9-93dc-7d9b1b2aa048))
(instances
(project "warning-project"
(path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
@@ -456,29 +409,4 @@
)
)
)
-
- (symbol (lib_id "power:PWR_FLAG") (at 125.476 89.408 0) (unit 1)
- (in_bom yes) (on_board yes) (dnp no)
- (uuid 730f8822-2270-4bad-80bd-620f2d81aa41)
- (property "Reference" "#FLG0101" (at 125.476 87.503 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Value" "PWR_FLAG" (at 125.476 85.0836 0)
- (effects (font (size 1.27 1.27)))
- )
- (property "Footprint" "" (at 125.476 89.408 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (property "Datasheet" "~" (at 125.476 89.408 0)
- (effects (font (size 1.27 1.27)) hide)
- )
- (pin "1" (uuid 30f15357-ce1d-48b9-93dc-7d9b1b2aa048))
- (instances
- (project "warning-project"
- (path "/87c78429-be2b-40ed-8d3b-56cb9666a56f/00000000-0000-0000-0000-00005ca71704"
- (reference "#FLG0101") (unit 1)
- )
- )
- )
- )
)
diff --git a/tests/board_samples/kicad_7/erc_warning/sym-lib-table b/tests/board_samples/kicad_7/erc_warning/sym-lib-table
index 8e2f8116..196a01ad 100644
--- a/tests/board_samples/kicad_7/erc_warning/sym-lib-table
+++ b/tests/board_samples/kicad_7/erc_warning/sym-lib-table
@@ -1,3 +1,4 @@
(sym_lib_table
(lib (name "warning-project-rescue")(type "KiCad")(uri "${KIPRJMOD}/warning-project-rescue.kicad_sym")(options "")(descr ""))
+ (lib (name fail-project-rescue)(type Legacy)(uri ${KIPRJMOD}/fail-project-rescue.lib)(options "")(descr ""))
)
diff --git a/tests/board_samples/kicad_7/erc_warning/warning-project.kicad_sch b/tests/board_samples/kicad_7/erc_warning/warning-project.kicad_sch
index 54734231..313b8cb7 100644
--- a/tests/board_samples/kicad_7/erc_warning/warning-project.kicad_sch
+++ b/tests/board_samples/kicad_7/erc_warning/warning-project.kicad_sch
@@ -8,22 +8,22 @@
)
- (wire (pts (xy 110.49 63.246) (xy 138.684 63.246))
- (stroke (width 0) (type solid))
- (uuid e83e0227-ac0f-4180-82bd-68d3a7b56476)
+ (wire (pts (xy 111.76 63.5) (xy 137.16 63.5))
+ (stroke (width 0) (type default))
+ (uuid da6d10cb-92aa-4b78-ab10-321cb0ff8fb3)
)
- (sheet (at 81.788 54.356) (size 28.702 37.084)
+ (sheet (at 81.28 53.34) (size 30.48 40.64)
(stroke (width 0) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 00000000-0000-0000-0000-00005ca71704)
- (property "Sheetname" "Power" (at 81.788 53.7205 0)
+ (property "Sheetname" "Power" (at 81.28 52.7045 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
- (property "Sheetfile" "power.kicad_sch" (at 81.788 91.9485 0)
+ (property "Sheetfile" "power.kicad_sch" (at 81.28 90.9325 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
- (pin "VCC" output (at 110.49 63.246 0)
+ (pin "VCC" output (at 111.76 63.5 0)
(effects (font (size 1.27 1.27)) (justify right))
(uuid 7e969d15-6cc0-4258-8b27-586608a21adb)
)
@@ -34,17 +34,17 @@
)
)
- (sheet (at 138.684 55.372) (size 31.242 36.322)
+ (sheet (at 137.16 53.34) (size 33.02 40.64)
(stroke (width 0) (type solid))
(fill (color 0 0 0 0.0000))
(uuid 00000000-0000-0000-0000-00005ca75bc1)
- (property "Sheetname" "logic" (at 138.684 54.7365 0)
+ (property "Sheetname" "logic" (at 137.16 52.7045 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
)
- (property "Sheetfile" "logic.kicad_sch" (at 138.684 92.2025 0)
+ (property "Sheetfile" "logic.kicad_sch" (at 137.16 90.1705 0)
(effects (font (size 1.27 1.27)) (justify left top))
)
- (pin "VCC" input (at 138.684 63.246 180)
+ (pin "VCC" input (at 137.16 63.5 180)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 6ca3c38c-4e71-4202-b6c1-1b25f04a27ae)
)
diff --git a/tests/board_samples/kicad_7/fail-project.kicad_prl b/tests/board_samples/kicad_7/fail-project.kicad_prl
new file mode 100644
index 00000000..0340fe7a
--- /dev/null
+++ b/tests/board_samples/kicad_7/fail-project.kicad_prl
@@ -0,0 +1,77 @@
+{
+ "board": {
+ "active_layer": 44,
+ "active_layer_preset": "All Layers",
+ "auto_track_width": true,
+ "hidden_netclasses": [],
+ "hidden_nets": [],
+ "high_contrast_mode": 0,
+ "net_color_mode": 1,
+ "opacity": {
+ "images": 0.6,
+ "pads": 1.0,
+ "tracks": 1.0,
+ "vias": 1.0,
+ "zones": 0.6
+ },
+ "selection_filter": {
+ "dimensions": true,
+ "footprints": true,
+ "graphics": true,
+ "keepouts": true,
+ "lockedItems": false,
+ "otherItems": true,
+ "pads": true,
+ "text": true,
+ "tracks": true,
+ "vias": true,
+ "zones": true
+ },
+ "visible_items": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 8,
+ 9,
+ 10,
+ 11,
+ 12,
+ 13,
+ 15,
+ 16,
+ 17,
+ 18,
+ 19,
+ 20,
+ 21,
+ 22,
+ 23,
+ 24,
+ 25,
+ 26,
+ 27,
+ 28,
+ 29,
+ 30,
+ 32,
+ 33,
+ 34,
+ 35,
+ 36,
+ 39,
+ 40
+ ],
+ "visible_layers": "fffffff_ffffffff",
+ "zone_display_mode": 0
+ },
+ "meta": {
+ "filename": "fail-project.kicad_prl",
+ "version": 3
+ },
+ "project": {
+ "files": []
+ }
+}
diff --git a/tests/board_samples/kicad_7/fail-project.kicad_pro b/tests/board_samples/kicad_7/fail-project.kicad_pro
index eb0100ee..fe637832 100644
--- a/tests/board_samples/kicad_7/fail-project.kicad_pro
+++ b/tests/board_samples/kicad_7/fail-project.kicad_pro
@@ -52,8 +52,10 @@
"diff_pair_dimensions": [],
"drc_exclusions": [
"clearance|176385001|79614999|7e023245-2c2b-4e2b-bfb9-5d35176e88f2|666713b0-70f4-42df-8761-f65bc212d03b",
+ "invalid_outline|165100000|80645000|13afaae8-0f17-437c-8995-388b4489e4bd|00000000-0000-0000-0000-000000000000",
"invalid_outline|165100000|80645000|e6d8b5bb-6f41-4222-9a89-b8a6280d0752|00000000-0000-0000-0000-000000000000",
- "silk_over_copper|153440000|84620000|3f5fe6b7-98fc-4d3e-9567-f9f7202d1455|f4f99e3d-7269-4f6a-a759-16ad2a258779"
+ "silk_over_copper|153440000|84620000|3f5fe6b7-98fc-4d3e-9567-f9f7202d1455|f4f99e3d-7269-4f6a-a759-16ad2a258779",
+ "solder_mask_bridge|176385001|79614999|7e023245-2c2b-4e2b-bfb9-5d35176e88f2|666713b0-70f4-42df-8761-f65bc212d03b"
],
"meta": {
"version": 2
diff --git a/tests/reference/7_0_0/PCB_Bot.pdf b/tests/reference/7_0_0/PCB_Bot.pdf
deleted file mode 120000
index 03795c69..00000000
--- a/tests/reference/7_0_0/PCB_Bot.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../6_0_8/PCB_Bot.pdf
\ No newline at end of file
diff --git a/tests/reference/7_0_0/PCB_Bot.pdf b/tests/reference/7_0_0/PCB_Bot.pdf
new file mode 100644
index 00000000..6da2afdd
Binary files /dev/null and b/tests/reference/7_0_0/PCB_Bot.pdf differ
diff --git a/tests/reference/7_0_0/PCB_Bot_def.pdf b/tests/reference/7_0_0/PCB_Bot_def.pdf
deleted file mode 120000
index 67939223..00000000
--- a/tests/reference/7_0_0/PCB_Bot_def.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../6_0_8/PCB_Bot_def.pdf
\ No newline at end of file
diff --git a/tests/reference/7_0_0/PCB_Bot_def.pdf b/tests/reference/7_0_0/PCB_Bot_def.pdf
new file mode 100644
index 00000000..d384eeda
Binary files /dev/null and b/tests/reference/7_0_0/PCB_Bot_def.pdf differ
diff --git a/tests/reference/7_0_0/bom-F_Cu+F_SilkS.pdf b/tests/reference/7_0_0/bom-F_Cu+F_SilkS.pdf
deleted file mode 120000
index df76c752..00000000
--- a/tests/reference/7_0_0/bom-F_Cu+F_SilkS.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../6_0_8/bom-F_Cu+F_SilkS.pdf
\ No newline at end of file
diff --git a/tests/reference/7_0_0/bom-F_Cu+F_SilkS.pdf b/tests/reference/7_0_0/bom-F_Cu+F_SilkS.pdf
new file mode 100644
index 00000000..c3d60f13
Binary files /dev/null and b/tests/reference/7_0_0/bom-F_Cu+F_SilkS.pdf differ
diff --git a/tests/reference/7_0_0/bom-F_Cu+F_SilkS.svg b/tests/reference/7_0_0/bom-F_Cu+F_SilkS.svg
deleted file mode 120000
index 758e8d1e..00000000
--- a/tests/reference/7_0_0/bom-F_Cu+F_SilkS.svg
+++ /dev/null
@@ -1 +0,0 @@
-../6_0_8/bom-F_Cu+F_SilkS.svg
\ No newline at end of file
diff --git a/tests/reference/7_0_0/bom-F_Cu+F_SilkS.svg b/tests/reference/7_0_0/bom-F_Cu+F_SilkS.svg
new file mode 100644
index 00000000..1bbaaf1e
--- /dev/null
+++ b/tests/reference/7_0_0/bom-F_Cu+F_SilkS.svg
@@ -0,0 +1,63 @@
+
+
diff --git a/tests/reference/7_0_0/bom_portrait-F_Cu+F_SilkS.svg b/tests/reference/7_0_0/bom_portrait-F_Cu+F_SilkS.svg
deleted file mode 120000
index 2e7b5d1a..00000000
--- a/tests/reference/7_0_0/bom_portrait-F_Cu+F_SilkS.svg
+++ /dev/null
@@ -1 +0,0 @@
-../6_0_8/bom_portrait-F_Cu+F_SilkS.svg
\ No newline at end of file
diff --git a/tests/reference/7_0_0/bom_portrait-F_Cu+F_SilkS.svg b/tests/reference/7_0_0/bom_portrait-F_Cu+F_SilkS.svg
new file mode 100644
index 00000000..4cd0dfbf
--- /dev/null
+++ b/tests/reference/7_0_0/bom_portrait-F_Cu+F_SilkS.svg
@@ -0,0 +1,63 @@
+
+
diff --git a/tests/reference/7_0_0/kibom-variant_3_txt-F_Fab.pdf b/tests/reference/7_0_0/kibom-variant_3_txt-F_Fab.pdf
deleted file mode 120000
index f5cd3174..00000000
--- a/tests/reference/7_0_0/kibom-variant_3_txt-F_Fab.pdf
+++ /dev/null
@@ -1 +0,0 @@
-../6_0_8/kibom-variant_3_txt-F_Fab.pdf
\ No newline at end of file
diff --git a/tests/reference/7_0_0/kibom-variant_3_txt-F_Fab.pdf b/tests/reference/7_0_0/kibom-variant_3_txt-F_Fab.pdf
new file mode 100644
index 00000000..2540736e
Binary files /dev/null and b/tests/reference/7_0_0/kibom-variant_3_txt-F_Fab.pdf differ
diff --git a/tests/test_plot/test_preflight.py b/tests/test_plot/test_preflight.py
index d6f22817..779ce892 100644
--- a/tests/test_plot/test_preflight.py
+++ b/tests/test_plot/test_preflight.py
@@ -81,12 +81,14 @@ def test_erc_warning_2(test_dir):
def test_drc_1(test_dir):
- prj = 'bom'
+ prj = name = 'bom'
+ if context.ki7():
+ prj = 'bom/'+prj
ctx = context.TestContext(test_dir, prj, 'drc', '')
ctx.run()
# Check all outputs are there
- ctx.expect_out_file(prj+'-drc.txt')
- ctx.clean_up()
+ ctx.expect_out_file(name+'-drc.txt')
+ ctx.clean_up(keep_project=context.ki7())
def test_drc_filter_1(test_dir):
@@ -177,7 +179,7 @@ def test_update_xml_1(test_dir):
@pytest.mark.slow
@pytest.mark.eeschema
-@pytest.mark.skipif(context.ki5(), reason="KiCad 6 implementation")
+@pytest.mark.skipif(context.ki5() or context.ki7(), reason="KiCad 6 implementation")
def test_update_xml_2(test_dir):
prj = 'pcb_parity'
ctx = context.TestContext(test_dir, prj, 'update_xml_2', '')
diff --git a/tests/yaml_samples/drc_filter.kibot.yaml b/tests/yaml_samples/drc_filter.kibot.yaml
index 5ff1021a..d320535e 100644
--- a/tests/yaml_samples/drc_filter.kibot.yaml
+++ b/tests/yaml_samples/drc_filter.kibot.yaml
@@ -27,3 +27,10 @@ preflight:
- filter_msg: 'Ignore unconnected pad 2 of C4'
error: unconnected_items
regexp: 'Pad 2 .* of C4'
+ # KiCad v7 rc2
+ - filter_msg: 'Ignore solder mask bridge'
+ error: solder_mask_bridge
+ regexp: 'of C3 on F.Cu'
+ - filter_msg: 'Ignore library issues'
+ error: lib_footprint_issues
+ regexp: '.*'
diff --git a/tests/yaml_samples/drc_filter_k6_exc.kibot.yaml b/tests/yaml_samples/drc_filter_k6_exc.kibot.yaml
index 67c20886..920570f2 100644
--- a/tests/yaml_samples/drc_filter_k6_exc.kibot.yaml
+++ b/tests/yaml_samples/drc_filter_k6_exc.kibot.yaml
@@ -14,3 +14,6 @@ preflight:
- filter_msg: 'Ignore missing outline'
error: invalid_outline
regexp: 'no edges found'
+ - filter_msg: 'Ignore library issues'
+ error: lib_footprint_mismatch
+ regexp: '.*'
diff --git a/tests/yaml_samples/pcb_print_2.kibot.yaml b/tests/yaml_samples/pcb_print_2.kibot.yaml
index 2fa3032a..db0091a4 100644
--- a/tests/yaml_samples/pcb_print_2.kibot.yaml
+++ b/tests/yaml_samples/pcb_print_2.kibot.yaml
@@ -29,71 +29,71 @@ outputs:
- layer: Edge.Cuts
color: "#004040"
page_id: F_Cu_color
- - monochrome: true
- layers:
- - layer: F.Cu
- - layer: F.Mask
- color: '#14332440'
- - layer: Edge.Cuts
- color: "#004040"
- page_id: F_Cu_mono
-
- - name: 'print_bottom'
- comment: "Experiment"
- type: pcb_print
- options:
- plot_sheet_reference: true
- dnf_filter: _mechanical
- format: 'EPS'
- scaling: 0
- sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks'
- # frame_plot_mechanism: gui slow
- # frame_plot_mechanism: plot only k6
- drill_marks: small
- force_edge_cuts: true
- pages:
- - layers:
- - layer: B.Cu
- - layer: B.Mask
- color: '#14332440'
- sort_layers: true
- monochrome: true
- mirror: true
- sheet_reference_color: "#A02020"
-
- - name: 'print_inner_1'
- comment: "Experiment"
- type: pcb_print
- options:
- plot_sheet_reference: true
- dnf_filter: _mechanical
- format: 'SVG'
- # frame_plot_mechanism: gui slow
- # frame_plot_mechanism: plot only k6
- drill_marks: none
- force_edge_cuts: true
- pages:
- - layers:
- - layer: In1.Cu
- sheet_reference_color: "#A02020"
-
- - name: 'print_bottom_3'
- comment: "Experiment"
- type: pcb_print
- options:
- plot_sheet_reference: true
- dnf_filter: _mechanical
- hide_excluded: true
- format: 'PS'
- # frame_plot_mechanism: gui slow
- # frame_plot_mechanism: plot only k6
- drill_marks: none
- force_edge_cuts: true
- via_color: '#FF8080'
- pages:
- - layers:
- - layer: B.Cu
- - layer: B.Mask
- color: '#14332440'
- mirror: true
- sheet_reference_color: "#A02020"
+# - monochrome: true
+# layers:
+# - layer: F.Cu
+# - layer: F.Mask
+# color: '#14332440'
+# - layer: Edge.Cuts
+# color: "#004040"
+# page_id: F_Cu_mono
+#
+# - name: 'print_bottom'
+# comment: "Experiment"
+# type: pcb_print
+# options:
+# plot_sheet_reference: true
+# dnf_filter: _mechanical
+# format: 'EPS'
+# scaling: 0
+# sheet_reference_layout: '${KIPRJMOD}/../../data/test_img.kicad_wks'
+# # frame_plot_mechanism: gui slow
+# # frame_plot_mechanism: plot only k6
+# drill_marks: small
+# force_edge_cuts: true
+# pages:
+# - layers:
+# - layer: B.Cu
+# - layer: B.Mask
+# color: '#14332440'
+# sort_layers: true
+# monochrome: true
+# mirror: true
+# sheet_reference_color: "#A02020"
+#
+# - name: 'print_inner_1'
+# comment: "Experiment"
+# type: pcb_print
+# options:
+# plot_sheet_reference: true
+# dnf_filter: _mechanical
+# format: 'SVG'
+# # frame_plot_mechanism: gui slow
+# # frame_plot_mechanism: plot only k6
+# drill_marks: none
+# force_edge_cuts: true
+# pages:
+# - layers:
+# - layer: In1.Cu
+# sheet_reference_color: "#A02020"
+#
+# - name: 'print_bottom_3'
+# comment: "Experiment"
+# type: pcb_print
+# options:
+# plot_sheet_reference: true
+# dnf_filter: _mechanical
+# hide_excluded: true
+# format: 'PS'
+# # frame_plot_mechanism: gui slow
+# # frame_plot_mechanism: plot only k6
+# drill_marks: none
+# force_edge_cuts: true
+# via_color: '#FF8080'
+# pages:
+# - layers:
+# - layer: B.Cu
+# - layer: B.Mask
+# color: '#14332440'
+# mirror: true
+# sheet_reference_color: "#A02020"