FSC-BT1058 had ended up with two footprint/symbol libraries on disk (FSC-BT1058 and MIKILAB_FSC-BT1058) after a re-import baked the "MIKILAB_" nickname prefix into the component name itself. Since that prefix is normally added automatically when sym-lib-table/fp-lib-table are generated, the double-prefixed copy (MIKILAB_MIKILAB_FSC_BT1058) was invisible to collision checks and left the original as a stale, outdated duplicate. Consolidated onto the single correct library (symbols/other and footprints/other without the redundant prefix, matching the rest of the library's naming convention), fixed the symbol's Footprint property and the footprint's 3D model reference, and regenerated both lib-tables from disk. To stop this class of bug from recurring: - lib_common.check_component_name() rejects any --name that already starts with "MIKILAB", used by import_component.py's import_symbol/ import_footprint (and therefore also by add_component.py and the SnapEDA/UltraLibrarian importers, which call into the same core). - check_library.py now flags any on-disk symbol/footprint whose name already carries that prefix as an ERROR, independent of how it got there. - import_component.py gains --remove to cleanly delete a component (symbol, footprint library, 3D model) and regenerate the lib-tables in one step, for exactly this kind of cleanup. Errors: 0 on check_library.py after the fix. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
223 lines
7.0 KiB
Plaintext
223 lines
7.0 KiB
Plaintext
|
|
(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
|
|
(symbol "TPS22994RUKT" (pin_names (offset 1.016)) (in_bom yes) (on_board yes)
|
|
(property "Reference" "U" (id 0) (at -12.7 31.48 0.0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom left))
|
|
)
|
|
(property "Value" "TPS22994RUKT" (id 1) (at -12.7 -35.56 0.0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom left))
|
|
)
|
|
(property "Footprint" "MIKILAB_TPS22994RUKT:IC_TPS22994RUKT" (id 2) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MF" "Texas Instruments" (id 4) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MAXIMUM_PACKAGE_HEIGHT" "0.8 mm" (id 5) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Package" "WQFN-20 Texas Instruments" (id 6) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Price" "None" (id 7) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Check_prices" "https://www.snapeda.com/parts/TPS22994RUKT/Texas+Instruments/view-part/?ref=eda" (id 8) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "STANDARD" "Manufacturer Recommendation" (id 9) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "PARTREV" "B" (id 10) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "SnapEDA_Link" "https://www.snapeda.com/parts/TPS22994RUKT/Texas+Instruments/view-part/?ref=snap" (id 11) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MP" "TPS22994RUKT" (id 12) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Description" "\n \n 4-ch, 3.6-V, 1-A, 41-mΩ load switch with I2C control\n \n" (id 13) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "Availability" "In Stock" (id 14) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(property "MANUFACTURER" "Texas Instruments" (id 15) (at 0 0 0)
|
|
(effects (font (size 1.27 1.27)) (justify bottom) hide)
|
|
)
|
|
(symbol "TPS22994RUKT_0_0"
|
|
(rectangle (start -12.7 -33.02) (end 12.7 30.48)
|
|
(stroke (width 0.254)) (fill (type background))
|
|
)
|
|
(pin input line (at -17.78 -10.16 0) (length 5.08)
|
|
(name "ADD1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "6"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 -12.7 0) (length 5.08)
|
|
(name "ADD2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "16"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 -15.24 0) (length 5.08)
|
|
(name "ADD3"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "20"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 17.78 0) (length 5.08)
|
|
(name "ON1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "10"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 10.16 0) (length 5.08)
|
|
(name "ON2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "9"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 2.54 0) (length 5.08)
|
|
(name "ON3"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "8"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 -5.08 0) (length 5.08)
|
|
(name "ON4"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "7"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input clock (at -17.78 -20.32 0) (length 5.08)
|
|
(name "SCL"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "17"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 20.32 0) (length 5.08)
|
|
(name "VIN1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "4"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 12.7 0) (length 5.08)
|
|
(name "VIN2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 5.08 0) (length 5.08)
|
|
(name "VIN3"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "14"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin input line (at -17.78 -2.54 0) (length 5.08)
|
|
(name "VIN4"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "12"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin bidirectional line (at -17.78 -22.86 0) (length 5.08)
|
|
(name "SDA"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "19"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin power_in line (at 17.78 27.94 180.0) (length 5.08)
|
|
(name "VBIAS"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "3"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin power_in line (at 17.78 25.4 180.0) (length 5.08)
|
|
(name "VDD"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "18"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin output line (at 17.78 20.32 180.0) (length 5.08)
|
|
(name "VOUT1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "5"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin output line (at 17.78 12.7 180.0) (length 5.08)
|
|
(name "VOUT2"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "1"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin output line (at 17.78 5.08 180.0) (length 5.08)
|
|
(name "VOUT3"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "15"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin output line (at 17.78 -2.54 180.0) (length 5.08)
|
|
(name "VOUT4"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "11"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin power_in line (at 17.78 -27.94 180.0) (length 5.08)
|
|
(name "EXP"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "21"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
(pin power_in line (at 17.78 -30.48 180.0) (length 5.08)
|
|
(name "GND"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
(number "13"
|
|
(effects (font (size 1.016 1.016)))
|
|
)
|
|
)
|
|
)
|
|
)
|
|
) |