hw: Final fixes for Rev 1.2
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m23s
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 9s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 9s
Run pytests / Check-Pytest (push) Successful in 11s

- Move RC522 connector a bit further away from the MAX98375 module
  footprint, so a JST-XH connector can be used here too.
- Update custom rules and fix some DRC warnings (no netlist and layout
  changes).

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
This commit is contained in:
2025-11-10 21:45:57 +01:00
parent 0f4f72253c
commit 419d85209e
5 changed files with 1566 additions and 1502 deletions

View File

@@ -5,18 +5,18 @@
(condition "A.Type == 'pad' && (B.Type == 'text' || B.Type == 'graphic')")) (condition "A.Type == 'pad' && (B.Type == 'text' || B.Type == 'graphic')"))
(rule "drill hole size (mechanical)" (rule "drill hole size (mechanical)"
(constraint hole_size (min 0.3mm) (max 6.3mm))) (constraint hole_size (min 0.2mm) (max 6.3mm)))
(rule "Minimum Via Hole Size" (rule "Minimum Via Hole Size"
(constraint hole_size (min 0.3mm)) (constraint hole_size (min 0.2mm))
(condition "A.Type == 'via'")) (condition "A.Type == 'via'"))
(rule "Minimum Via Diameter" (rule "Minimum Via Diameter"
(constraint via_diameter (min 20mil)) (constraint via_diameter (min 0.35mm))
(condition "A.Type == 'via'")) (condition "A.Type == 'via'"))
(rule "PTH Hole Size" (rule "PTH Hole Size"
(constraint hole_size (min 12mil) (max 6.35mm)) (constraint hole_size (min 0.2mm) (max 6.35mm))
(condition "A.isPlated()")) (condition "A.isPlated()"))
(rule "Minimum Non-plated Hole Size" (rule "Minimum Non-plated Hole Size"
@@ -24,5 +24,5 @@
(condition "A.Type == 'pad' && !A.isPlated()")) (condition "A.Type == 'pad' && !A.isPlated()"))
(rule "Pad to Track clearance" (rule "Pad to Track clearance"
(constraint clearance (min 0.2mm)) (constraint clearance (min 0.1mm))
(condition "A.isPlated() && A.Type != 'Via' && B.Type == 'track'")) (condition "A.isPlated() && A.Type != 'Via' && B.Type == 'track'"))

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,8 @@
{ {
"board": { "board": {
"active_layer": 5, "active_layer": 0,
"active_layer_preset": "", "active_layer_preset": "",
"auto_track_width": false, "auto_track_width": true,
"hidden_netclasses": [], "hidden_netclasses": [],
"hidden_nets": [ "hidden_nets": [
"GND" "GND"
@@ -20,11 +20,11 @@
"selection_filter": { "selection_filter": {
"dimensions": false, "dimensions": false,
"footprints": false, "footprints": false,
"graphics": false, "graphics": true,
"keepouts": false, "keepouts": false,
"lockedItems": false, "lockedItems": false,
"otherItems": false, "otherItems": false,
"pads": true, "pads": false,
"text": true, "text": true,
"tracks": true, "tracks": true,
"vias": true, "vias": true,

View File

@@ -37,9 +37,9 @@
"other_text_thickness": 0.15, "other_text_thickness": 0.15,
"other_text_upright": false, "other_text_upright": false,
"pads": { "pads": {
"drill": 3.2, "drill": 0.8,
"height": 3.2, "height": 1.6,
"width": 3.2 "width": 1.6
}, },
"silk_line_width": 0.1, "silk_line_width": 0.1,
"silk_text_italic": false, "silk_text_italic": false,
@@ -60,11 +60,11 @@
], ],
"drc_exclusions": [ "drc_exclusions": [
[ [
"items_not_allowed|148270000|136340000|804b9d74-91fa-4f75-bc54-8f55b801562f|00000000-0000-0000-0000-000000000000", "lib_footprint_mismatch|148587019|59126370|4f17c230-1bc1-45e3-8816-9cf9d13e3a5c|00000000-0000-0000-0000-000000000000",
"" ""
], ],
[ [
"nonmirrored_text_on_back_layer|210811000|131073000|e87ca627-5327-4f7e-ac1a-c1eadd662c0a|00000000-0000-0000-0000-000000000000", "nonmirrored_text_on_back_layer|213233000|81790000|e87ca627-5327-4f7e-ac1a-c1eadd662c0a|00000000-0000-0000-0000-000000000000",
"" ""
] ]
], ],
@@ -133,22 +133,22 @@
}, },
"rules": { "rules": {
"max_error": 0.005, "max_error": 0.005,
"min_clearance": 0.2032, "min_clearance": 0.15,
"min_connection": 0.0, "min_connection": 0.0,
"min_copper_edge_clearance": 0.2, "min_copper_edge_clearance": 0.2,
"min_groove_width": 0.0, "min_groove_width": 0.0,
"min_hole_clearance": 0.35, "min_hole_clearance": 0.35,
"min_hole_to_hole": 0.45, "min_hole_to_hole": 0.2,
"min_microvia_diameter": 0.2, "min_microvia_diameter": 0.2,
"min_microvia_drill": 0.1, "min_microvia_drill": 0.1,
"min_resolved_spokes": 2, "min_resolved_spokes": 2,
"min_silk_clearance": 0.0, "min_silk_clearance": 0.0,
"min_text_height": 1.0, "min_text_height": 1.0,
"min_text_thickness": 0.15, "min_text_thickness": 0.15,
"min_through_hole_diameter": 0.3, "min_through_hole_diameter": 0.2,
"min_track_width": 0.2032, "min_track_width": 0.15,
"min_via_annular_width": 0.15, "min_via_annular_width": 0.15,
"min_via_diameter": 0.5, "min_via_diameter": 0.35,
"solder_mask_to_copper_clearance": 0.005, "solder_mask_to_copper_clearance": 0.005,
"use_height_for_length_calcs": true "use_height_for_length_calcs": true
}, },

View File

@@ -9068,7 +9068,7 @@
(at 36.83 41.91 90) (at 36.83 41.91 90)
(unit 1) (unit 1)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom no)
(on_board yes) (on_board yes)
(dnp no) (dnp no)
(fields_autoplaced yes) (fields_autoplaced yes)