← Commit history

fix footprint: SOT-223 -> SOT-223-3_TabPin2 (symbol has pins 1,2,3; the old footprint left pad(s) 4 with no net)

Ray ·1c41a228bd ·2mo ago ·parent 33fb67d
4 files changed +49−86
bl1117-cx.kicad_mod+35−35
@@ -1,4 +1,4 @@-(footprint "SOT-223"+(footprint "SOT-223-3_TabPin2" 	(version 20260206) 	(generator "pcbnew") 	(generator_version "10.0")@@ -8,7 +8,7 @@ 	(property "Reference" "REF**" 		(at 0 -4.5 0) 		(layer "F.SilkS")-		(uuid "4497a1e1-94b1-4cba-abfc-02d82a04371f")+		(uuid "095b50a5-76ce-476b-aa10-37a37fa441f1") 		(effects 			(font 				(size 1 1)@@ -16,10 +16,10 @@ 			) 		) 	)-	(property "Value" "SOT-223"+	(property "Value" "SOT-223-3_TabPin2" 		(at 0 4.5 0) 		(layer "F.Fab")-		(uuid "222a057b-4f1f-481e-81c0-82276f6e2fbf")+		(uuid "a763838d-1dc3-4eda-bbc0-fbcf1edf1449") 		(effects 			(font 				(size 1 1)@@ -32,7 +32,7 @@ 		(unlocked yes) 		(layer "F.Fab") 		(hide yes)-		(uuid "cf35375b-a35a-4ccf-b401-52356d4eb3ab")+		(uuid "0fecb949-4744-4c65-8091-70f595847ba4") 		(effects 			(font 				(size 1.27 1.27)@@ -45,7 +45,7 @@ 		(unlocked yes) 		(layer "F.Fab") 		(hide yes)-		(uuid "e0b857b7-85f4-442e-9375-43b7f0b65024")+		(uuid "7dd6192e-e612-428f-816e-6f28697542d5") 		(effects 			(font 				(size 1.27 1.27)@@ -63,7 +63,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "10341b74-de1d-44f8-b919-9dc7b01c77a6")+		(uuid "e98ec803-a6f4-4196-9fa0-d9f7619efa9d") 	) 	(fp_line 		(start -1.85 3.41)@@ -73,7 +73,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "9eaaee9c-d787-4c4e-9409-486f5d803253")+		(uuid "6e43f798-7915-403c-b947-4851bde35045") 	) 	(fp_line 		(start 1.91 -3.41)@@ -83,7 +83,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "668bbda1-c7e1-4e23-9d62-dd4d052018b0")+		(uuid "ddfc40c4-e33c-493e-b735-24282440d539") 	) 	(fp_line 		(start 1.91 3.41)@@ -93,7 +93,7 @@ 			(type solid) 		) 		(layer "F.SilkS")-		(uuid "7b7161b8-bc72-4822-9d67-8c4bc120433f")+		(uuid "79366377-6a9f-460a-b0d1-788467590954") 	) 	(fp_poly 		(pts@@ -105,7 +105,7 @@ 		) 		(fill yes) 		(layer "F.SilkS")-		(uuid "818bd365-7a79-40a2-b037-dacc75b8af05")+		(uuid "27420593-f422-495a-9e17-88a99bcd8a3d") 	) 	(fp_line 		(start -4.4 -3.6)@@ -115,7 +115,7 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "1e6e1c3c-cf2e-4570-9270-1e4425f802c5")+		(uuid "2d708b29-208a-4760-a2c5-6626e4d03d29") 	) 	(fp_line 		(start -4.4 3.6)@@ -125,7 +125,7 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "fe006c7f-e9e9-42b8-94e6-7fab62e45a96")+		(uuid "ffe8efb3-9432-4dfe-8e3a-faf2eb064270") 	) 	(fp_line 		(start 4.4 -3.6)@@ -135,7 +135,7 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "18a70f3a-ba6f-445d-a1d1-b2229acce0b4")+		(uuid "d963e7fb-b321-4298-bcd6-9650f5938938") 	) 	(fp_line 		(start 4.4 3.6)@@ -145,27 +145,27 @@ 			(type solid) 		) 		(layer "F.CrtYd")-		(uuid "1cb64177-a033-440a-bc55-482358e05d6e")+		(uuid "18839f08-10e9-4a73-9312-8be172f09091") 	) 	(fp_line-		(start -1.85 -2.3)+		(start -1.85 -2.35) 		(end -1.85 3.35) 		(stroke 			(width 0.1) 			(type solid) 		) 		(layer "F.Fab")-		(uuid "2a9ca989-6b38-468d-a714-75a033988b2c")+		(uuid "659fc817-2286-4dd8-ba60-8e62262ce6cc") 	) 	(fp_line-		(start -1.85 -2.3)-		(end -0.8 -3.35)+		(start -1.85 -2.35)+		(end -0.85 -3.35) 		(stroke 			(width 0.1) 			(type solid) 		) 		(layer "F.Fab")-		(uuid "bcb7341f-c5b7-4cf0-ac84-66c574c5e61c")+		(uuid "f393364a-2641-4746-ba4c-6509ea1de503") 	) 	(fp_line 		(start -1.85 3.35)@@ -175,17 +175,17 @@ 			(type solid) 		) 		(layer "F.Fab")-		(uuid "c011dc66-40ad-4f1e-a34f-e251dae0cd31")+		(uuid "27db54e0-f4a8-4972-bcbc-256787416dcd") 	) 	(fp_line-		(start -0.8 -3.35)+		(start -0.85 -3.35) 		(end 1.85 -3.35) 		(stroke 			(width 0.1) 			(type solid) 		) 		(layer "F.Fab")-		(uuid "80711826-0dce-449b-af78-388864936159")+		(uuid "be579ebe-38db-4860-98f0-9f530f704760") 	) 	(fp_line 		(start 1.85 -3.35)@@ -195,12 +195,12 @@ 			(type solid) 		) 		(layer "F.Fab")-		(uuid "a66ee799-671f-4902-ac92-f94d39f82acf")+		(uuid "9d748ff0-f43a-42f3-a9ff-3a463972b1ca") 	) 	(fp_text user "${REFERENCE}" 		(at 0 0 90) 		(layer "F.Fab")-		(uuid "184c46b5-a004-48e0-8f63-d7d63dc324be")+		(uuid "aff1cd04-29c5-47f0-8349-1badf43ec67b") 		(effects 			(font 				(size 0.8 0.8)@@ -213,28 +213,28 @@ 		(size 2 1.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "ea891fee-0855-44cc-8da9-0c7b9e3b1505")+		(uuid "6c38c733-73aa-46ef-9aa8-0adc47a79448") 	) 	(pad "2" smd roundrect 		(at -3.15 0) 		(size 2 1.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "2adbaf0f-7617-4618-9438-78a8bd4ec4b2")+		(uuid "553b4aa3-b4fc-45ee-9bbe-5eb8183ee7d8") 	)-	(pad "3" smd roundrect-		(at -3.15 2.3)-		(size 2 1.5)+	(pad "2" smd roundrect+		(at 3.15 0)+		(size 2 3.8) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "1b42a1a5-e735-42f2-b87a-1df5a461081d")+		(uuid "118e82e2-9099-4e46-a269-1e2cb8448d5e") 	)-	(pad "4" smd roundrect-		(at 3.15 0)-		(size 2 3.8)+	(pad "3" smd roundrect+		(at -3.15 2.3)+		(size 2 1.5) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(uuid "023f2cc5-97fb-4421-8e37-e8aa385789b4")+		(uuid "5046df04-2b74-45a5-867e-e33a5e51e59c") 	) 	(embedded_fonts no) 	(model "${KICAD10_3DMODEL_DIR}/Package_TO_SOT_SMD.3dshapes/SOT-223.step"
bl1117-cx.lbr+5−5
@@ -56,16 +56,16 @@   <description>BL1117-CX</description>   <smd name="1" x="-3.1500" y="2.3000" dx="2.0000" dy="1.5000" layer="1"/>   <smd name="2" x="-3.1500" y="-0.0000" dx="2.0000" dy="1.5000" layer="1"/>+  <smd name="2@2" x="3.1500" y="-0.0000" dx="2.0000" dy="3.8000" layer="1"/>   <smd name="3" x="-3.1500" y="-2.3000" dx="2.0000" dy="1.5000" layer="1"/>-  <smd name="4" x="3.1500" y="-0.0000" dx="2.0000" dy="3.8000" layer="1"/>   <wire x1="-1.8500" y1="3.4100" x2="1.9100" y2="3.4100" width="0.1200" layer="21"/>   <wire x1="-1.8500" y1="-3.4100" x2="1.9100" y2="-3.4100" width="0.1200" layer="21"/>   <wire x1="1.9100" y1="3.4100" x2="1.9100" y2="2.1500" width="0.1200" layer="21"/>   <wire x1="1.9100" y1="-3.4100" x2="1.9100" y2="-2.1500" width="0.1200" layer="21"/>-  <wire x1="-1.8500" y1="2.3000" x2="-1.8500" y2="-3.3500" width="0.1000" layer="51"/>-  <wire x1="-1.8500" y1="2.3000" x2="-0.8000" y2="3.3500" width="0.1000" layer="51"/>+  <wire x1="-1.8500" y1="2.3500" x2="-1.8500" y2="-3.3500" width="0.1000" layer="51"/>+  <wire x1="-1.8500" y1="2.3500" x2="-0.8500" y2="3.3500" width="0.1000" layer="51"/>   <wire x1="-1.8500" y1="-3.3500" x2="1.8500" y2="-3.3500" width="0.1000" layer="51"/>-  <wire x1="-0.8000" y1="3.3500" x2="1.8500" y2="3.3500" width="0.1000" layer="51"/>+  <wire x1="-0.8500" y1="3.3500" x2="1.8500" y2="3.3500" width="0.1000" layer="51"/>   <wire x1="1.8500" y1="3.3500" x2="1.8500" y2="-3.3500" width="0.1000" layer="51"/>   <text x="0" y="4.010" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-4.010" size="1.27" layer="27" align="top-center">&gt;VALUE</text>@@ -94,7 +94,7 @@     <device name="" package="BL1117-CX">       <connects>         <connect gate="G$1" pin="GND/ADJ" pad="1"/>-        <connect gate="G$1" pin="Vout" pad="2"/>+        <connect gate="G$1" pin="Vout" pad="2 2@2"/>         <connect gate="G$1" pin="Vin" pad="3"/>       </connects>       <technologies><technology name=""/></technologies>
pads.json+8−45
@@ -1,9 +1,9 @@ {  "schema": "adom.pads/1",  "slug": "bl1117-cx",- "footprint": "SOT-223",+ "footprint": "SOT-223-3_TabPin2",  "generated_from": {-  "footprint": "SOT-223@sha256:49f22605ecc1fc70",+  "footprint": "SOT-223-3_TabPin2@sha256:8ae5f03e2c16377a",   "pins": "page.json:component.pins",   "overrides": null  },@@ -15,18 +15,11 @@   ],   "corner": "top-left",   "source": "silk-marker",-  "derived_from": "SOT-223@sha256:49f22605ecc1fc70"+  "derived_from": "SOT-223-3_TabPin2@sha256:8ae5f03e2c16377a"  },- "pad_count": 4,+ "pad_count": 3,  "paste_apertures": 0,- "issues": [-  {-   "kind": "pad-has-no-pin",-   "pad": "4",-   "thermal": false,-   "detail": "footprint pad \"4\" is in copper but no pin claims it"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",@@ -53,7 +46,7 @@    "description": "Ground (fixed-output versions) or Adjust feedback pin (BL1117-ADJ). On the ADJ variant this pin sets Vout via an external divider following Vout = 1.25 × (1 + R2/R1) + I_ADJ × R2, with I_ADJ typically 55 µA (max 120 µA).",    "is_pin1": true,    "source": {-    "geometry": "SOT-223.kicad_mod",+    "geometry": "SOT-223-3_TabPin2.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -83,7 +76,7 @@    "description": "Regulated output. Delivers up to 1A with 1.3V typical dropout at 1A; recommended output capacitor is 10µF tantalum or MLCC (ESR 3mΩ-22Ω). SOT-223 tab is internally connected to this pin.",    "is_pin1": false,    "source": {-    "geometry": "SOT-223.kicad_mod",+    "geometry": "SOT-223-3_TabPin2.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }@@ -113,40 +106,10 @@    "description": "Unregulated input supply. Absolute max 18V (20V for BL1117-12V); recommended input range up to 16V. A 10µF tantalum or MLCC bypass capacitor is recommended close to the pin.",    "is_pin1": false,    "source": {-    "geometry": "SOT-223.kicad_mod",+    "geometry": "SOT-223-3_TabPin2.kicad_mod",     "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }-  },-  {-   "pad": "4",-   "kind": "smd",-   "shape": "roundrect",-   "at": [-    3.15,-    0.0-   ],-   "rot": 0.0,-   "size": [-    2.0,-    3.8-   ],-   "layers": [-    "F.Cu",-    "F.Mask",-    "F.Paste"-   ],-   "thermal": false,-   "pin": "4",-   "name": null,-   "type": null,-   "description": null,-   "is_pin1": false,-   "source": {-    "geometry": "SOT-223.kicad_mod",-    "meaning": null,-    "correspondence": "kicad: symbol pin number == pad name"-   }   }  ] }\ No newline at end of file
page.json+1−1
@@ -75,7 +75,7 @@       ],       "corner": "top-left",       "source": "silk-marker",-      "derived_from": "SOT-223@sha256:49f22605ecc1fc70",+      "derived_from": "SOT-223-3_TabPin2@sha256:8ae5f03e2c16377a",       "mark": "drawn"     }   },