Various improvements to v0.9
- Pulldown on DE - Buttons - RX/TX LEDs - More pins on J7
This commit is contained in:
parent
cfac69c1c5
commit
68d11392bf
4 changed files with 6858 additions and 40128 deletions
102
LARPANet_STM32G030_Inline.kicad_dru
Normal file
102
LARPANet_STM32G030_Inline.kicad_dru
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
(version 1)
|
||||||
|
#Kicad 7
|
||||||
|
|
||||||
|
# 2-layer, 1oz copper
|
||||||
|
(rule "Minimum Trace Width (outer layer)"
|
||||||
|
(constraint track_width (min 5mil))
|
||||||
|
(layer outer)
|
||||||
|
(condition "A.Type == 'track'"))
|
||||||
|
|
||||||
|
(rule "Minimum Trace Spacing (outer layer)"
|
||||||
|
(constraint clearance (min 5mil))
|
||||||
|
(layer outer)
|
||||||
|
(condition "A.Type == 'track' && B.Type == A.Type"))
|
||||||
|
|
||||||
|
# 4-layer
|
||||||
|
(rule "Minimum Trace Width and Spacing (inner layer)"
|
||||||
|
(constraint track_width (min 3.5mil))
|
||||||
|
(layer inner)
|
||||||
|
(condition "A.Type == 'track'"))
|
||||||
|
|
||||||
|
(rule "Minimum Trace Spacing (inner layer)"
|
||||||
|
(constraint clearance (min 3.5mil))
|
||||||
|
(layer inner)
|
||||||
|
(condition "A.Type == 'track' && B.Type == A.Type"))
|
||||||
|
|
||||||
|
# silkscreen (Kicad 7 only)
|
||||||
|
(rule "Minimum Text"
|
||||||
|
(constraint text_thickness (min 0.15mm))
|
||||||
|
(constraint text_height (min 1mm))
|
||||||
|
(layer "?.Silkscreen"))
|
||||||
|
|
||||||
|
(rule "Pad to Silkscreen"
|
||||||
|
(constraint silk_clearance (min 0.15mm))
|
||||||
|
(layer outer)
|
||||||
|
(condition "A.Type == 'pad' && (B.Type == 'text' || B.Type == 'graphic')"))
|
||||||
|
|
||||||
|
# edge clearance
|
||||||
|
(rule "Trace to Outline"
|
||||||
|
(constraint edge_clearance (min 0.3mm))
|
||||||
|
(condition "A.Type == 'track'"))
|
||||||
|
|
||||||
|
# This would override board outline and milled areas
|
||||||
|
#(rule "Trace to V-Cut"
|
||||||
|
# (constraint clearance (min 0.4mm))
|
||||||
|
# (condition "A.Type == 'track' && B.Layer == 'Edge.Cuts'"))
|
||||||
|
|
||||||
|
# drill/hole size
|
||||||
|
(rule "drill hole size (mechanical)"
|
||||||
|
(constraint hole_size (min 0.2mm) (max 6.3mm)))
|
||||||
|
|
||||||
|
(rule "Minimum Via Hole Size"
|
||||||
|
(constraint hole_size (min 0.2mm))
|
||||||
|
(condition "A.Type == 'via'"))
|
||||||
|
|
||||||
|
(rule "Minimum Via Diameter"
|
||||||
|
(constraint via_diameter (min 0.45mm))
|
||||||
|
(condition "A.Type == 'via'"))
|
||||||
|
|
||||||
|
(rule "PTH Hole Size"
|
||||||
|
(constraint hole_size (min 0.2mm) (max 6.35mm))
|
||||||
|
(condition "A.isPlated()"))
|
||||||
|
|
||||||
|
(rule "Minimum Non-plated Hole Size"
|
||||||
|
(constraint hole_size (min 0.5mm))
|
||||||
|
(condition "A.Type == 'pad' && !A.isPlated()"))
|
||||||
|
|
||||||
|
(rule "Minimum Castellated Hole Size"
|
||||||
|
(constraint hole_size (min 0.6mm))
|
||||||
|
(condition "A.Type == 'pad' && A.Fabrication_Property == 'Castellated pad'"))
|
||||||
|
|
||||||
|
# clearance
|
||||||
|
(rule "hole to hole clearance (different nets)"
|
||||||
|
(constraint hole_to_hole (min 0.5mm))
|
||||||
|
(condition "A.Net != B.Net"))
|
||||||
|
|
||||||
|
(rule "via to track clearance"
|
||||||
|
(constraint hole_clearance (min 0.254mm))
|
||||||
|
(condition "A.Type == 'via' && B.Type == 'track'"))
|
||||||
|
|
||||||
|
(rule "via to via clearance (same nets)"
|
||||||
|
(constraint hole_to_hole (min 0.254mm))
|
||||||
|
(condition "A.Type == 'via' && B.Type == A.Type && A.Net == B.Net"))
|
||||||
|
|
||||||
|
(rule "pad to pad clearance (with hole, different nets)"
|
||||||
|
(constraint hole_to_hole (min 0.5mm))
|
||||||
|
(condition "A.Type == 'pad' && B.Type == A.Type && A.Net != B.Net"))
|
||||||
|
|
||||||
|
(rule "pad to pad clearance (without hole, different nets)"
|
||||||
|
(constraint clearance (min 0.127mm))
|
||||||
|
(condition "A.Type == 'pad' && B.Type == A.Type && A.Net != B.Net"))
|
||||||
|
|
||||||
|
(rule "NPTH to Track clearance)"
|
||||||
|
(constraint hole_clearance (min 0.254mm))
|
||||||
|
(condition "A.Pad_Type == 'NPTH, mechanical' && B.Type == 'track'"))
|
||||||
|
|
||||||
|
(rule "PTH to Track clearance)"
|
||||||
|
(constraint hole_clearance (min 0.33mm))
|
||||||
|
(condition "A.isPlated() && B.Type == 'track'"))
|
||||||
|
|
||||||
|
(rule "Pad to Track clearance)"
|
||||||
|
(constraint clearance (min 0.2mm))
|
||||||
|
(condition "A.isPlated() && B.Type == 'track'"))
|
File diff suppressed because it is too large
Load diff
|
@ -6,12 +6,12 @@
|
||||||
"apply_defaults_to_fp_fields": false,
|
"apply_defaults_to_fp_fields": false,
|
||||||
"apply_defaults_to_fp_shapes": false,
|
"apply_defaults_to_fp_shapes": false,
|
||||||
"apply_defaults_to_fp_text": false,
|
"apply_defaults_to_fp_text": false,
|
||||||
"board_outline_line_width": 0.1,
|
"board_outline_line_width": 0.0381,
|
||||||
"copper_line_width": 0.2,
|
"copper_line_width": 0.254,
|
||||||
"copper_text_italic": false,
|
"copper_text_italic": false,
|
||||||
"copper_text_size_h": 1.5,
|
"copper_text_size_h": 1.524,
|
||||||
"copper_text_size_v": 1.5,
|
"copper_text_size_v": 1.524,
|
||||||
"copper_text_thickness": 0.3,
|
"copper_text_thickness": 0.3048,
|
||||||
"copper_text_upright": false,
|
"copper_text_upright": false,
|
||||||
"courtyard_line_width": 0.05,
|
"courtyard_line_width": 0.05,
|
||||||
"dimension_precision": 4,
|
"dimension_precision": 4,
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"fab_text_size_v": 1.0,
|
"fab_text_size_v": 1.0,
|
||||||
"fab_text_thickness": 0.15,
|
"fab_text_thickness": 0.15,
|
||||||
"fab_text_upright": false,
|
"fab_text_upright": false,
|
||||||
"other_line_width": 0.15,
|
"other_line_width": 0.1,
|
||||||
"other_text_italic": false,
|
"other_text_italic": false,
|
||||||
"other_text_size_h": 1.0,
|
"other_text_size_h": 1.0,
|
||||||
"other_text_size_v": 1.0,
|
"other_text_size_v": 1.0,
|
||||||
|
@ -41,11 +41,11 @@
|
||||||
"height": 2.5,
|
"height": 2.5,
|
||||||
"width": 2.5
|
"width": 2.5
|
||||||
},
|
},
|
||||||
"silk_line_width": 0.15,
|
"silk_line_width": 0.1524,
|
||||||
"silk_text_italic": false,
|
"silk_text_italic": false,
|
||||||
"silk_text_size_h": 1.0,
|
"silk_text_size_h": 0.8128,
|
||||||
"silk_text_size_v": 1.0,
|
"silk_text_size_v": 0.8128,
|
||||||
"silk_text_thickness": 0.15,
|
"silk_text_thickness": 0.1524,
|
||||||
"silk_text_upright": false,
|
"silk_text_upright": false,
|
||||||
"zones": {
|
"zones": {
|
||||||
"min_clearance": 0.5
|
"min_clearance": 0.5
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
"connection_width": "warning",
|
"connection_width": "warning",
|
||||||
"copper_edge_clearance": "error",
|
"copper_edge_clearance": "error",
|
||||||
"copper_sliver": "warning",
|
"copper_sliver": "warning",
|
||||||
"courtyards_overlap": "ignore",
|
"courtyards_overlap": "error",
|
||||||
"diff_pair_gap_out_of_range": "error",
|
"diff_pair_gap_out_of_range": "error",
|
||||||
"diff_pair_uncoupled_length_too_long": "error",
|
"diff_pair_uncoupled_length_too_long": "error",
|
||||||
"drill_out_of_range": "error",
|
"drill_out_of_range": "error",
|
||||||
|
@ -95,9 +95,9 @@
|
||||||
"padstack": "warning",
|
"padstack": "warning",
|
||||||
"pth_inside_courtyard": "ignore",
|
"pth_inside_courtyard": "ignore",
|
||||||
"shorting_items": "error",
|
"shorting_items": "error",
|
||||||
"silk_edge_clearance": "ignore",
|
"silk_edge_clearance": "warning",
|
||||||
"silk_over_copper": "ignore",
|
"silk_over_copper": "warning",
|
||||||
"silk_overlap": "ignore",
|
"silk_overlap": "warning",
|
||||||
"skew_out_of_range": "error",
|
"skew_out_of_range": "error",
|
||||||
"solder_mask_bridge": "error",
|
"solder_mask_bridge": "error",
|
||||||
"starved_thermal": "error",
|
"starved_thermal": "error",
|
||||||
|
@ -117,19 +117,19 @@
|
||||||
"max_error": 0.005,
|
"max_error": 0.005,
|
||||||
"min_clearance": 0.0,
|
"min_clearance": 0.0,
|
||||||
"min_connection": 0.0,
|
"min_connection": 0.0,
|
||||||
"min_copper_edge_clearance": 0.0,
|
"min_copper_edge_clearance": 0.5,
|
||||||
"min_hole_clearance": 0.25,
|
"min_hole_clearance": 0.25,
|
||||||
"min_hole_to_hole": 0.25,
|
"min_hole_to_hole": 0.25,
|
||||||
"min_microvia_diameter": 0.2,
|
"min_microvia_diameter": 0.0,
|
||||||
"min_microvia_drill": 0.1,
|
"min_microvia_drill": 0.0,
|
||||||
"min_resolved_spokes": 2,
|
"min_resolved_spokes": 2,
|
||||||
"min_silk_clearance": 0.0,
|
"min_silk_clearance": 0.0,
|
||||||
"min_text_height": 0.8,
|
"min_text_height": 0.8,
|
||||||
"min_text_thickness": 0.08,
|
"min_text_thickness": 0.08,
|
||||||
"min_through_hole_diameter": 0.3,
|
"min_through_hole_diameter": 0.3,
|
||||||
"min_track_width": 0.0,
|
"min_track_width": 0.127,
|
||||||
"min_via_annular_width": 0.1,
|
"min_via_annular_width": 0.1,
|
||||||
"min_via_diameter": 0.5,
|
"min_via_diameter": 0.6,
|
||||||
"solder_mask_clearance": 0.0,
|
"solder_mask_clearance": 0.0,
|
||||||
"solder_mask_min_width": 0.0,
|
"solder_mask_min_width": 0.0,
|
||||||
"solder_mask_to_copper_clearance": 0.0,
|
"solder_mask_to_copper_clearance": 0.0,
|
||||||
|
@ -180,8 +180,11 @@
|
||||||
],
|
],
|
||||||
"track_widths": [
|
"track_widths": [
|
||||||
0.0,
|
0.0,
|
||||||
0.35,
|
0.15,
|
||||||
0.5,
|
0.2,
|
||||||
|
0.4,
|
||||||
|
0.6,
|
||||||
|
0.8,
|
||||||
1.0
|
1.0
|
||||||
],
|
],
|
||||||
"tuning_pattern_settings": {
|
"tuning_pattern_settings": {
|
||||||
|
@ -214,6 +217,14 @@
|
||||||
{
|
{
|
||||||
"diameter": 0.0,
|
"diameter": 0.0,
|
||||||
"drill": 0.0
|
"drill": 0.0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"diameter": 0.6,
|
||||||
|
"drill": 0.3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"diameter": 0.9,
|
||||||
|
"drill": 0.4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"zones_allow_external_fillets": false
|
"zones_allow_external_fillets": false
|
||||||
|
@ -455,19 +466,19 @@
|
||||||
"classes": [
|
"classes": [
|
||||||
{
|
{
|
||||||
"bus_width": 12,
|
"bus_width": 12,
|
||||||
"clearance": 0.2,
|
"clearance": 0.127,
|
||||||
"diff_pair_gap": 0.25,
|
"diff_pair_gap": 0.254,
|
||||||
"diff_pair_via_gap": 0.25,
|
"diff_pair_via_gap": 0.25,
|
||||||
"diff_pair_width": 0.2,
|
"diff_pair_width": 0.1524,
|
||||||
"line_style": 0,
|
"line_style": 0,
|
||||||
"microvia_diameter": 0.3,
|
"microvia_diameter": 0.6858,
|
||||||
"microvia_drill": 0.1,
|
"microvia_drill": 0.3302,
|
||||||
"name": "Default",
|
"name": "Default",
|
||||||
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
"pcb_color": "rgba(0, 0, 0, 0.000)",
|
||||||
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
"schematic_color": "rgba(0, 0, 0, 0.000)",
|
||||||
"track_width": 0.25,
|
"track_width": 0.127,
|
||||||
"via_diameter": 0.8,
|
"via_diameter": 0.6,
|
||||||
"via_drill": 0.4,
|
"via_drill": 0.3,
|
||||||
"wire_width": 6
|
"wire_width": 6
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue