Compare commits

..
2 Commits
Author SHA1 Message Date
Weckyy702 b168b4fc5b Hardware: Lay out and route GPIO Header, USB and some other stuff 2026-10-19 22:04:54 +02:00
Weckyy702 ca63ed2791 Flake: Add picocom 2026-10-19 22:04:07 +02:00
5 changed files with 8121 additions and 7223 deletions

No files matched your search

File diff suppressed because it is too large. Load diff
+48 -6
View File
@@ -159,9 +159,9 @@
"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.2, "min_track_width": 0.0889,
"min_via_annular_width": 0.1, "min_via_annular_width": 0.1,
"min_via_diameter": 0.5, "min_via_diameter": 0.2,
"solder_mask_to_copper_clearance": 0.0, "solder_mask_to_copper_clearance": 0.0,
"use_height_for_length_calcs": true "use_height_for_length_calcs": true
}, },
@@ -211,6 +211,7 @@
], ],
"track_widths": [ "track_widths": [
0.0, 0.0,
0.127,
0.254, 0.254,
0.508 0.508
], ],
@@ -526,14 +527,36 @@
"via_diameter": 0.6, "via_diameter": 0.6,
"via_drill": 0.3, "via_drill": 0.3,
"wire_width": 6 "wire_width": 6
},
{
"bus_width": 12,
"line_style": 0,
"name": "USB",
"pcb_color": "rgba(0, 0, 0, 0.000)",
"priority": 0,
"schematic_color": "rgba(0, 0, 0, 0.000)",
"tuning_profile": "USB",
"wire_width": 6
} }
], ],
"meta": { "meta": {
"version": 5 "version": 5
}, },
"net_colors": null, "net_colors": null,
"netclass_assignments": null, "netclass_assignments": {
"netclass_patterns": [] "USB_C_DN": [
"USB"
],
"USB_C_DP": [
"USB"
]
},
"netclass_patterns": [
{
"netclass": "USB",
"pattern": "USB_C_D*"
}
]
}, },
"pcbnew": { "pcbnew": {
"last_paths": { "last_paths": {
@@ -683,7 +706,7 @@
"uuid": "e7060ada-4117-4611-abe2-1a97a47c74c4" "uuid": "e7060ada-4117-4611-abe2-1a97a47c74c4"
} }
], ],
"used_designators": "#PWR1,#PWR70,#PWR80-81,R2", "used_designators": "",
"variants": [] "variants": []
}, },
"sheets": [ "sheets": [
@@ -713,6 +736,25 @@
"meta": { "meta": {
"version": 0 "version": 0
}, },
"tuning_profiles_impedance_geometric": [] "tuning_profiles_impedance_geometric": [
{
"enable_time_domain_tuning": true,
"layer_entries": [
{
"bottom_reference_layer": "In1.Cu",
"delay": 0,
"diff_pair_gap": 0,
"signal_layer": "F.Cu",
"top_reference_layer": "UNDEFINED",
"width": 0
}
],
"profile_name": "USB",
"target_impedance": 90.0,
"type": 1,
"via_overrides": [],
"via_prop_delay": 0
}
]
} }
} }
+157 -87
View File
@@ -7007,26 +7007,6 @@
) )
(uuid "fe226373-c67d-4417-a17c-1592bc058583") (uuid "fe226373-c67d-4417-a17c-1592bc058583")
) )
(label "SPI_MISO"
(at 215.9 40.64 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "10e2127f-1b67-43d8-9784-196bc13adc91")
)
(label "I2C_SDA"
(at 236.22 33.02 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "246aecc3-1712-4730-8ea7-a4777bcd0d02")
)
(label "SPI_MISO" (label "SPI_MISO"
(at 58.42 166.37 180) (at 58.42 166.37 180)
(effects (effects
@@ -7037,16 +7017,6 @@
) )
(uuid "2ec667d8-72c1-436d-a5ae-e1d7ae6ca909") (uuid "2ec667d8-72c1-436d-a5ae-e1d7ae6ca909")
) )
(label "SPI_CS1"
(at 215.9 35.56 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "503ef6ed-8108-4e33-a6e0-a18f46d7305a")
)
(label "USB_C_DP" (label "USB_C_DP"
(at 166.37 91.44 0) (at 166.37 91.44 0)
(effects (effects
@@ -7067,6 +7037,26 @@
) )
(uuid "50c9393b-042a-4c46-a22a-031cd6bebe7d") (uuid "50c9393b-042a-4c46-a22a-031cd6bebe7d")
) )
(label "SPI_CLK"
(at 215.9 38.1 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "514d0181-1b4c-4b0b-9eff-337eee0885db")
)
(label "SPI_MOSI"
(at 215.9 40.64 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "55b0bcc8-0918-4216-b823-48b0b3f2d23c")
)
(label "SPI_CLK" (label "SPI_CLK"
(at 58.42 163.83 180) (at 58.42 163.83 180)
(effects (effects
@@ -7097,6 +7087,16 @@
) )
(uuid "63dcf78b-a6ee-4595-8905-aae04a8606de") (uuid "63dcf78b-a6ee-4595-8905-aae04a8606de")
) )
(label "I2C_SCL"
(at 236.22 33.02 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "6d8b4978-ad8c-4dc1-b2d7-aa2732642da1")
)
(label "USB_C_DP" (label "USB_C_DP"
(at 71.12 60.96 0) (at 71.12 60.96 0)
(effects (effects
@@ -7117,6 +7117,16 @@
) )
(uuid "8996d064-f682-435f-b751-6e44ed257643") (uuid "8996d064-f682-435f-b751-6e44ed257643")
) )
(label "I2C_SDA"
(at 215.9 35.56 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "8f633394-bfb0-40da-a4f8-e3481632064d")
)
(label "USB_C_DN" (label "USB_C_DN"
(at 30.48 60.96 180) (at 30.48 60.96 180)
(effects (effects
@@ -7127,6 +7137,16 @@
) )
(uuid "a2398efd-c3f9-42c6-9225-2a8911bbed21") (uuid "a2398efd-c3f9-42c6-9225-2a8911bbed21")
) )
(label "GPIO0"
(at 236.22 40.64 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "ac05b2f9-d64a-40fe-b35c-6a4c2cc88232")
)
(label "USB_C_DN" (label "USB_C_DN"
(at 71.12 58.42 0) (at 71.12 58.42 0)
(effects (effects
@@ -7147,6 +7167,16 @@
) )
(uuid "adf11952-de54-4950-9aeb-fa4119228dcc") (uuid "adf11952-de54-4950-9aeb-fa4119228dcc")
) )
(label "SPI_CS1"
(at 236.22 35.56 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "b647b5ff-5445-4f8e-b292-67c4459b469a")
)
(label "I2C_SDA" (label "I2C_SDA"
(at 58.42 158.75 180) (at 58.42 158.75 180)
(effects (effects
@@ -7157,16 +7187,6 @@
) )
(uuid "bb2bdaea-7706-47a9-a512-d9d11dd1b132") (uuid "bb2bdaea-7706-47a9-a512-d9d11dd1b132")
) )
(label "SPI_CLK"
(at 215.9 38.1 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "bc9b72b4-d3c7-4389-beff-71b710d57032")
)
(label "SPI_CS1" (label "SPI_CS1"
(at 58.42 161.29 180) (at 58.42 161.29 180)
(effects (effects
@@ -7177,16 +7197,6 @@
) )
(uuid "bd777dc4-7fd9-4f49-af6c-eae0ba5fb8f2") (uuid "bd777dc4-7fd9-4f49-af6c-eae0ba5fb8f2")
) )
(label "GPIO0"
(at 236.22 38.1 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "c18bc894-7ced-48b8-b9a5-531c32cc89de")
)
(label "SPI_MOSI" (label "SPI_MOSI"
(at 58.42 168.91 180) (at 58.42 168.91 180)
(effects (effects
@@ -7207,25 +7217,15 @@
) )
(uuid "dd1161e1-8e1a-496c-9c72-7f9e2002a1aa") (uuid "dd1161e1-8e1a-496c-9c72-7f9e2002a1aa")
) )
(label "SPI_MOSI" (label "SPI_MISO"
(at 215.9 43.18 180) (at 236.22 38.1 0)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "f10727d4-294a-41bd-b39e-98c890c1e4c4")
)
(label "I2C_SCL"
(at 236.22 35.56 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
(justify left bottom) (justify left bottom)
) )
(uuid "fb99a849-9425-450f-a0a6-fccf79f6c22c") (uuid "ec303fb6-49d8-48b5-b2a0-8c5241efe31a")
) )
(global_label "MDI_P1_TN" (global_label "MDI_P1_TN"
(shape input) (shape input)
@@ -7611,30 +7611,6 @@
) )
) )
) )
(global_label "UART_TXD0"
(shape input)
(at 236.22 40.64 0)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
(uuid "53e7c2d5-9857-4929-8b74-259bec64b19a")
(property "Intersheetrefs" "${INTERSHEET_REFS}"
(at 249.4861 40.64 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
)
(global_label "MDI_P4_RN" (global_label "MDI_P4_RN"
(shape input) (shape input)
(at 109.22 148.59 0) (at 109.22 148.59 0)
@@ -7971,6 +7947,30 @@
) )
) )
) )
(global_label "UART_TXD0"
(shape input)
(at 215.9 43.18 180)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
(uuid "ae064b61-0022-4b9f-a6bf-1ceeb9f93088")
(property "Intersheetrefs" "${INTERSHEET_REFS}"
(at 202.6339 43.18 0)
(hide yes)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
)
(global_label "EPHY_LED1" (global_label "EPHY_LED1"
(shape input) (shape input)
(at 59.69 125.73 180) (at 59.69 125.73 180)
@@ -8331,6 +8331,76 @@
) )
) )
) )
(netclass_flag ""
(length 2.54)
(shape round)
(at 149.86 91.44 180)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "49e67811-4ce4-448c-abf9-2f25783093e3")
(property "Net Class" "USB"
(at 150.5585 93.98 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Component Class" ""
(at -16.51 -48.26 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
(italic yes)
)
)
)
)
(netclass_flag ""
(length 2.54)
(shape round)
(at 149.86 88.9 0)
(fields_autoplaced yes)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
(uuid "d9386510-ed3c-49a8-8d23-dc4f5399d6cf")
(property "Net Class" "USB"
(at 150.5585 86.36 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Component Class" ""
(at -16.51 -50.8 0)
(show_name no)
(do_not_autoplace no)
(effects
(font
(size 1.27 1.27)
(italic yes)
)
)
)
)
(symbol (symbol
(lib_id "power:+3.3V") (lib_id "power:+3.3V")
(at 255.27 43.18 0) (at 255.27 43.18 0)
+5 -5
View File
@@ -4928,6 +4928,7 @@
(symbol (symbol
(lib_id "Connector:RJ45_Hanrun_HR911105A_Horizontal") (lib_id "Connector:RJ45_Hanrun_HR911105A_Horizontal")
(at 100.33 91.44 0) (at 100.33 91.44 0)
(mirror x)
(unit 1) (unit 1)
(body_style 1) (body_style 1)
(exclude_from_sim no) (exclude_from_sim no)
@@ -4935,10 +4936,9 @@
(on_board yes) (on_board yes)
(in_pos_files yes) (in_pos_files yes)
(dnp no) (dnp no)
(fields_autoplaced yes)
(uuid "ac21f246-f943-4d37-abe2-07e492592f99") (uuid "ac21f246-f943-4d37-abe2-07e492592f99")
(property "Reference" "J3" (property "Reference" "J3"
(at 101.6 77.47 0) (at 101.6 105.41 0)
(show_name no) (show_name no)
(do_not_autoplace no) (do_not_autoplace no)
(effects (effects
@@ -4948,7 +4948,7 @@
) )
) )
(property "Value" "RJ45_Hanrun_HR911105A_Horizontal" (property "Value" "RJ45_Hanrun_HR911105A_Horizontal"
(at 101.6 80.01 0) (at 101.6 102.87 0)
(show_name no) (show_name no)
(do_not_autoplace no) (do_not_autoplace no)
(effects (effects
@@ -4958,7 +4958,7 @@
) )
) )
(property "Footprint" "Connector_RJ:RJ45_Hanrun_HR911105A_Horizontal" (property "Footprint" "Connector_RJ:RJ45_Hanrun_HR911105A_Horizontal"
(at 100.33 78.74 0) (at 100.33 104.14 0)
(hide yes) (hide yes)
(show_name no) (show_name no)
(do_not_autoplace no) (do_not_autoplace no)
@@ -4969,7 +4969,7 @@
) )
) )
(property "Datasheet" "https://datasheet.lcsc.com/lcsc/1811141815_HANRUN-Zhongshan-HanRun-Elec-HR911105A_C12074.pdf" (property "Datasheet" "https://datasheet.lcsc.com/lcsc/1811141815_HANRUN-Zhongshan-HanRun-Elec-HR911105A_C12074.pdf"
(at 100.33 76.2 0) (at 100.33 106.68 0)
(hide yes) (hide yes)
(show_name no) (show_name no)
(do_not_autoplace no) (do_not_autoplace no)
+1
View File
@@ -15,6 +15,7 @@
default = pkgs.mkShell { default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
kicad kicad
picocom
]; ];
}; };
}); });