From 3ef5749cb1c664cecf15f0a5b9b207e4dc6fed85 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Wed, 25 Jun 2025 23:19:09 -0600 Subject: [PATCH] fix ERC --- cerberus_sp4t.kicad_dru | 6 + cerberus_sp4t.kicad_prl | 2 +- cerberus_sp4t.kicad_pro | 4 +- cerberus_sp4t.kicad_sch | 314 +++++++++++++++++++++++++++++++++++++++- 4 files changed, 322 insertions(+), 4 deletions(-) diff --git a/cerberus_sp4t.kicad_dru b/cerberus_sp4t.kicad_dru index 275ecf3..9cb7489 100644 --- a/cerberus_sp4t.kicad_dru +++ b/cerberus_sp4t.kicad_dru @@ -5,3 +5,9 @@ (constraint silk_clearance) (severity ignore) ) + +(rule IgnoreSmaEdge + (condition "A.getField('Footprint') == '*SuperSMA*'") + (constraint edge_clearance) + (severity ignore) +) diff --git a/cerberus_sp4t.kicad_prl b/cerberus_sp4t.kicad_prl index 63f2069..37f1a58 100644 --- a/cerberus_sp4t.kicad_prl +++ b/cerberus_sp4t.kicad_prl @@ -1,6 +1,6 @@ { "board": { - "active_layer": 37, + "active_layer": 44, "active_layer_preset": "All Layers", "auto_track_width": false, "hidden_netclasses": [], diff --git a/cerberus_sp4t.kicad_pro b/cerberus_sp4t.kicad_pro index caf290f..3ce28f2 100644 --- a/cerberus_sp4t.kicad_pro +++ b/cerberus_sp4t.kicad_pro @@ -129,8 +129,8 @@ "min_text_thickness": 0.127, "min_through_hole_diameter": 0.2, "min_track_width": 0.0889, - "min_via_annular_width": 0.127, - "min_via_diameter": 0.2, + "min_via_annular_width": 0.05, + "min_via_diameter": 0.3, "solder_mask_clearance": 0.0, "solder_mask_min_width": 0.0, "solder_mask_to_copper_clearance": 0.0, diff --git a/cerberus_sp4t.kicad_sch b/cerberus_sp4t.kicad_sch index a19d532..992dfaa 100644 --- a/cerberus_sp4t.kicad_sch +++ b/cerberus_sp4t.kicad_sch @@ -1970,6 +1970,102 @@ ) ) ) + (symbol "bh:PWR_FLAG" + (power) + (pin_numbers hide) + (pin_names + (offset 0) hide) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "#FLG" + (at 0 1.905 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "PWR_FLAG" + (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 yes) + ) + ) + (property "Datasheet" "~" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Special symbol for telling ERC where power comes from" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "power-flag" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "PWR_FLAG_0_0" + (pin power_out line + (at 0 0 90) + (length 0) + (name "pwr" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (symbol "PWR_FLAG_0_1" + (polyline + (pts + (xy 0 0) (xy 0 1.27) (xy -1.016 1.905) (xy 0 2.54) (xy 1.016 1.905) (xy 0 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + ) (symbol "bh:R" (pin_numbers hide) (pin_names @@ -2291,6 +2387,12 @@ (color 0 0 0 0) (uuid "1cf740d5-e420-4ea1-81f3-2192f6d04567") ) + (junction + (at 97.79 39.37) + (diameter 0) + (color 0 0 0 0) + (uuid "1dfeaec3-4d0b-43d3-a506-19c5ebfe0520") + ) (junction (at 124.46 104.14) (diameter 0) @@ -2445,6 +2547,16 @@ ) (uuid "0c61b6bd-d9cd-4848-9a81-ffed2103f39b") ) + (wire + (pts + (xy 97.79 39.37) (xy 101.6 39.37) + ) + (stroke + (width 0) + (type default) + ) + (uuid "11909bf2-2558-498a-8b9e-cbdd8d755a39") + ) (wire (pts (xy 149.86 124.46) (xy 149.86 127) @@ -2927,7 +3039,7 @@ ) (wire (pts - (xy 88.9 39.37) (xy 101.6 39.37) + (xy 88.9 39.37) (xy 97.79 39.37) ) (stroke (width 0) @@ -3570,6 +3682,74 @@ ) ) ) + (symbol + (lib_id "bh:GND") + (at 97.79 57.15 0) + (mirror y) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "25cff005-e874-4028-b3af-7ad05cf5f14d") + (property "Reference" "#PWR024" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 97.79 61.214 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Footprint" "" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power Symbol" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "df8d63aa-04d9-4eab-a999-c24c8a22e1b4") + ) + (instances + (project "cerberus_sp4t" + (path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b" + (reference "#PWR024") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "bh:C") (at 209.55 101.6 90) @@ -5215,6 +5395,72 @@ ) ) ) + (symbol + (lib_id "bh:PWR_FLAG") + (at 97.79 57.15 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "8436a179-b5a2-4a7a-866c-7af477177588") + (property "Reference" "#FLG02" + (at 97.79 55.245 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "PWR_FLAG" + (at 97.79 52.07 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Special symbol for telling ERC where power comes from" + (at 97.79 57.15 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "54931228-20cf-453f-a567-c4bd2f74e03b") + ) + (instances + (project "cerberus_sp4t" + (path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b" + (reference "#FLG02") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "bh:GND") (at 228.6 92.71 0) @@ -8307,6 +8553,72 @@ ) ) ) + (symbol + (lib_id "bh:PWR_FLAG") + (at 97.79 39.37 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "fda7ce77-d046-4d4b-b63e-4fabea9a1785") + (property "Reference" "#FLG01" + (at 97.79 37.465 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "PWR_FLAG" + (at 97.79 34.29 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 97.79 39.37 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 97.79 39.37 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Special symbol for telling ERC where power comes from" + (at 97.79 39.37 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "77685b38-272e-4ecf-be93-439eb02f44b7") + ) + (instances + (project "" + (path "/5c9b5493-28d5-442a-a1c0-43be0cca0b1b" + (reference "#FLG01") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "bh:GND") (at 91.44 116.84 0)