← Commit history

symbol: the part is a 5-lead SOT-23 - the shipped footprint has 5 pads and the datasheet confirms it for this ordering suffix - but the symbol carried the 8-pin SOIC pinout. Pinout taken from this part's datasheet for its own ordering suffix. The library failed validate because the symbol declared pins the footprint has no pad for (connect-pad-unresolved), which also blocked its orderable attributes. Rebuilds the .lbr, re-derives pin 1 and pads.json.

Ray ·23fee94f76 · ·parent ee5d776
3 files changed +62−51
at24c02c-stum-t.kicad_sym+12−24
@@ -1,45 +1,33 @@ (kicad_symbol_lib (version 20211014) (generator ds2sf_rect)   (symbol "AT24C02C-STUM-T" (in_bom yes) (on_board yes)     (property "Reference" "U" (at 0 7.62 0) (effects (font (size 1.27 1.27))))-    (property "Value" "AT24C02C-STUM-T" (at 0 -10.16 0) (effects (font (size 1.27 1.27))))+    (property "Value" "AT24C02C-STUM-T" (at 0 -7.62 0) (effects (font (size 1.27 1.27))))     (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))     (symbol "AT24C02C-STUM-T_0_1"-    (rectangle (start -12.70 5.08) (end 12.70 -7.62)+    (rectangle (start -12.70 5.08) (end 12.70 -5.08)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "AT24C02C-STUM-T_1_1"     (pin input line (at -17.78 2.54 0) (length 5.08)-      (name "A0" (effects (font (size 1.27 1.27))))+      (name "SCL" (effects (font (size 1.27 1.27))))       (number "1" (effects (font (size 1.27 1.27))))     )-    (pin input line (at -17.78 0.00 0) (length 5.08)-      (name "A1" (effects (font (size 1.27 1.27))))+    (pin power_in line (at -17.78 0.00 0) (length 5.08)+      (name "GND" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin input line (at -17.78 -2.54 0) (length 5.08)-      (name "A2" (effects (font (size 1.27 1.27))))+    (pin bidirectional line (at -17.78 -2.54 0) (length 5.08)+      (name "SDA" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at -17.78 -5.08 0) (length 5.08)-      (name "GND" (effects (font (size 1.27 1.27))))-      (number "4" (effects (font (size 1.27 1.27))))-    )-    (pin power_in line (at 17.78 2.54 180) (length 5.08)-      (name "VCC" (effects (font (size 1.27 1.27))))-      (number "8" (effects (font (size 1.27 1.27))))-    )-    (pin input line (at 17.78 0.00 180) (length 5.08)+    (pin input line (at 17.78 2.54 180) (length 5.08)       (name "WP" (effects (font (size 1.27 1.27))))-      (number "7" (effects (font (size 1.27 1.27))))-    )-    (pin input line (at 17.78 -2.54 180) (length 5.08)-      (name "SCL" (effects (font (size 1.27 1.27))))-      (number "6" (effects (font (size 1.27 1.27))))-    )-    (pin bidirectional line (at 17.78 -5.08 180) (length 5.08)-      (name "SDA" (effects (font (size 1.27 1.27))))       (number "5" (effects (font (size 1.27 1.27))))     )+    (pin power_in line (at 17.78 0.00 180) (length 5.08)+      (name "VCC" (effects (font (size 1.27 1.27))))+      (number "4" (effects (font (size 1.27 1.27))))+    )     )   ) )
at24c02c-stum-t.lbr+34−21
@@ -59,6 +59,18 @@   <smd name="3" x="-1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="4" x="1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="5" x="1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-1.4500" y="1.5100"/>+    <vertex x="-1.6900" y="1.8400"/>+    <vertex x="-1.2100" y="1.8400"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.4000" y="1.4500"/>+    <vertex x="0.8000" y="1.4500"/>+    <vertex x="0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="1.0500"/>+  </polygon>   <wire x1="-0.9100" y1="1.5600" x2="0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="1.5100" x2="-0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5100" width="0.1200" layer="21"/>@@ -73,19 +85,16 @@ <symbols> <symbol name="AT24C02C-STUM-T">   <wire x1="-12.7" y1="5.08" x2="12.7" y2="5.08" width="0.254" layer="94"/>-  <wire x1="12.7" y1="5.08" x2="12.7" y2="-7.62" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-7.62" x2="-12.7" y2="-7.62" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-7.62" x2="-12.7" y2="5.08" width="0.254" layer="94"/>+  <wire x1="12.7" y1="5.08" x2="12.7" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="12.7" y1="-5.08" x2="-12.7" y2="-5.08" width="0.254" layer="94"/>+  <wire x1="-12.7" y1="-5.08" x2="-12.7" y2="5.08" width="0.254" layer="94"/>   <text x="0" y="7.62" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-10.16" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="A0" x="-17.78" y="2.54" length="middle" direction="in"/>-  <pin name="A1" x="-17.78" y="0" length="middle" direction="in"/>-  <pin name="A2" x="-17.78" y="-2.54" length="middle" direction="in"/>-  <pin name="GND" x="-17.78" y="-5.08" length="middle" direction="pwr"/>-  <pin name="VCC" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>-  <pin name="WP" x="17.78" y="0" length="middle" direction="in" rot="R180"/>-  <pin name="SCL" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>-  <pin name="SDA" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/>+  <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <pin name="SCL" x="-17.78" y="2.54" length="middle" direction="in"/>+  <pin name="GND" x="-17.78" y="0" length="middle" direction="pwr"/>+  <pin name="SDA" x="-17.78" y="-2.54" length="middle" direction="io"/>+  <pin name="WP" x="17.78" y="2.54" length="middle" direction="in" rot="R180"/>+  <pin name="VCC" x="17.78" y="0" length="middle" direction="pwr" rot="R180"/> </symbol> </symbols> <devicesets>@@ -97,16 +106,20 @@   <devices>     <device name="" package="AT24C02C-STUM-T">       <connects>-        <connect gate="G$1" pin="A0" pad="1"/>-        <connect gate="G$1" pin="A1" pad="2"/>-        <connect gate="G$1" pin="A2" pad="3"/>-        <connect gate="G$1" pin="GND" pad="4"/>-        <connect gate="G$1" pin="VCC" pad="8"/>-        <connect gate="G$1" pin="WP" pad="7"/>-        <connect gate="G$1" pin="SCL" pad="6"/>-        <connect gate="G$1" pin="SDA" pad="5"/>+        <connect gate="G$1" pin="SCL" pad="1"/>+        <connect gate="G$1" pin="GND" pad="2"/>+        <connect gate="G$1" pin="SDA" pad="3"/>+        <connect gate="G$1" pin="WP" pad="5"/>+        <connect gate="G$1" pin="VCC" pad="4"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="AT24C02C-STUM-T" constant="no"/>+          <attribute name="MANUFACTURER" value="Microchip" constant="no"/>+          <attribute name="DIGIKEY_PN" value="AT24C02C-STUM-TTR-ND" constant="no"/>+          <attribute name="LCSC_PN" value="C94534" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
pads.json+16−6
@@ -18,22 +18,32 @@   "derived_from": "SOT-23-5@sha256:455a3f7c3e5eb5b8"  },  "pad_count": 5,+ "symbol_pins": [+  "1",+  "2",+  "3",+  "4",+  "5"+ ],  "paste_apertures": 0,  "issues": [   {-   "kind": "pin-has-no-pad",+   "kind": "pin-not-in-symbol",    "pin": "6",-   "detail": "page.json declares pin \"6\" but the footprint has no such pad"+   "name": "SCL",+   "detail": "page.json describes pin \"6\" (SCL) from the datasheet, but the symbol has no such pin, so nothing can connect to it"   },   {-   "kind": "pin-has-no-pad",+   "kind": "pin-not-in-symbol",    "pin": "7",-   "detail": "page.json declares pin \"7\" but the footprint has no such pad"+   "name": "WP",+   "detail": "page.json describes pin \"7\" (WP) from the datasheet, but the symbol has no such pin, so nothing can connect to it"   },   {-   "kind": "pin-has-no-pad",+   "kind": "pin-not-in-symbol",    "pin": "8",-   "detail": "page.json declares pin \"8\" but the footprint has no such pad"+   "name": "VCC",+   "detail": "page.json describes pin \"8\" (VCC) from the datasheet, but the symbol has no such pin, so nothing can connect to it"   }  ],  "pads": [