-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbadge-kicad.rules
94 lines (93 loc) · 3.76 KB
/
badge-kicad.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
(rules PCB badge-kicad
(snap_angle
fortyfive_degree
)
(autoroute_settings
(fanout off)
(autoroute on)
(postroute on)
(vias on)
(via_costs 50)
(plane_via_costs 5)
(start_ripup_costs 100)
(start_pass_no 26)
(layer_rule F.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 3.0)
)
(layer_rule B.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 1.5)
)
)
(rule
(width 250.0)
(clear 200.2)
(clear 125.0 (type smd_to_turn_gap))
(clear 50.0 (type smd_smd))
)
(padstack "Via[0-1]_600:400_um"
(shape
(circle F.Cu 600.0 0.0 0.0)
)
(shape
(circle B.Cu 600.0 0.0 0.0)
)
(attach off)
)
(via
"Via[0-1]_600:400_um" "Via[0-1]_600:400_um" default
)
(via
"Via[0-1]_600:400_um-kicad_default" "Via[0-1]_600:400_um" "kicad_default"
)
(via_rule
default "Via[0-1]_600:400_um"
)
(via_rule
"kicad_default" "Via[0-1]_600:400_um-kicad_default"
)
(class default
(clearance_class default)
(via_rule default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class "kicad_default"
"Net-(A1-Pad1)" "Net-(A1-Pad3)" "Net-(A1-Pad8)" "Net-(A1-Pad6)" "Net-(A1-Pad7)" "Net-(A1-Pad2)" "Net-(A1-Pad5)" "Net-(A1-Pad4)"
GND VBAT VUSB "VR_PA" "LEDS_IN" "Net-(C19-Pad1)" "Net-(C20-Pad2)" "Net-(C21-Pad2)"
VCC "Net-(C23-Pad1)" "Net-(C24-Pad1)" "Net-(C25-Pad1)" "Net-(C26-Pad1)" +3V3 "Net-(D1-Pad1)" "Net-(D2-Pad1)"
"Net-(D3-Pad1)" "Net-(D3-Pad2)" "Net-(D4-Pad2)" "Net-(D4-Pad1)" "Net-(D5-Pad1)" "Net-(D6-Pad2)" "Net-(D7-Pad1)" "Net-(D8-Pad1)"
"DEBUG_SWD_DIO" "RESET_TGTMCU" "Net-(J2-Pad8)" "Net-(J2-Pad6)" "DEBUG_SWD_CLK" "Net-(J2-Pad9)" "Net-(J2-Pad7)" "Net-(L1-Pad1)"
TILTSENS "Net-(P2-Pad39)" "Net-(P2-Pad38)" "Net-(P2-Pad37)" "Net-(P2-Pad36)" PTB0 "DISP_SDI(MOSI)" "DISP_SCK"
"DISP_SDO(MISO)" "Net-(P2-Pad31)" "TOUCH_CS" "Net-(P2-Pad29)" "Net-(P2-Pad26)" "DISP_DC" "DISP_CS" "Net-(P2-Pad22)"
"Net-(P2-Pad21)" "Net-(P2-Pad20)" "Net-(P2-Pad19)" "Net-(P2-Pad18)" "Net-(P2-Pad17)" "Net-(P2-Pad16)" "Net-(P2-Pad15)" "Net-(P2-Pad14)"
"Net-(P2-Pad13)" "Net-(P2-Pad12)" "Net-(P2-Pad11)" "Net-(P2-Pad10)" "Net-(P2-Pad9)" "Net-(P2-Pad8)" "Net-(P2-Pad7)" "Net-(P2-Pad6)"
"Net-(P2-Pad5)" "Net-(P2-Pad4)" "Net-(P2-Pad3)" "Net-(P3-Pad6)" "UART_RX" "UART_TX" "UART0_CTS" "Net-(P4-Pad2)"
"Net-(P4-Pad3)" "PWM_SOUND" "Net-(R2-Pad2)" "Net-(R3-Pad1)" "Net-(R5-Pad1)" "RF_RESET" PTD7 PTE16
"Net-(R15-Pad1)" "Net-(SW2-Pad3)" "Net-(SW2-Pad1)" "Net-(U1-PadP$2)" "Net-(U2-PadP$2)" "Net-(U3-PadP$2)" "Net-(U4-PadP$2)" "Net-(U5-PadP$2)"
"Net-(U6-PadP$2)" "Net-(U7-PadP$2)" "Net-(U8-PadP$2)" "Net-(U10-PadP$4)" "Net-(U10-PadP$2)" "Net-(U11-PadP$2)" "Net-(U13-Pad59)" "Net-(U13-Pad57)"
"Net-(U13-Pad58)" "Net-(U13-Pad60)" CLOCKOUT "Net-(U13-Pad53)" "Net-(U13-Pad52)" "Net-(U13-Pad51)" "Net-(U13-Pad50)" "Net-(U13-Pad43)"
"Net-(U13-Pad41)" "Net-(U13-Pad37)" "Net-(U13-Pad30)" "Net-(U14-Pad28)" "Net-(U14-Pad27)" "Net-(U14-Pad24)" "Net-(U14-Pad14)" "Net-(U14-Pad13)"
"Net-(U14-Pad12)" "Net-(U14-Pad10)" "Net-(U14-Pad9)" "Net-(U14-Pad8)" "Net-(U14-Pad6)" "Net-(U14-Pad4)" "Net-(U14-Pad2)" "Net-(U15-Pad4)"
"Net-(C17-Pad1)" "Net-(C33-Pad1)" "Net-(P5-Pad2)" "Net-(SW3-Pad3)" SWENTER SWUP SWR SWL
SWDN "Net-(C49-PadP$2)" DIO0 DACOUT "Net-(C45-PadP$1)" "Net-(C44-Pad1)" "Net-(C47-Pad1)" "Net-(C46-PadP$1)"
"Net-(C45-PadP$2)" "Net-(C47-Pad2)" "Net-(C43-Pad2)" "Net-(C42-Pad1)" "Net-(C42-Pad2)"
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
)