-
Notifications
You must be signed in to change notification settings - Fork 3
/
M5Stack_WiSUN.rules
114 lines (113 loc) · 2.48 KB
/
M5Stack_WiSUN.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
(rules PCB M5Stack_WiSUN
(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 55)
(layer_rule F.Cu
(active on)
(preferred_direction horizontal)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 2.0)
)
(layer_rule B.Cu
(active on)
(preferred_direction vertical)
(preferred_direction_trace_costs 1.0)
(against_preferred_direction_trace_costs 2.0)
)
)
(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-POWER" "Via[0-1]_800:400_um" POWER
)
(via
"Via[0-1]_800:400_um-UIM" "Via[0-1]_800:400_um" UIM
)
(via_rule
default "Via[0-1]_800:400_um"
)
(via_rule
"kicad_default" "Via[0-1]_800:400_um-kicad_default"
)
(via_rule
POWER "Via[0-1]_800:400_um-POWER"
)
(via_rule
UIM "Via[0-1]_800:400_um-UIM"
)
(class default
(clearance_class default)
(via_rule default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class "kicad_default"
GND "Net-(C1-Pad1)" "Net-(C2-Pad1)" /HPWR /BATTERY "/IIS_IN" "/IIS_OUT" "/IIS_MK"
"/IIS_SK" "/IIS_WS" "/GPIO_G2" "/GPIO_G5" /SDA /SCL /RXD2 /TXD2
/RXD0 /TXD0 /SCK /MISO /DAC /MOSI "/DAC_SPK" /RST
"/ADC_G36" "/ADC_G35" "/AVR_RESET" "/AVR_MOSI" "/AVR_SCK" "/AVR_MISO" "/AVR_ADC3" "/AVR_ADC2"
"/AVR_ADC1" "/AVR_ADC0" "/AVR_PB1" "/AVR_PD4" "/BP35_TXD" "/AVR_RXD0" "/BP35_RXD" "/AVR_TXD0"
"/BP35_RESET" "/BP35_WKUP" "/BP35_RTS" "/BP35_CTS" "/AVR_PD5"
(clearance_class "kicad_default")
(via_rule kicad_default)
(rule
(width 250.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class POWER
+3V3 +5V
(clearance_class POWER)
(via_rule POWER)
(rule
(width 800.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
(class UIM
(clearance_class UIM)
(via_rule UIM)
(rule
(width 300.0)
)
(circuit
(use_layer F.Cu B.Cu)
)
)
)