Adjust to fix issues raised by Seeed
[hw/lipocharger] / lipocharger.lht
index 8e26e05aa7381e4b84c41ac106545abc69608457..b2c1ba21662cbdc582d0faca006a242a68b954c9 100644 (file)
@@ -759,265 +759,9 @@ ha:pcb-rnd-board-v7 {
      }
       uid = n7muq2An4zZF48SHsBkAAAAF
      }
-       ha:subc.96 {
-        ha:attributes {
-         value=LiPo
-         footprint=S2B-PH-SM4
-         refdes=J2
-        }
-       ha:data {
-              li:padstack_prototypes {
-
-        ha:ps_proto_v6.0 {
-          hdia=0.0; hplated=0; htop=0; hbottom=0;
-          li:shape {
-
-            ha:ps_shape_v4 {
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              top = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -68.9mil  
-               -0.499999mm  
-               -68.9mil  
-               0.499999mm  
-               68.9mil  
-               0.499999mm  
-               68.9mil  
-               -0.499999mm  
-              }
-            }
-
-            ha:ps_shape_v4 {
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              top = 1
-              mask = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -1.850009mm  
-               -23.62mil  
-               -1.850009mm  
-               23.62mil  
-               1.850009mm  
-               23.62mil  
-               1.850009mm  
-               -23.62mil  
-              }
-            }
-
-            ha:ps_shape_v4 {
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              top = 1
-              paste = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -68.9mil  
-               -0.499999mm  
-               -68.9mil  
-               0.499999mm  
-               68.9mil  
-               0.499999mm  
-               68.9mil  
-               -0.499999mm  
-              }
-            }
-          }
-        }
-
-        ha:ps_proto_v6.1 {
-          hdia=0.0; hplated=0; htop=0; hbottom=0;
-          li:shape {
-
-            ha:ps_shape_v4 {
-             ha:combining {             }
-             ha:layer_mask {
-              copper = 1
-              top = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -66.93mil  
-               -29.53mil  
-               -66.93mil  
-               29.53mil  
-               66.93mil  
-               29.53mil  
-               66.93mil  
-               -29.53mil  
-              }
-            }
-
-            ha:ps_shape_v4 {
-             ha:combining { sub=1; auto=1;             }
-             ha:layer_mask {
-              top = 1
-              mask = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -1.799971mm  
-               -33.465mil  
-               -1.799971mm  
-               33.465mil  
-               1.799971mm  
-               33.465mil  
-               1.799971mm  
-               -33.465mil  
-              }
-            }
-
-            ha:ps_shape_v4 {
-             ha:combining { auto=1;             }
-             ha:layer_mask {
-              top = 1
-              paste = 1
-             }
-             clearance=0.0
-              li:ps_poly {
-               -66.93mil  
-               -29.53mil  
-               -66.93mil  
-               29.53mil  
-               66.93mil  
-               29.53mil  
-               66.93mil  
-               -29.53mil  
-              }
-            }
-          }
-        }
-       }
-
-        li:objects {
-         ha:padstack_ref.98 {
-          proto=0; x=7.346061mm; y=5.213604mm; rot=0.000000; xmirror=0; smirror=0; clearance=0.0;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=2
-            name=-
-          }
-         }
-         ha:padstack_ref.99 {
-          proto=0; x=7.346061mm; y=3.213608mm; rot=0.000000; xmirror=0; smirror=0; clearance=10.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=1
-            name=+
-          }
-         }
-         ha:padstack_ref.100 {
-          proto=1; x=1.796034mm; y=7.563612mm; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=G
-            name=tab1
-          }
-         }
-         ha:padstack_ref.101 {
-          proto=1; x=1.796034mm; y=34.0mil; rot=0.000000; xmirror=0; smirror=0; clearance=6.0mil;
-          ha:flags {
-           clearline=1
-          }
-
-          li:thermal {
-          }
-
-          ha:attributes {
-            term=G
-            name=tab2
-          }
-         }
-        }
-        li:layers {
-
-         ha:top-silk {
-          lid=0
-          ha:combining {          }
-
-           li:objects {
-            ha:text.97 {
-             string=%a.parent.refdes%; x=22.0mil; y=3.308604mm; scale=100; fid=0;
-             ha:flags {
-              dyntext=1
-              floater=1
-             }
-             rot = 0.000000
-            }
-           }
-           ha:type {
-            silk = 1
-            top = 1
-           }
-         }
-
-         ha:subc-aux {
-          lid=1
-          ha:combining {          }
-
-           li:objects {
-            ha:line.102 {
-             x1=4.571047mm; y1=4.213606mm; x2=4.571047mm; y2=4.213606mm; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=pnp-origin
-             }
-            }
-            ha:line.105 {
-             x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=327.31mil; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=origin
-             }
-            }
-            ha:line.108 {
-             x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=7.313674mm; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=x
-             }
-            }
-            ha:line.111 {
-             x1=0.096012mm; y1=327.31mil; x2=-0.903988mm; y2=327.31mil; thickness=0.1mm; clearance=0.0;
-             ha:attributes {
-               subc-role=y
-             }
-            }
-           }
-           ha:type {
-            top = 1
-            misc = 1
-            virtual = 1
-           }
-         }
-        }
-       }
-        uid = n7muq2An4zZF48SHsBkAAAAG
-       }
        ha:subc.130 {
         ha:attributes {
-         value=microUSB
+         value=USBmicroB
          footprint=ZX62-B-5PA
          refdes=J1
         }
@@ -1680,7 +1424,7 @@ ha:pcb-rnd-board-v7 {
         }
         ha:subc.2198 {
          ha:attributes {
-          value=
+          value=MCP73831-DFN
           footprint=dfn-2x3-8
           refdes=U1
          }
@@ -2033,7 +1777,7 @@ ha:pcb-rnd-board-v7 {
         }
        ha:subc.714 {
         ha:attributes {
-         value=
+         value=SPDT
          footprint=PCM12SMTR
          refdes=S1
         }
@@ -3082,6 +2826,262 @@ ha:pcb-rnd-board-v7 {
         }
          uid = n7muq2An4zZF48SHsBkAAAAK
         }
+         ha:subc.3923 {
+          ha:attributes {
+           value=LiPo
+           footprint=S2B-PH-SM
+           refdes=J2
+          }
+         ha:data {
+                  li:padstack_prototypes {
+
+          ha:ps_proto_v6.0 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 68.9mil  
+                 0.499999mm  
+                 68.9mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 23.62mil  
+                 -1.850009mm  
+                 -23.62mil  
+                 -1.850009mm  
+                 -23.62mil  
+                 1.850009mm  
+                 23.62mil  
+                 1.850009mm  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 -68.9mil  
+                 -0.499999mm  
+                 68.9mil  
+                 0.499999mm  
+                 68.9mil  
+                }
+              }
+            }
+          }
+
+          ha:ps_proto_v6.1 {
+            hdia=0.0; hplated=0; htop=0; hbottom=0;
+            li:shape {
+
+              ha:ps_shape_v4 {
+               ha:combining {               }
+               ha:layer_mask {
+                copper = 1
+                top = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 66.93mil  
+                 29.53mil  
+                 66.93mil  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { sub=1; auto=1;               }
+               ha:layer_mask {
+                top = 1
+                mask = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 33.465mil  
+                 -1.799971mm  
+                 -33.465mil  
+                 -1.799971mm  
+                 -33.465mil  
+                 1.799971mm  
+                 33.465mil  
+                 1.799971mm  
+                }
+              }
+
+              ha:ps_shape_v4 {
+               ha:combining { auto=1;               }
+               ha:layer_mask {
+                top = 1
+                paste = 1
+               }
+               clearance=0.0
+                li:ps_poly {
+                 29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 -66.93mil  
+                 -29.53mil  
+                 66.93mil  
+                 29.53mil  
+                 66.93mil  
+                }
+              }
+            }
+          }
+         }
+
+          li:objects {
+           ha:padstack_ref.3937 {
+            proto=0; x=7.346061mm; y=5.213604mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.0;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=2
+              name=pin2
+            }
+           }
+           ha:padstack_ref.3938 {
+            proto=0; x=7.346061mm; y=3.213608mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.499999mm;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=1
+              name=pin1
+            }
+           }
+           ha:padstack_ref.3939 {
+            proto=1; x=1.796034mm; y=7.563612mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.0;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=G
+              name=tab1
+            }
+           }
+           ha:padstack_ref.3940 {
+            proto=1; x=1.796034mm; y=34.0mil; rot=90.000000; xmirror=0; smirror=0; clearance=0.0;
+            ha:flags {
+             clearline=1
+            }
+
+            li:thermal {
+            }
+
+            ha:attributes {
+              term=G
+              name=tab2
+            }
+           }
+          }
+          li:layers {
+
+           ha:top-silk {
+            lid=0
+            ha:combining {            }
+
+             li:objects {
+              ha:text.3924 {
+               string=%a.parent.refdes%; x=0.096012mm; y=327.31mil; scale=100; fid=0;
+               ha:flags {
+                dyntext=1
+                floater=1
+               }
+               rot = 90.000000
+              }
+             }
+             ha:type {
+              silk = 1
+              top = 1
+             }
+           }
+
+           ha:subc-aux {
+            lid=1
+            ha:combining {            }
+
+             li:objects {
+              ha:line.3925 {
+               x1=4.571047mm; y1=4.213606mm; x2=4.571047mm; y2=4.213606mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=pnp-origin
+               }
+              }
+              ha:line.3928 {
+               x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=327.31mil; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=origin
+               }
+              }
+              ha:line.3931 {
+               x1=0.096012mm; y1=327.31mil; x2=0.096012mm; y2=9.313674mm; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=x
+               }
+              }
+              ha:line.3934 {
+               x1=0.096012mm; y1=327.31mil; x2=-0.903988mm; y2=327.31mil; thickness=0.1mm; clearance=0.0;
+               ha:attributes {
+                 subc-role=y
+               }
+              }
+             }
+             ha:type {
+              top = 1
+              misc = 1
+              virtual = 1
+             }
+           }
+          }
+         }
+          uid = 2KKV1FSIrO+jHbwpyDQAAAAM
+         }
       }
     li:layers {
 
@@ -3427,7 +3427,7 @@ ha:pcb-rnd-board-v7 {
        color = {#104e8b}
      }
 
-     {ha:bottom silk}           {
+     {ha:bottom silk}               {
       lid=3
       group=8
       ha:combining { auto=1;      }
@@ -3490,7 +3490,7 @@ ha:pcb-rnd-board-v7 {
        color = {#000000}
      }
 
-     {ha:top silk}           {
+     {ha:top silk}               {
       lid=4
       group=1
       ha:combining { auto=1;      }
@@ -3548,7 +3548,7 @@ ha:pcb-rnd-board-v7 {
     li:conn { S1-2; U1-8;    }
     }
     ha:GND {
-    li:conn { C1-1; C2-1; J1-5; J1-G; J2-2; R2-1; R3-1; R4-1; S1-frame; S1-holes; U1-6; U1-9;    }
+    li:conn { C1-1; C2-1; J1-5; J1-G; J2-2; J2-G; R2-1; R3-1; R4-1; S1-frame; S1-holes; U1-6; U1-9;    }
     }
     ha:unnamed_net1 {
     li:conn { C1-2; J1-1; R1-2; U1-1; U1-2;    }