EPS: fix ERC errors due to missing power flags

This commit is contained in:
Petr Malanik
2021-08-25 11:51:08 +02:00
parent 68c7b47d00
commit a15582b121
15 changed files with 1267 additions and 909 deletions

View File

@ -504,6 +504,45 @@
)
)
)
(symbol "power:PWR_FLAG" (power) (pin_numbers hide) (pin_names (offset 0) hide) (in_bom yes) (on_board yes)
(property "Reference" "#FLG" (id 0) (at 0 1.905 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "PWR_FLAG" (id 1) (at 0 3.81 0)
(effects (font (size 1.27 1.27)))
)
(property "Footprint" "" (id 2) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_keywords" "power-flag" (id 4) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "ki_description" "Special symbol for telling ERC where power comes from" (id 5) (at 0 0 0)
(effects (font (size 1.27 1.27)) hide)
)
(symbol "PWR_FLAG_0_0"
(pin power_out line (at 0 0 90) (length 0)
(name "pwr" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
)
(symbol "PWR_FLAG_0_1"
(polyline
(pts
(xy 0 0)
(xy 0 1.27)
(xy -1.016 1.905)
(xy 0 2.54)
(xy 1.016 1.905)
(xy 0 1.27)
)
(stroke (width 0)) (fill (type none))
)
)
)
)
(junction (at 128.27 71.12) (diameter 0.9144) (color 0 0 0 0))
@ -517,6 +556,7 @@
(junction (at 166.37 87.63) (diameter 0.9144) (color 0 0 0 0))
(junction (at 175.26 87.63) (diameter 1.016) (color 0 0 0 0))
(junction (at 180.34 105.41) (diameter 0.9144) (color 0 0 0 0))
(junction (at 198.12 105.41) (diameter 0.9144) (color 0 0 0 0))
(wire (pts (xy 121.92 71.12) (xy 121.92 72.39))
(stroke (width 0) (type solid) (color 0 0 0 0))
@ -642,10 +682,14 @@
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 9d2eb440-7e23-49ea-87cd-95b5fa382ab1)
)
(wire (pts (xy 180.34 105.41) (xy 182.88 105.41))
(wire (pts (xy 180.34 105.41) (xy 198.12 105.41))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 44661465-2a62-44bc-928a-7c974020cdef)
)
(wire (pts (xy 198.12 105.41) (xy 203.2 105.41))
(stroke (width 0) (type solid) (color 0 0 0 0))
(uuid 5e2bfde0-c102-4109-93be-fc3edad56816)
)
(text "Sense resistor \npackage: 1206" (at 113.03 101.6 0)
(effects (font (size 1.27 1.27)) (justify left bottom))
@ -664,15 +708,31 @@
(effects (font (size 1.27 1.27) (thickness 0.254)) (justify left))
(uuid 25f8c879-9fcd-4180-8b2f-64d7a18a6ab6)
)
(hierarchical_label "OUT" (shape input) (at 182.88 105.41 0)
(hierarchical_label "OUT" (shape input) (at 203.2 105.41 0)
(effects (font (size 1.27 1.27)) (justify left))
(uuid 0334e802-832a-450f-a0e6-1605dc457d0c)
)
(symbol (lib_id "power:PWR_FLAG") (at 198.12 105.41 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid c8253c12-cea3-490b-9399-c0ed3af2f13e)
(property "Reference" "#FLG0114" (id 0) (at 198.12 103.505 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "PWR_FLAG" (id 1) (at 198.12 101.8054 0))
(property "Footprint" "" (id 2) (at 198.12 105.41 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 198.12 105.41 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 8c796e7b-bfa9-4abc-ba62-2188552b2400))
)
(symbol (lib_id "Connector:TestPoint") (at 175.26 87.63 0)
(in_bom yes) (on_board yes)
(uuid 628aa029-6b78-45d8-869d-90b825a81328)
(property "Reference" "TP49" (id 0) (at 174.1171 81.07 0)
(property "Reference" "TP51" (id 0) (at 174.1171 81.07 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "BAT_I" (id 1) (at 176.6571 83.8451 0)
@ -690,7 +750,7 @@
(symbol (lib_id "Connector:TestPoint") (at 180.34 105.41 0)
(in_bom yes) (on_board yes)
(uuid 9b4ce1c8-3cae-46d6-ba61-5ac61f4a5a0d)
(property "Reference" "TP50" (id 0) (at 181.7371 100.12 0)
(property "Reference" "TP52" (id 0) (at 181.7371 100.12 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "VBAT_OUT" (id 1) (at 181.7371 102.8951 0)
@ -708,7 +768,7 @@
(symbol (lib_id "power:GND") (at 121.92 80.01 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid ee475694-3da4-4ade-9d58-3b473d12d511)
(property "Reference" "#PWR0265" (id 0) (at 121.92 86.36 0)
(property "Reference" "#PWR0274" (id 0) (at 121.92 86.36 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 121.92 84.5726 0)
@ -726,7 +786,7 @@
(symbol (lib_id "power:GND") (at 143.51 86.36 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 4373c2a8-a1ca-4c96-9e11-fbb53bbc7fba)
(property "Reference" "#PWR0266" (id 0) (at 143.51 92.71 0)
(property "Reference" "#PWR0275" (id 0) (at 143.51 92.71 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 143.51 90.9226 0)
@ -744,7 +804,7 @@
(symbol (lib_id "power:GND") (at 148.59 72.39 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 29977e9b-4a0d-4a9f-9cc6-fb5f61fe96ef)
(property "Reference" "#PWR0267" (id 0) (at 148.59 78.74 0)
(property "Reference" "#PWR0276" (id 0) (at 148.59 78.74 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 148.59 76.9526 0)
@ -762,7 +822,7 @@
(symbol (lib_id "power:GND") (at 156.21 123.19 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 22c15bb5-f31e-4dea-aea6-ae0d3261e290)
(property "Reference" "#PWR0268" (id 0) (at 156.21 129.54 0)
(property "Reference" "#PWR0277" (id 0) (at 156.21 129.54 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 156.21 127.7526 0)
@ -780,7 +840,7 @@
(symbol (lib_id "power:GND") (at 157.48 96.52 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 46ae66f1-57f5-45d5-838f-3766d3ccf8f6)
(property "Reference" "#PWR0269" (id 0) (at 157.48 102.87 0)
(property "Reference" "#PWR0278" (id 0) (at 157.48 102.87 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 157.48 101.0826 0)
@ -798,7 +858,7 @@
(symbol (lib_id "power:GND") (at 166.37 96.52 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 737db744-b62d-49f0-8401-672c12195c89)
(property "Reference" "#PWR0270" (id 0) (at 166.37 102.87 0)
(property "Reference" "#PWR0279" (id 0) (at 166.37 102.87 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 166.37 101.0826 0)
@ -816,7 +876,7 @@
(symbol (lib_id "power:GND") (at 175.26 96.52 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 0ea567c7-6e39-4188-9b81-5675115b0a6b)
(property "Reference" "#PWR0271" (id 0) (at 175.26 102.87 0)
(property "Reference" "#PWR0280" (id 0) (at 175.26 102.87 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 175.26 101.0826 0)
@ -834,7 +894,7 @@
(symbol (lib_id "Device:R") (at 133.35 97.79 90)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid d8168bbf-0fcb-4808-935a-c54dfa015fa5)
(property "Reference" "R125" (id 0) (at 133.35 92.8074 90))
(property "Reference" "R130" (id 0) (at 133.35 92.8074 90))
(property "Value" "10mR" (id 1) (at 133.35 95.5825 90))
(property "Footprint" "" (id 2) (at 133.35 99.568 90)
(effects (font (size 1.27 1.27)) hide)
@ -849,7 +909,7 @@
(symbol (lib_id "Device:R") (at 133.35 105.41 90)
(in_bom yes) (on_board yes)
(uuid ecf03018-8e68-41f8-a7bf-7006e1949849)
(property "Reference" "R126" (id 0) (at 133.35 100.4274 90))
(property "Reference" "R131" (id 0) (at 133.35 100.4274 90))
(property "Value" "10mR" (id 1) (at 133.35 103.2025 90))
(property "Footprint" "" (id 2) (at 133.35 107.188 90)
(effects (font (size 1.27 1.27)) hide)
@ -864,7 +924,7 @@
(symbol (lib_id "Device:R") (at 156.21 119.38 0)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 923f837d-d68b-481b-a676-fdf1f2a319f5)
(property "Reference" "R127" (id 0) (at 157.9881 118.4715 0)
(property "Reference" "R132" (id 0) (at 157.9881 118.4715 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "R" (id 1) (at 157.9881 121.2466 0)
@ -883,7 +943,7 @@
(symbol (lib_id "Device:R") (at 157.48 82.55 180)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 39332c72-4269-44ab-a976-7666a5a07a01)
(property "Reference" "R128" (id 0) (at 159.2581 81.6415 0)
(property "Reference" "R133" (id 0) (at 159.2581 81.6415 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "100k" (id 1) (at 159.2581 84.4166 0)
@ -902,7 +962,7 @@
(symbol (lib_id "Device:R") (at 157.48 92.71 180)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 438130f6-c41c-4438-88d0-b194e1cd102f)
(property "Reference" "R129" (id 0) (at 159.2581 91.8015 0)
(property "Reference" "R134" (id 0) (at 159.2581 91.8015 0)
(effects (font (size 1.27 1.27)) (justify right))
)
(property "Value" "270k" (id 1) (at 159.2581 94.5766 0)
@ -921,7 +981,7 @@
(symbol (lib_id "Device:D_Zener") (at 175.26 92.71 270)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 9135e2df-d381-43ba-ab0c-de88b9a6488d)
(property "Reference" "D15" (id 0) (at 177.2667 91.8015 90)
(property "Reference" "D16" (id 0) (at 177.2667 91.8015 90)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "3V3" (id 1) (at 177.2667 94.5766 90)
@ -940,7 +1000,7 @@
(symbol (lib_id "Device:Polyfuse") (at 171.45 105.41 90)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid a0c9ea8e-9b88-427a-a621-b12ce23cd1f8)
(property "Reference" "F13" (id 0) (at 171.45 100.0464 90))
(property "Reference" "F14" (id 0) (at 171.45 100.0464 90))
(property "Value" "5A" (id 1) (at 171.45 102.8215 90))
(property "Footprint" "" (id 2) (at 176.53 104.14 0)
(effects (font (size 1.27 1.27)) (justify left) hide)
@ -955,7 +1015,7 @@
(symbol (lib_id "Device:C") (at 121.92 76.2 0)
(in_bom yes) (on_board yes)
(uuid febe57fa-2c04-4758-af60-8ca1adc6be3e)
(property "Reference" "C125" (id 0) (at 115.9511 75.2915 0)
(property "Reference" "C127" (id 0) (at 115.9511 75.2915 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "100nF" (id 1) (at 113.4111 78.0666 0)
@ -974,7 +1034,7 @@
(symbol (lib_id "Device:C") (at 166.37 92.71 0)
(in_bom yes) (on_board yes)
(uuid 1930155e-e85f-47a6-bc9e-d5959778ba35)
(property "Reference" "C126" (id 0) (at 169.2911 91.8015 0)
(property "Reference" "C128" (id 0) (at 169.2911 91.8015 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "10nF" (id 1) (at 168.0211 94.5766 0)
@ -993,7 +1053,7 @@
(symbol (lib_id "TCY_transistors:SiS413DN") (at 156.21 105.41 270) (mirror x)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 4f984924-e775-4f93-861a-4954ba37a68e)
(property "Reference" "Q27" (id 0) (at 156.21 100.1388 90)
(property "Reference" "Q28" (id 0) (at 156.21 100.1388 90)
(effects (font (size 1 1)))
)
(property "Value" "SiS413DN" (id 1) (at 156.21 102.3778 90)
@ -1019,7 +1079,7 @@
(symbol (lib_id "TCY_power_management:INA199") (at 146.05 78.74 0)
(in_bom yes) (on_board yes)
(uuid 4bc5bfce-3c4b-49ff-9663-b05430efc8b8)
(property "Reference" "U45" (id 0) (at 144.5261 66.4015 0)
(property "Reference" "U46" (id 0) (at 144.5261 66.4015 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "INA199x2" (id 1) (at 141.9861 69.1766 0)