-
Notifications
You must be signed in to change notification settings - Fork 0
/
kicad-pmod_rs485.rules
128 lines (127 loc) · 2.49 KB
/
kicad-pmod_rs485.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
(rules PCB kicad-pmod_rs485
(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 1075)
(layer_rule F.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 3.4)
)
(layer_rule B.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 1.4)
)
)
(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]_800:400_um"
(shape
(circle F.Cu 800.0 0.0 0.0)
)
(shape
(circle B.Cu 800.0 0.0 0.0)
)
(attach off)
)
(via
"Via[0-1]_800:400_um" "Via[0-1]_800:400_um" default
)
(via
"Via[0-1]_800:400_um-kicad_default" "Via[0-1]_800:400_um" "kicad_default"
)
(via
"Via[0-1]_800:400_um-gnd" "Via[0-1]_800:400_um" gnd
)
(via
"Via[0-1]_800:400_um-pwr" "Via[0-1]_800:400_um" pwr
)
(via
"Via[0-1]_800:400_um-rs485" "Via[0-1]_800:400_um" rs485
)
(via_rule
default "Via[0-1]_800:400_um"
)
(via_rule
"kicad_default" "Via[0-1]_800:400_um-kicad_default"
)
(via_rule
gnd "Via[0-1]_800:400_um-gnd"
)
(via_rule
pwr "Via[0-1]_800:400_um-pwr"
)
(via_rule
rs485 "Via[0-1]_800:400_um-rs485"
)
(class default
(clearance_class default)
(via_rule default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class "kicad_default"
"Net-(D1-A)" "Net-(D2-A)" /led1 /led2 "Net-(J1-Pin_6)" "Net-(J1-Pin_8)" "Net-(J2-Pin_1)" /btn1
/btn2 "/re_n" /txd /rxd /de "Net-(R13-Pad2)" "Net-(R15-Pad2)"
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class gnd
GND
(clearance_class gnd)
(via_rule gnd)
(rule
(width 500.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class pwr
+3V3 /Visoin /GND2 /Visoout /GND3
(clearance_class pwr)
(via_rule pwr)
(rule
(width 500.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class rs485
/A /B /Y /Z
(clearance_class rs485)
(via_rule rs485)
(rule
(width 350.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
)