← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C18088). 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 ·ba09e61192 · ·parent b027091
2 files changed +35−15
page.json+3−1
@@ -26,7 +26,9 @@       "model_3d_step": "stm8l051f3p6tr.step",       "lbr": "stm8l051f3p6tr.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C18088"+    },     "pins": [       {         "number": "1",
stm8l051f3p6tr.lbr+32−14
@@ -74,11 +74,23 @@   <smd name="18" x="2.8625" y="1.6250" dx="1.4750" dy="0.4000" layer="1"/>   <smd name="19" x="2.8625" y="2.2750" dx="1.4750" dy="0.4000" layer="1"/>   <smd name="20" x="2.8625" y="2.9250" dx="1.4750" dy="0.4000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-3.8600" y="2.9300"/>+    <vertex x="-4.1900" y="2.6900"/>+    <vertex x="-4.1900" y="3.1700"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-1.2000" y="3.2500"/>+    <vertex x="2.2000" y="3.2500"/>+    <vertex x="2.2000" y="-3.2500"/>+    <vertex x="-2.2000" y="-3.2500"/>+    <vertex x="-2.2000" y="2.2500"/>+  </polygon>   <wire x1="-2.3100" y1="3.3850" x2="2.3100" y2="3.3850" width="0.1200" layer="21"/>   <wire x1="2.3100" y1="-3.3850" x2="-2.3100" y2="-3.3850" width="0.1200" layer="21"/>   <text x="0" y="4.262" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-4.262" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.8600" y="2.9300"/><vertex x="-4.1900" y="2.6900"/><vertex x="-4.1900" y="3.1700"/></polygon></package>+</package> </packages> <symbols> <symbol name="STM8L051F3P6TR">@@ -88,15 +100,15 @@   <wire x1="-12.7" y1="-15.24" x2="-12.7" y2="12.7" width="0.254" layer="94"/>   <text x="0" y="15.239999999999998" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>   <text x="0" y="-17.78" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1" x="-17.78" y="10.16" length="middle" direction="io"/>-  <pin name="PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2" x="-17.78" y="7.62" length="middle" direction="io"/>-  <pin name="PA0/[USART_CK]/SWIM/BEEP/IR_TIM" x="-17.78" y="5.08" length="middle" direction="io"/>+  <pin name="PC5/OSC32_IN/_SPI1_NSS_/_USART_TX_/TIM2_CH1" x="-17.78" y="10.16" length="middle" direction="io"/>+  <pin name="PC6/OSC32_OUT/_SPI_SCK_/_USART_RX_/TIM2_CH2" x="-17.78" y="7.62" length="middle" direction="io"/>+  <pin name="PA0/_USART_CK_/SWIM/BEEP/IR_TIM" x="-17.78" y="5.08" length="middle" direction="io"/>   <pin name="NRST/PA1" x="-17.78" y="2.54" length="middle" direction="io"/>-  <pin name="PA2/OSC_IN/[USART_TX]/[SPI_MISO]" x="-17.78" y="0" length="middle" direction="io"/>-  <pin name="PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]" x="-17.78" y="-2.54" length="middle" direction="io"/>+  <pin name="PA2/OSC_IN/_USART_TX_/_SPI_MISO" x="-17.78" y="0" length="middle" direction="io"/>+  <pin name="PA3/OSC_OUT/_USART_RX_/_SPI_MOSI" x="-17.78" y="-2.54" length="middle" direction="io"/>   <pin name="VSS/VSSA/VREF-" x="-17.78" y="-5.08" length="middle" direction="pwr"/>   <pin name="VDD/VDDA/VREF+" x="-17.78" y="-7.62" length="middle" direction="pwr"/>-  <pin name="PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22" x="-17.78" y="-10.16" length="middle" direction="io"/>+  <pin name="PD0/TIM3_CH2/_ADC1_TRIG_/ADC1_IN22" x="-17.78" y="-10.16" length="middle" direction="io"/>   <pin name="PB0/TIM2_CH1/ADC1_IN18" x="-17.78" y="-12.7" length="middle" direction="io"/>   <pin name="PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4" x="17.78" y="10.16" length="middle" direction="io" rot="R180"/>   <pin name="PC1/I2C_SCL" x="17.78" y="7.62" length="middle" direction="io" rot="R180"/>@@ -119,15 +131,15 @@   <devices>     <device name="" package="STM8L051F3P6TR">       <connects>-        <connect gate="G$1" pin="PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1" pad="1"/>-        <connect gate="G$1" pin="PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2" pad="2"/>-        <connect gate="G$1" pin="PA0/[USART_CK]/SWIM/BEEP/IR_TIM" pad="3"/>+        <connect gate="G$1" pin="PC5/OSC32_IN/_SPI1_NSS_/_USART_TX_/TIM2_CH1" pad="1"/>+        <connect gate="G$1" pin="PC6/OSC32_OUT/_SPI_SCK_/_USART_RX_/TIM2_CH2" pad="2"/>+        <connect gate="G$1" pin="PA0/_USART_CK_/SWIM/BEEP/IR_TIM" pad="3"/>         <connect gate="G$1" pin="NRST/PA1" pad="4"/>-        <connect gate="G$1" pin="PA2/OSC_IN/[USART_TX]/[SPI_MISO]" pad="5"/>-        <connect gate="G$1" pin="PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]" pad="6"/>+        <connect gate="G$1" pin="PA2/OSC_IN/_USART_TX_/_SPI_MISO" pad="5"/>+        <connect gate="G$1" pin="PA3/OSC_OUT/_USART_RX_/_SPI_MOSI" pad="6"/>         <connect gate="G$1" pin="VSS/VSSA/VREF-" pad="7"/>         <connect gate="G$1" pin="VDD/VDDA/VREF+" pad="8"/>-        <connect gate="G$1" pin="PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22" pad="9"/>+        <connect gate="G$1" pin="PD0/TIM3_CH2/_ADC1_TRIG_/ADC1_IN22" pad="9"/>         <connect gate="G$1" pin="PB0/TIM2_CH1/ADC1_IN18" pad="10"/>         <connect gate="G$1" pin="PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4" pad="20"/>         <connect gate="G$1" pin="PC1/I2C_SCL" pad="19"/>@@ -140,7 +152,13 @@         <connect gate="G$1" pin="PB2/TIM2_CH2/ADC1_IN16" pad="12"/>         <connect gate="G$1" pin="PB1/TIM3_CH1/ADC1_IN17" pad="11"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="STM8L051F3P6TR" constant="no"/>+          <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+          <attribute name="LCSC_PN" value="C18088" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>