← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C111292). The published library carried no attributes at all, so a BOM had nothing to buy from. Distributor PNs matched on exact MPN AND corroborating manufacturer.

Ray ·194bdc3039 · ·parent f24eb68
2 files changed +27−7
ch552g.lbr+22−4
@@ -70,6 +70,18 @@   <smd name="14" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="15" x="2.4750" y="3.1750" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="16" x="2.4750" y="4.4450" dx="1.9500" dy="0.6000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.6000" y="5.0100"/>+    <vertex x="-2.8400" y="5.3400"/>+    <vertex x="-2.3600" y="5.3400"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.9750" y="4.9500"/>+    <vertex x="1.9500" y="4.9500"/>+    <vertex x="1.9500" y="-4.9500"/>+    <vertex x="-1.9500" y="-4.9500"/>+    <vertex x="-1.9500" y="3.9750"/>+  </polygon>   <wire x1="-2.0600" y1="5.0600" x2="2.0600" y2="5.0600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="5.0050" x2="-2.0600" y2="5.0600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="-5.0600" x2="-2.0600" y2="-5.0050" width="0.1200" layer="21"/>@@ -78,7 +90,7 @@   <wire x1="2.0600" y1="-5.0600" x2="-2.0600" y2="-5.0600" width="0.1200" layer="21"/>   <text x="0" y="6.020" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-6.020" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.6000" y="5.0100"/><vertex x="-2.8400" y="5.3400"/><vertex x="-2.3600" y="5.3400"/></polygon></package>+</package> </packages> <symbols> <symbol name="CH552G">@@ -93,7 +105,7 @@   <pin name="P1.5/MOSI/PWM1/TIN3/UCC2/AIN2" x="-17.78" y="2.54" length="middle" direction="io"/>   <pin name="P1.6/MISO/RXD1/TIN4" x="-17.78" y="0" length="middle" direction="io"/>   <pin name="P1.7/SCK/TXD1/TIN5" x="-17.78" y="-2.54" length="middle" direction="io"/>-  <pin name="RST/T2EX_/CAP2_" x="-17.78" y="-5.08" length="middle" direction="in"/>+  <pin name="RST/T2EX_/CAP2" x="-17.78" y="-5.08" length="middle" direction="in"/>   <pin name="P3.1/PWM2_/TXD" x="-17.78" y="-7.62" length="middle" direction="io"/>   <pin name="P3.0/PWM1_/RXD" x="-17.78" y="-10.16" length="middle" direction="io"/>   <pin name="V33" x="17.78" y="7.62" length="middle" direction="pwr" rot="R180"/>@@ -120,7 +132,7 @@         <connect gate="G$1" pin="P1.5/MOSI/PWM1/TIN3/UCC2/AIN2" pad="3"/>         <connect gate="G$1" pin="P1.6/MISO/RXD1/TIN4" pad="4"/>         <connect gate="G$1" pin="P1.7/SCK/TXD1/TIN5" pad="5"/>-        <connect gate="G$1" pin="RST/T2EX_/CAP2_" pad="6"/>+        <connect gate="G$1" pin="RST/T2EX_/CAP2" pad="6"/>         <connect gate="G$1" pin="P3.1/PWM2_/TXD" pad="7"/>         <connect gate="G$1" pin="P3.0/PWM1_/RXD" pad="8"/>         <connect gate="G$1" pin="V33" pad="16"/>@@ -132,7 +144,13 @@         <connect gate="G$1" pin="P3.3/INT1" pad="10"/>         <connect gate="G$1" pin="P1.1/T2EX/CAP2/TIN1/VBUS2/AIN0" pad="9"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="CH552G" constant="no"/>+          <attribute name="MANUFACTURER" value="WCH Jiangsu Qin Heng" constant="no"/>+          <attribute name="LCSC_PN" value="C111292" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+5−3
@@ -26,7 +26,9 @@       "model_3d_step": "ch552g.step",       "lbr": "ch552g.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C111292"+    },     "pins": [       {         "number": "1",@@ -116,13 +118,13 @@         "number": "15",         "name": "VCC",         "type": "power_in",-        "description": "Main supply input (VDD), 3.3 V or 5 V. Requires an external 0.1 µF decoupling capacitor."+        "description": "Main supply input (VDD), 3.3 V or 5 V. Requires an external 0.1 \u00b5F decoupling capacitor."       },       {         "number": "16",         "name": "V33",         "type": "power_in",-        "description": "Internal USB 3.3 V LDO regulator output and USB I/O supply input. When VCC < 3.6 V, tie V33 to VCC externally. When VCC > 3.6 V (5 V operation), leave V33 as regulator output and connect an external 0.1 µF decoupling capacitor."+        "description": "Internal USB 3.3 V LDO regulator output and USB I/O supply input. When VCC < 3.6 V, tie V33 to VCC externally. When VCC > 3.6 V (5 V operation), leave V33 as regulator output and connect an external 0.1 \u00b5F decoupling capacitor."       }     ],     "provenance": {