7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Add a mechanism for using a mock config dir for QA tests

This commit is contained in:
Jon Evans 2025-01-18 13:33:12 -05:00
parent b582f178dd
commit 975fe32fa7
19 changed files with 183318 additions and 9 deletions

View File

@ -0,0 +1,3 @@
(design_block_lib_table
(version 7)
)

View File

@ -0,0 +1,148 @@
(fp_lib_table
(lib (name Audio_Module)(type Kicad)(uri ${KICAD8_FOOTPRINT_DIR}/Audio_Module.pretty)(options "")(descr "Audio Module footprints"))
(lib (name Battery)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Battery.pretty)(options "")(descr "Battery and battery holder footprints"))
(lib (name Button_Switch_Keyboard)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Button_Switch_Keyboard.pretty)(options "")(descr "Buttons and switches for keyboard applications"))
(lib (name Button_Switch_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Button_Switch_SMD.pretty)(options "")(descr "Buttons and switches, surface mount"))
(lib (name Button_Switch_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Button_Switch_THT.pretty)(options "")(descr "Buttons and switches, through hole"))
(lib (name Buzzer_Beeper)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Buzzer_Beeper.pretty)(options "")(descr "Audio signalling devices"))
(lib (name Calibration_Scale)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Calibration_Scale.pretty)(options "")(descr "Scales and grids intended for calibration and measurement"))
(lib (name Capacitor_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Capacitor_SMD.pretty)(options "")(descr "Capacitor, surface mount"))
(lib (name Capacitor_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Capacitor_THT.pretty)(options "")(descr "Capacitor, through hole"))
(lib (name Capacitor_Tantalum_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Capacitor_Tantalum_SMD.pretty)(options "")(descr "Tantalum Capacitor, surface mount"))
(lib (name Connector)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector.pretty)(options "")(descr "Generic/unsorted connector footprints"))
(lib (name Connector_AMASS)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_AMASS.pretty)(options "")(descr "AMASS connector footprints"))
(lib (name Connector_Amphenol)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Amphenol.pretty)(options "")(descr "Amphenol LTW connector footprints"))
(lib (name Connector_Audio)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Audio.pretty)(options "")(descr "Audio connector footprints"))
(lib (name Connector_BarrelJack)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_BarrelJack.pretty)(options "")(descr "(DC) barrel jack connector footprints"))
(lib (name Connector_Card)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Card.pretty)(options "")(descr "Card and card holder footprints"))
(lib (name Connector_Coaxial)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Coaxial.pretty)(options "")(descr "Coaxial and RF connector footprints"))
(lib (name Connector_DIN)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_DIN.pretty)(options "")(descr "DIN connector footprints"))
(lib (name Connector_Dsub)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Dsub.pretty)(options "")(descr "DSub connector footprints"))
(lib (name Connector_FFC-FPC)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_FFC-FPC.pretty)(options "")(descr "FFC (Flexible Flat Cable) and FPC (Flexible Printed Circuit) connector footprints"))
(lib (name Connector_Harting)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Harting.pretty)(options "")(descr "Harting connector footprints"))
(lib (name Connector_Harwin)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Harwin.pretty)(options "")(descr "Harwin connector footprints"))
(lib (name Connector_Hirose)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Hirose.pretty)(options "")(descr "Hirose connector footprints"))
(lib (name Connector_Hirose_FX8)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Hirose_FX8.pretty)(options "")(descr "Hirose FX8 series connector footprints"))
(lib (name Connector_IDC)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_IDC.pretty)(options "")(descr "IDC connector footprints"))
(lib (name Connector_JAE)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_JAE.pretty)(options "")(descr "JAE connector footprints"))
(lib (name Connector_JAE_WP7B)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_JAE_WP7B.pretty)(options "")(descr "JAE WP7B series FPC connector footprints"))
(lib (name Connector_JST)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_JST.pretty)(options "")(descr "JST connector footprints www.jst.com"))
(lib (name Connector_Molex)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Molex.pretty)(options "")(descr "Molex connector footprints www.molex.com"))
(lib (name Connector_PCBEdge)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PCBEdge.pretty)(options "")(descr "PCB edge connectors (e.g. PCI, ISA, PCIe, ...)"))
(lib (name Connector_Pin)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Pin.pretty)(options "")(descr "Single (solder) pin conectors"))
(lib (name Connector_PinHeader_1.00mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinHeader_1.00mm.pretty)(options "")(descr "Pin headers, 1.0mm pitch"))
(lib (name Connector_PinHeader_1.27mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinHeader_1.27mm.pretty)(options "")(descr "Pin headers, 1.27mm pitch"))
(lib (name Connector_PinHeader_2.00mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinHeader_2.00mm.pretty)(options "")(descr "Pin headers, 2.0mm pitch"))
(lib (name Connector_PinHeader_2.54mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinHeader_2.54mm.pretty)(options "")(descr "Pin headers, 2.54mm pitch"))
(lib (name Connector_PinSocket_1.00mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinSocket_1.00mm.pretty)(options "")(descr "Pin sockets, 1.00mm pitch"))
(lib (name Connector_PinSocket_1.27mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinSocket_1.27mm.pretty)(options "")(descr "Pin sockets, 1.27mm pitch"))
(lib (name Connector_PinSocket_2.00mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinSocket_2.00mm.pretty)(options "")(descr "Pin sockets, 2.0mm pitch"))
(lib (name Connector_PinSocket_2.54mm)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_PinSocket_2.54mm.pretty)(options "")(descr "Pin sockets, 2.54mm pitch"))
(lib (name Connector_Phoenix_MC)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Phoenix_MC.pretty)(options "")(descr "Phoenix MC connector footprints"))
(lib (name Connector_Phoenix_MC_HighVoltage)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Phoenix_MC_HighVoltage.pretty)(options "")(descr "Phoenix high voltage (320V, 5.08mm pitch) MC connector footprints"))
(lib (name Connector_Phoenix_MSTB)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Phoenix_MSTB.pretty)(options "")(descr "Phoenix MSTB connector footprints"))
(lib (name Connector_Phoenix_GMSTB)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Phoenix_GMSTB.pretty)(options "")(descr "Phoenix GMSTB series (high voltage MSTB) connector footprints"))
(lib (name Connector_Phoenix_SPT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Phoenix_SPT.pretty)(options "")(descr "Phoenix SPT connector footprints"))
(lib (name Connector_Samtec)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec.pretty)(options "")(descr "Samtec connector footprints"))
(lib (name Connector_Samtec_HLE_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec_HLE_SMD.pretty)(options "")(descr "Samtec surface mount HLE series connector footprints"))
(lib (name Connector_Samtec_HLE_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec_HLE_THT.pretty)(options "")(descr "Samtec through hole HLE series connector footprints"))
(lib (name Connector_Samtec_HPM_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec_HPM_THT.pretty)(options "")(descr "Samtec through hole HPM series power header footprints"))
(lib (name Connector_Samtec_HSEC8)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec_HSEC8.pretty)(options "")(descr "Samtec HSEC8 0.8mm high speed card edge connector footprints"))
(lib (name Connector_Samtec_MicroMate)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec_MicroMate.pretty)(options "")(descr "Samtec MicroMate discrete wire terminal strips, 1.0mm pitch"))
(lib (name Connector_Samtec_MicroPower)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Samtec_MicroPower.pretty)(options "")(descr "Samtec 2.00mm mPOWER Ultra Micro Power connector footprints"))
(lib (name Connector_RJ)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_RJ.pretty)(options "")(descr "Registered Jack (RJ) connector footprints (e.g. RJ11, RJ45, ...)"))
(lib (name Connector_SATA_SAS)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_SATA_SAS.pretty)(options "")(descr "SATA/SAS connector footprints"))
(lib (name Connector_Stocko)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Stocko.pretty)(options "")(descr "Stocko connector footprints"))
(lib (name Connector_TE-Connectivity)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_TE-Connectivity.pretty)(options "")(descr "Footprints for connectors by TE Connectivity"))
(lib (name Connector_USB)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_USB.pretty)(options "")(descr "USB connector footprints"))
(lib (name Connector_Video)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Video.pretty)(options "")(descr "Video connector footprints like DVI and HDMI"))
(lib (name Connector_Wago)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Wago.pretty)(options "")(descr "Wago connector footprints"))
(lib (name Connector_Wire)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Wire.pretty)(options "")(descr "Footprints for solder wire pads"))
(lib (name Connector_Wuerth)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Connector_Wuerth.pretty)(options "")(descr "Wuerth connector footprints"))
(lib (name Converter_ACDC)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Converter_ACDC.pretty)(options "")(descr "AC/DC converter footprints"))
(lib (name Converter_DCDC)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Converter_DCDC.pretty)(options "")(descr "DC/DC converter footprints"))
(lib (name Crystal)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Crystal.pretty)(options "")(descr "Crystal footprints"))
(lib (name Diode_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Diode_SMD.pretty)(options "")(descr "Diode footprints, surface mount"))
(lib (name Diode_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Diode_THT.pretty)(options "")(descr "Diode footprints, through hole"))
(lib (name Display_7Segment)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Display_7Segment.pretty)(options "")(descr "Seven segment Display"))
(lib (name Display)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Display.pretty)(options "")(descr "Display modules"))
(lib (name Ferrite_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Ferrite_THT.pretty)(options "")(descr "Ferrite bead, through hole"))
(lib (name Fiducial)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Fiducial.pretty)(options "")(descr "Fiducial markings"))
(lib (name Filter)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Filter.pretty)(options "")(descr "Filter footprints"))
(lib (name Fuse)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Fuse.pretty)(options "")(descr "Fuse and fuse holder footprints"))
(lib (name Heatsink)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Heatsink.pretty)(options "")(descr "Heatsinks and thermal products"))
(lib (name Inductor_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Inductor_SMD.pretty)(options "")(descr "Inductor footprints, surface mount"))
(lib (name Inductor_SMD_Wurth)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Inductor_SMD_Wurth.pretty)(options "")(descr "Würth Elektronik inductor footprints, surface mount"))
(lib (name Inductor_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Inductor_THT.pretty)(options "")(descr "Inductor footprints, through hole"))
(lib (name Inductor_THT_Wurth)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Inductor_THT_Wurth.pretty)(options "")(descr "Würth Elektronik inductor footprints, through hole"))
(lib (name Jumper)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Jumper.pretty)(options "")(descr "Jumpers, solder jumpers, ... footprints"))
(lib (name LED_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/LED_SMD.pretty)(options "")(descr "Light emitting diodes (LED), surface mount"))
(lib (name LED_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/LED_THT.pretty)(options "")(descr "Light emitting diodes (LED), through hole"))
(lib (name Module)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Module.pretty)(options "")(descr "Footprints for SoM (System on Module)"))
(lib (name Motors)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Motors.pretty)(options "")(descr "Footprints for Motors"))
(lib (name MountingHole)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/MountingHole.pretty)(options "")(descr "Mechanical fasteners"))
(lib (name Mounting_Wuerth)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Mounting_Wuerth.pretty)(options "")(descr "Mechanical fasteners by wuerth electronics"))
(lib (name MountingEquipment)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/MountingEquipment.pretty)(options "")(descr "Mechanical parts"))
(lib (name NetTie)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/NetTie.pretty)(options "")(descr "Net ties"))
(lib (name OptoDevice)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/OptoDevice.pretty)(options "")(descr "Optical devices (light sensors, opto isolators/interrupters, laser diodes, fiber optical components, lightpipes, lenses ...)"))
(lib (name Oscillator)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Oscillator.pretty)(options "")(descr "Footprints for oscillator devices"))
(lib (name Package_BGA)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_BGA.pretty)(options "")(descr "Ball Grid Array (BGA)"))
(lib (name Package_CSP)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_CSP.pretty)(options "")(descr "Chip Scale Packages (CSP)"))
(lib (name Package_DFN_QFN)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_DFN_QFN.pretty)(options "")(descr "Surface mount IC packages, DFN / LGA / QFN"))
(lib (name Package_DIP)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_DIP.pretty)(options "")(descr "Through hole IC packages, DIP"))
(lib (name Package_DirectFET)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_DirectFET.pretty)(options "")(descr "DirectFET packages from International Rectifier"))
(lib (name Package_LCC)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_LCC.pretty)(options "")(descr "Leaded Chip Carriers (LCC)"))
(lib (name Package_LGA)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_LGA.pretty)(options "")(descr "Land Grid Array (LGA)"))
(lib (name Package_QFP)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_QFP.pretty)(options "")(descr "Quad Flat Package (QFP)"))
(lib (name Package_SIP)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_SIP.pretty)(options "")(descr "Single Inline Package(SIP)"))
(lib (name Package_SO)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_SO.pretty)(options "")(descr "Small Outline Integrated Circuits (SOIC, SSOP, xSOP, xSO)"))
(lib (name Package_SO_J-Lead)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_SO_J-Lead.pretty)(options "")(descr "Small Outline Integrated Circuits J-Lead"))
(lib (name Package_SON)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_SON.pretty)(options "")(descr "Small Outline No-Lead (SON)"))
(lib (name Package_TO_SOT_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_TO_SOT_SMD.pretty)(options "")(descr "Surface mount transistor packages"))
(lib (name Package_TO_SOT_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Package_TO_SOT_THT.pretty)(options "")(descr "Through hole transistor packages"))
(lib (name Potentiometer_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Potentiometer_SMD.pretty)(options "")(descr "Potentiometer footprints, surface mount (SMD)"))
(lib (name Potentiometer_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Potentiometer_THT.pretty)(options "")(descr "Potentiometer footprints, through hole (THT)"))
(lib (name Relay_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Relay_SMD.pretty)(options "")(descr "Surface mount relay packages"))
(lib (name Relay_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Relay_THT.pretty)(options "")(descr "Through hole relay packages"))
(lib (name Resistor_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Resistor_SMD.pretty)(options "")(descr "Resistor footprints, surface mount (SMD)"))
(lib (name Resistor_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Resistor_THT.pretty)(options "")(descr "Resistor footprints, through hole (THT)"))
(lib (name RF)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF.pretty)(options "")(descr "Specialized footprints for RF components that don't fit in the other RF libraries."))
(lib (name RF_Antenna)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_Antenna.pretty)(options "")(descr "Radio-frequency / wireless antenna footprints"))
(lib (name RF_Converter)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_Converter.pretty)(options "")(descr "Specialized footprints for RF signal converters (Like Attenuators, Baluns, Mixers, Couplers, etc.)"))
(lib (name RF_GPS)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_GPS.pretty)(options "")(descr "GNSS footprints"))
(lib (name RF_GSM)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_GSM.pretty)(options "")(descr "GSM Modules footprints"))
(lib (name RF_Mini-Circuits)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_Mini-Circuits.pretty)(options "")(descr "Footprints for Mini-Circuits RF parts."))
(lib (name RF_Module)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_Module.pretty)(options "")(descr "Radio-frequency / wireless modules"))
(lib (name RF_WiFi)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_WiFi.pretty)(options "")(descr "WiFi modules"))
(lib (name RF_Shielding)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/RF_Shielding.pretty)(options "")(descr "Specialied footprints for EMI shields and covers"))
(lib (name Rotary_Encoder)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Rotary_Encoder.pretty)(options "")(descr "Rotary Encoder Footprints"))
(lib (name Sensor)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor.pretty)(options "")(descr "Specialized footprints for multi-function sensors"))
(lib (name Sensor_Audio)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Audio.pretty)(options "")(descr "Specialized footprints for audio sensors"))
(lib (name Sensor_Distance)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Distance.pretty)(options "")(descr "Specialized footprints for distance sensors"))
(lib (name Sensor_Current)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Current.pretty)(options "")(descr "Specialized footprints for current sensors"))
(lib (name Sensor_Humidity)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Humidity.pretty)(options "")(descr "Specialized footprints for humidity sensors"))
(lib (name Sensor_Motion)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Motion.pretty)(options "")(descr "Specialized footprints for motion sensors"))
(lib (name Sensor_Pressure)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Pressure.pretty)(options "")(descr "Specialized footprints for pressure sensors"))
(lib (name Sensor_Voltage)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Sensor_Voltage.pretty)(options "")(descr "Specialized footprints for voltage sensors"))
(lib (name Socket)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Socket.pretty)(options "")(descr "Sockets"))
(lib (name Symbol)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Symbol.pretty)(options "")(descr "PCB symbols"))
(lib (name TerminalBlock_Altech)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_Altech.pretty)(options "")(descr "Altech terminal block footprints"))
(lib (name TerminalBlock)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock.pretty)(options "")(descr "Footprints for terminal blocks that do not have their own manufacturer specific library."))
(lib (name TerminalBlock_4Ucon)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_4Ucon.pretty)(options "")(descr "4UCON terminal blocks"))
(lib (name TerminalBlock_CUI)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_CUI.pretty)(options "")(descr "CUI terminal blocks"))
(lib (name TerminalBlock_Dinkle)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_Dinkle.pretty)(options "")(descr "Dinkle terminal blocks"))
(lib (name TerminalBlock_MetzConnect)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_MetzConnect.pretty)(options "")(descr "Metz Connect terminal blocks"))
(lib (name TerminalBlock_Philmore)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_Philmore.pretty)(options "")(descr "Philmore terminal blocks"))
(lib (name TerminalBlock_Phoenix)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_Phoenix.pretty)(options "")(descr "Phoenix Contact terminal blocks"))
(lib (name TerminalBlock_RND)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_RND.pretty)(options "")(descr "RND terminal blocks"))
(lib (name TerminalBlock_TE-Connectivity)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_TE-Connectivity.pretty)(options "")(descr "TE Connectivity terminal blocks"))
(lib (name TerminalBlock_WAGO)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_WAGO.pretty)(options "")(descr "WAGO terminal blocks"))
(lib (name TerminalBlock_Wuerth)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TerminalBlock_Wuerth.pretty)(options "")(descr "Wuerth Elektronik terminal blocks"))
(lib (name TestPoint)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/TestPoint.pretty)(options "")(descr "Test points, measurement points, probe connection points"))
(lib (name Transformer_SMD)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Transformer_SMD.pretty)(options "")(descr "Surface mount transformers"))
(lib (name Transformer_THT)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Transformer_THT.pretty)(options "")(descr "Through hole transformers"))
(lib (name Transistor_Power)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Transistor_Power.pretty)(options "")(descr "Power Transistors"))
(lib (name Transistor_Power_Module)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Transistor_Power_Module.pretty)(options "")(descr "Transistor Power Modules"))
(lib (name Valve)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Valve.pretty)(options "")(descr "Valve"))
(lib (name Varistor)(type KiCad)(uri ${KICAD8_FOOTPRINT_DIR}/Varistor.pretty)(options "")(descr "Varistor"))
)

View File

@ -0,0 +1,92 @@
{
"api": {
"enable_server": false,
"interpreter_path": ""
},
"appearance": {
"grid_striping": false,
"hicontrast_dimming_factor": 0.800000011920929,
"show_scrollbars": false,
"text_editor_zoom": 0,
"toolbar_icon_size": 24,
"use_icons_in_menus": false
},
"auto_backup": {
"backup_on_autosave": false,
"enabled": true,
"limit_daily_files": 5,
"limit_total_files": 25,
"limit_total_size": 104857600,
"min_interval": 300
},
"do_not_show_again": {
"data_collection_prompt": false,
"env_var_overwrite_warning": false,
"scaled_3d_models_warning": false,
"update_check_prompt": false,
"zone_fill_warning": false
},
"environment": {
"vars": null
},
"git": {
"authorEmail": "",
"authorName": "",
"repositories": null,
"useDefaultAuthor": true
},
"graphics": {
"cairo_antialiasing_mode": 0,
"opengl_antialiasing_mode": 1
},
"input": {
"auto_pan": false,
"auto_pan_acceleration": 5,
"center_on_zoom": true,
"focus_follow_sch_pcb": false,
"horizontal_pan": false,
"hotkey_feedback": true,
"immediate_actions": true,
"mouse_left": -1,
"mouse_middle": 2,
"mouse_right": 2,
"reverse_scroll_pan_h": false,
"reverse_scroll_zoom": false,
"scroll_modifier_pan_h": 308,
"scroll_modifier_pan_v": 306,
"scroll_modifier_zoom": 0,
"warp_mouse_on_move": true,
"zoom_acceleration": false,
"zoom_speed": 5,
"zoom_speed_auto": true
},
"meta": {
"filename": "kicad_common.json",
"version": 3
},
"netclass_panel": {
"eeschema_shown_columns": "0 10 11 12 13",
"pcbnew_shown_columns": "0 1 2 3 4 5 6 7 8 9",
"sash_pos": 160
},
"package_manager": {
"sash_pos": 380
},
"session": {
"pinned_design_block_libs": [],
"pinned_fp_libs": [],
"pinned_symbol_libs": [],
"remember_open_files": false
},
"system": {
"autosave_interval": 600,
"clear_3d_cache_interval": 30,
"file_explorer": "",
"file_history_size": 9,
"language": "Default",
"pdf_viewer_name": "",
"text_editor": "/usr/bin/open -e",
"use_system_pdf_viewer": true,
"working_dir": ""
}
}

View File

@ -0,0 +1,5 @@
(sym_lib_table
(version 7)
(lib (name "Device")(type "KiCad")(uri "${KICAD8_SYMBOL_DIR}/Device.kicad_sym")(options "")(descr "Generic symbols for common devices"))
(lib (name "power")(type "KiCad")(uri "${KICAD8_SYMBOL_DIR}/power.kicad_sym")(options "")(descr "Power symbols, special power flags"))
)

View File

@ -0,0 +1,3 @@
This folder is used as the KiCad settings path for all QA tests.
Add or modify any files here as needed to ensure a consistent test environment.

View File

LOADING design file

View File

@ -0,0 +1,197 @@
(footprint "R_0201_0603Metric"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Resistor SMD 0201 (0603 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://www.vishay.com/docs/20052/crcw0201e3.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Reference" "REF**"
(at 0 -1.05 0)
(layer "F.SilkS")
(uuid "e45e00c2-1c2b-4f80-9271-8f80d81b2a70")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "R_0201_0603Metric"
(at 0 1.05 0)
(layer "F.Fab")
(uuid "3ed3ef8f-c99a-41fc-9a16-221a6bfc2a16")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "a4e2a71f-8d2b-47ca-93c1-367dee63d8b5")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "eda170bb-c944-4327-9a25-6d9f824f5968")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "65eea031-3ae9-41ad-8f9f-6ef455085ce0")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr smd)
(fp_line
(start -0.7 -0.35)
(end 0.7 -0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "cd6f3c00-9c19-46c7-8b63-296ba8c3e3d0")
)
(fp_line
(start -0.7 0.35)
(end -0.7 -0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "021628bd-92eb-4251-b890-352b8e05add9")
)
(fp_line
(start 0.7 -0.35)
(end 0.7 0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "8ff9ffbd-6367-42cd-981b-1c93eb62a182")
)
(fp_line
(start 0.7 0.35)
(end -0.7 0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "efdbce53-b1d1-43b8-9d32-2efb7d771ccd")
)
(fp_line
(start -0.3 -0.15)
(end 0.3 -0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "e4dde74c-0933-44de-b588-4c0fde20c9f5")
)
(fp_line
(start -0.3 0.15)
(end -0.3 -0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "2a65fd0d-efdf-4159-b35a-41e435728c4a")
)
(fp_line
(start 0.3 -0.15)
(end 0.3 0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "8f895502-ab9f-43c3-a105-6662a16418d4")
)
(fp_line
(start 0.3 0.15)
(end -0.3 0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "fd9eedea-9b5c-4077-bb85-c38eca0b131d")
)
(fp_text user "${REFERENCE}"
(at 0 -0.68 0)
(layer "F.Fab")
(uuid "f988840e-b08d-4b6e-9589-79b3a7bf0968")
(effects
(font
(size 0.25 0.25)
(thickness 0.04)
)
)
)
(pad "" smd roundrect
(at -0.345 0)
(size 0.318 0.36)
(layers "F.Paste")
(roundrect_rratio 0.25)
(uuid "a4ae16a7-8a3a-4116-a03a-a033592a0aba")
)
(pad "" smd roundrect
(at 0.345 0)
(size 0.318 0.36)
(layers "F.Paste")
(roundrect_rratio 0.25)
(uuid "bf7d15b9-64d8-4447-80bc-cf2dc469d35e")
)
(pad "1" smd roundrect
(at -0.32 0)
(size 0.46 0.4)
(layers "F.Cu" "F.Mask")
(roundrect_rratio 0.25)
(uuid "5b63156c-3c32-4c95-bebb-6d18efe0eed7")
)
(pad "2" smd roundrect
(at 0.32 0)
(size 0.46 0.4)
(layers "F.Cu" "F.Mask")
(roundrect_rratio 0.25)
(uuid "a66fc88c-2b90-4f27-a1c9-aa8c8902aa77")
)
(model "${KICAD8_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0201_0603Metric.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)

View File

@ -0,0 +1,197 @@
(footprint "R_0201_0603Metric_Pad0.64x0.40mm_HandSolder"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Resistor SMD 0201 (0603 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: https://www.vishay.com/docs/20052/crcw0201e3.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(property "Reference" "REF**"
(at 0 -1.05 0)
(layer "F.SilkS")
(uuid "b1e46ed6-b716-4111-b57b-1854ec9cc4f6")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "R_0201_0603Metric_Pad0.64x0.40mm_HandSolder"
(at 0 1.05 0)
(layer "F.Fab")
(uuid "f6c3d775-8297-4276-9653-1c61a892ff95")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "0e363ba3-525b-4a93-a3d5-448fcdcb8b2b")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "2ebd9848-351e-46ea-9f08-b767fd86d210")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "7388ad91-872e-4f6d-8da5-4d7ffc897280")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr smd)
(fp_line
(start -0.88 -0.35)
(end 0.88 -0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "8fdd09fa-b7e8-4589-bd63-0624f9daafd5")
)
(fp_line
(start -0.88 0.35)
(end -0.88 -0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "7d6d30d9-48b6-4989-8c92-7c01e2c1d4f5")
)
(fp_line
(start 0.88 -0.35)
(end 0.88 0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "33bbbf69-2561-44c0-a037-c604025343e1")
)
(fp_line
(start 0.88 0.35)
(end -0.88 0.35)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "952a419a-b76e-4409-bf29-688e6241f935")
)
(fp_line
(start -0.3 -0.15)
(end 0.3 -0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "c588de16-52b0-4c3c-9be1-2501d6acaacc")
)
(fp_line
(start -0.3 0.15)
(end -0.3 -0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "0f6df233-953f-418a-9ef6-f6588a2bfb4a")
)
(fp_line
(start 0.3 -0.15)
(end 0.3 0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "8d411794-db7d-41a7-b692-636be731bbdf")
)
(fp_line
(start 0.3 0.15)
(end -0.3 0.15)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "aec52b76-890a-429d-9e53-d2068f79f7aa")
)
(fp_text user "${REFERENCE}"
(at 0 -0.68 0)
(layer "F.Fab")
(uuid "dae3ca39-9db9-4e8c-bc51-f97657ac84a0")
(effects
(font
(size 0.25 0.25)
(thickness 0.04)
)
)
)
(pad "" smd roundrect
(at -0.4325 0)
(size 0.458 0.36)
(layers "F.Paste")
(roundrect_rratio 0.25)
(uuid "1e619725-d2d9-4e8c-bb57-dd466d5b9cbd")
)
(pad "" smd roundrect
(at 0.4325 0)
(size 0.458 0.36)
(layers "F.Paste")
(roundrect_rratio 0.25)
(uuid "9f9246e9-3527-4211-80b7-62dd3f95e094")
)
(pad "1" smd roundrect
(at -0.4075 0)
(size 0.635 0.4)
(layers "F.Cu" "F.Mask")
(roundrect_rratio 0.25)
(uuid "dee254bd-5e6b-42dd-ba57-73ee2e91770b")
)
(pad "2" smd roundrect
(at 0.4075 0)
(size 0.635 0.4)
(layers "F.Cu" "F.Mask")
(roundrect_rratio 0.25)
(uuid "62f2f319-6159-4f53-b156-bb32d272955b")
)
(model "${KICAD8_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0201_0603Metric.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)

View File

@ -0,0 +1,203 @@
(footprint "R_0402_1005Metric"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Reference" "REF**"
(at 0 -1.17 0)
(layer "F.SilkS")
(uuid "41d78466-b78f-4259-a93b-b5098dbbea74")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "R_0402_1005Metric"
(at 0 1.17 0)
(layer "F.Fab")
(uuid "c8b0a43f-eb80-49fa-9f77-e02d4b03d7c9")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "9f6a9d3b-fb7b-4565-80e4-5b827c8bc8b8")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "699544f9-c000-45e0-9d17-0808cbafe19c")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "7b59eb63-0b86-4675-bb9b-6b50aaf59b76")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr smd)
(fp_line
(start -0.153641 -0.38)
(end 0.153641 -0.38)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "e17efb13-8792-4f70-81c4-4fc1f4995f7f")
)
(fp_line
(start -0.153641 0.38)
(end 0.153641 0.38)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "ef794941-a745-46fd-8982-3bf3b39dd4fc")
)
(fp_line
(start -0.93 -0.47)
(end 0.93 -0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "37a147d4-3d5d-4a47-8102-c954a7e61a94")
)
(fp_line
(start -0.93 0.47)
(end -0.93 -0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "1121d59e-f03d-42ac-85a2-357338f6cb7d")
)
(fp_line
(start 0.93 -0.47)
(end 0.93 0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "332a6d58-096d-4cc7-9324-96105a58f8d7")
)
(fp_line
(start 0.93 0.47)
(end -0.93 0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "a5090ca4-de76-43ea-a14c-c1e11daae04b")
)
(fp_line
(start -0.525 -0.27)
(end 0.525 -0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "ab9e8747-b37b-4830-9372-c45b6e571f09")
)
(fp_line
(start -0.525 0.27)
(end -0.525 -0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "3efa2f2c-1877-4dcc-914d-5e9d06a61f10")
)
(fp_line
(start 0.525 -0.27)
(end 0.525 0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "be66e16d-9918-4c52-b0d7-0d397372d213")
)
(fp_line
(start 0.525 0.27)
(end -0.525 0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "b8e0a956-ce18-4779-ad22-ae8f9f8b37c2")
)
(fp_text user "${REFERENCE}"
(at 0 0 0)
(layer "F.Fab")
(uuid "3061a90f-a481-4c92-b184-11e8cdb5c40e")
(effects
(font
(size 0.26 0.26)
(thickness 0.04)
)
)
)
(pad "1" smd roundrect
(at -0.51 0)
(size 0.54 0.64)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "71bd5113-61af-4f98-a937-b89111941731")
)
(pad "2" smd roundrect
(at 0.51 0)
(size 0.54 0.64)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "b2dc4744-6f7a-4267-a134-185dba0d1741")
)
(model "${KICAD8_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)

View File

@ -0,0 +1,203 @@
(footprint "R_0402_1005Metric_Pad0.72x0.64mm_HandSolder"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Resistor SMD 0402 (1005 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(property "Reference" "REF**"
(at 0 -1.17 0)
(layer "F.SilkS")
(uuid "0c165861-b12e-4393-ab1f-dfc8b701d1c7")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "R_0402_1005Metric_Pad0.72x0.64mm_HandSolder"
(at 0 1.17 0)
(layer "F.Fab")
(uuid "c52f77ff-c91c-4987-8ad1-e0348780a747")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "bccf86b0-01fd-435a-a15d-246515ebebe3")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "ae5f3ed5-308b-42de-8cb5-6b3edd8f0797")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "e7fc1ac9-ed9c-482b-b31e-a2099de4ea3a")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr smd)
(fp_line
(start -0.167621 -0.38)
(end 0.167621 -0.38)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "4096afef-5e39-4f95-9796-7ea7ec74e194")
)
(fp_line
(start -0.167621 0.38)
(end 0.167621 0.38)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "6ff97ec8-845e-4fcb-b3c3-74ee0a28bf87")
)
(fp_line
(start -1.1 -0.47)
(end 1.1 -0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "3f8be678-11c2-4817-9a0a-cdd061b9d21b")
)
(fp_line
(start -1.1 0.47)
(end -1.1 -0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "23ff8ba7-1eff-4bd8-bd5b-9bc4cfa62648")
)
(fp_line
(start 1.1 -0.47)
(end 1.1 0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "d8051944-d7a7-4f0b-b641-b4b85aa81941")
)
(fp_line
(start 1.1 0.47)
(end -1.1 0.47)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "d1442f60-bf2a-44a9-9770-46ab39c807b3")
)
(fp_line
(start -0.525 -0.27)
(end 0.525 -0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "6c422cf0-d8e7-4e04-8bd8-1a40e24bd5a0")
)
(fp_line
(start -0.525 0.27)
(end -0.525 -0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "3ce97f37-12cb-4b70-9f20-e531493cad9a")
)
(fp_line
(start 0.525 -0.27)
(end 0.525 0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "fc7349e6-86bc-450d-9be6-96d4f17efeb7")
)
(fp_line
(start 0.525 0.27)
(end -0.525 0.27)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "f318594d-bf81-4d2e-b541-5e19c2ff4a2a")
)
(fp_text user "${REFERENCE}"
(at 0 0 0)
(layer "F.Fab")
(uuid "71ea8fbc-fd1d-4fa7-9a86-e15e405dd62d")
(effects
(font
(size 0.26 0.26)
(thickness 0.04)
)
)
)
(pad "1" smd roundrect
(at -0.5975 0)
(size 0.715 0.64)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "656126e3-539c-488c-958f-6be26b6c3ed3")
)
(pad "2" smd roundrect
(at 0.5975 0)
(size 0.715 0.64)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "1a1049df-4785-46f9-9ea6-a965fc465eb6")
)
(model "${KICAD8_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0402_1005Metric.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)

View File

@ -0,0 +1,203 @@
(footprint "R_0603_1608Metric"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor")
(property "Reference" "REF**"
(at 0 -1.43 0)
(layer "F.SilkS")
(uuid "6df974b4-b819-4abf-a570-cfac24b90f22")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "R_0603_1608Metric"
(at 0 1.43 0)
(layer "F.Fab")
(uuid "43a2d3f9-8880-4891-bb65-e1f1adf1c2a5")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "6f0e4074-96ae-4ea8-867e-199cfa095a90")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "0814cc48-e15c-47d7-a42f-32beb2895ccf")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "9ae02bb0-5305-4720-96a2-b8307ae3a157")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr smd)
(fp_line
(start -0.237258 -0.5225)
(end 0.237258 -0.5225)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "8ec8ba9e-3d89-4f37-94bb-eddf5e4d7489")
)
(fp_line
(start -0.237258 0.5225)
(end 0.237258 0.5225)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "2bf1d867-cdfa-44dc-9124-ce584dcd094b")
)
(fp_line
(start -1.48 -0.73)
(end 1.48 -0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "24e272be-4051-4b9b-9127-1c7f22532469")
)
(fp_line
(start -1.48 0.73)
(end -1.48 -0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "39fddbf8-ad85-4516-95fc-b7f57b1b5476")
)
(fp_line
(start 1.48 -0.73)
(end 1.48 0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "2bbe1e5e-3213-443e-930c-a0ae97a345e1")
)
(fp_line
(start 1.48 0.73)
(end -1.48 0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "dc275714-5365-4c02-a2fb-5cbd77201d52")
)
(fp_line
(start -0.8 -0.4125)
(end 0.8 -0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "30e382fb-e120-4499-bc15-156f98cd93e8")
)
(fp_line
(start -0.8 0.4125)
(end -0.8 -0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "d04dd1a4-2178-41f5-9bb7-ad470915f47a")
)
(fp_line
(start 0.8 -0.4125)
(end 0.8 0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "0746adbb-419c-491f-ae91-c14351e88a28")
)
(fp_line
(start 0.8 0.4125)
(end -0.8 0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "9ddd7cd8-091d-447c-bc2a-eed5612caf40")
)
(fp_text user "${REFERENCE}"
(at 0 0 0)
(layer "F.Fab")
(uuid "2dfd6efa-e1ab-4e55-ab2b-7f9e70f33afa")
(effects
(font
(size 0.4 0.4)
(thickness 0.06)
)
)
)
(pad "1" smd roundrect
(at -0.825 0)
(size 0.8 0.95)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "958f80d5-b7aa-4100-9f8f-c88ef419994d")
)
(pad "2" smd roundrect
(at 0.825 0)
(size 0.8 0.95)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "dbf61a86-b574-45d2-ba89-95e1ee8fabb2")
)
(model "${KICAD8_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)

View File

@ -0,0 +1,203 @@
(footprint "R_0603_1608Metric_Pad0.98x0.95mm_HandSolder"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Resistor SMD 0603 (1608 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
(tags "resistor handsolder")
(property "Reference" "REF**"
(at 0 -1.43 0)
(layer "F.SilkS")
(uuid "81f2022a-d679-43c4-91b2-73d62812055d")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "R_0603_1608Metric_Pad0.98x0.95mm_HandSolder"
(at 0 1.43 0)
(layer "F.Fab")
(uuid "17a467e4-2262-4236-9cf0-1e4fb8c7453a")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "5a48acb2-7acc-4ce3-a636-fe214cf4b0f5")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "1847eec5-6d76-48c4-8e88-0e37570e3c91")
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "40dd4a74-ee8f-4ed7-a53a-c719cb5b116b")
(effects
(font
(size 1.27 1.27)
)
)
)
(attr smd)
(fp_line
(start -0.254724 -0.5225)
(end 0.254724 -0.5225)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "7b9bf5b7-55b6-4399-9633-85b3df432454")
)
(fp_line
(start -0.254724 0.5225)
(end 0.254724 0.5225)
(stroke
(width 0.12)
(type solid)
)
(layer "F.SilkS")
(uuid "9fcb4493-1f74-410c-95e9-5794ef22e6ba")
)
(fp_line
(start -1.65 -0.73)
(end 1.65 -0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "1749caa9-5bed-44d8-9a2e-87750c8eb92c")
)
(fp_line
(start -1.65 0.73)
(end -1.65 -0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "eb93b2e9-4baf-43cc-9a93-6d30225855b7")
)
(fp_line
(start 1.65 -0.73)
(end 1.65 0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "f54e0211-58f2-4ba9-a1cb-99c80845902a")
)
(fp_line
(start 1.65 0.73)
(end -1.65 0.73)
(stroke
(width 0.05)
(type solid)
)
(layer "F.CrtYd")
(uuid "b3d4e64c-a3a9-4604-ab4d-fdf679ecc004")
)
(fp_line
(start -0.8 -0.4125)
(end 0.8 -0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "eee7f007-fe8d-428f-bc80-57c48a9da693")
)
(fp_line
(start -0.8 0.4125)
(end -0.8 -0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "e42b92c8-90e1-4d75-9722-88eb5c910222")
)
(fp_line
(start 0.8 -0.4125)
(end 0.8 0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "46a349db-d3ca-443c-91a4-9485e40c0dcc")
)
(fp_line
(start 0.8 0.4125)
(end -0.8 0.4125)
(stroke
(width 0.1)
(type solid)
)
(layer "F.Fab")
(uuid "20cda50c-0f18-4d99-be13-cd9b4aca8b14")
)
(fp_text user "${REFERENCE}"
(at 0 0 0)
(layer "F.Fab")
(uuid "a64724f4-6a33-4046-89b4-6301f9f3e9b6")
(effects
(font
(size 0.4 0.4)
(thickness 0.06)
)
)
)
(pad "1" smd roundrect
(at -0.9125 0)
(size 0.975 0.95)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "2ad585e9-a234-4b1f-bd24-2ac3d877a337")
)
(pad "2" smd roundrect
(at 0.9125 0)
(size 0.975 0.95)
(layers "F.Cu" "F.Paste" "F.Mask")
(roundrect_rratio 0.25)
(uuid "19cf5c8a-c6e3-4f75-8e14-42c608393222")
)
(model "${KICAD8_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0603_1608Metric.wrl"
(offset
(xyz 0 0 0)
)
(scale
(xyz 1 1 1)
)
(rotate
(xyz 0 0 0)
)
)
)

View File

LOADING design file

View File

@ -57,7 +57,7 @@ target_link_libraries( qa_utils
# Pass in the default data location
set_source_files_properties( wx_utils/unit_test_utils.cpp PROPERTIES
COMPILE_DEFINITIONS "QA_EESCHEMA_DATA_LOCATION=(\"${CMAKE_SOURCE_DIR}/qa/data/eeschema\")"
COMPILE_DEFINITIONS "QA_DATA_ROOT=(\"${CMAKE_SOURCE_DIR}/qa/data\")"
)
target_include_directories( qa_utils PUBLIC

View File

@ -280,6 +280,10 @@ bool CollectionHasNoDuplicates( const T& aCollection )
*/
std::string GetEeschemaTestDataDir();
std::string GetTestDataRootDir();
void SetMockConfigDir();
} // namespace KI_TEST
#endif // UNIT_TEST_UTILS__H
#endif // UNIT_TEST_UTILS__H

View File

@ -21,6 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <wx/utils.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
std::ostream& boost_test_print_type( std::ostream& os, wxPoint const& aPt )
@ -30,10 +31,6 @@ std::ostream& boost_test_print_type( std::ostream& os, wxPoint const& aPt )
}
#ifndef QA_EESCHEMA_DATA_LOCATION
#define QA_EESCHEMA_DATA_LOCATION "???"
#endif
std::string KI_TEST::GetEeschemaTestDataDir()
{
const char* env = std::getenv( "KICAD_TEST_EESCHEMA_DATA_DIR" );
@ -43,7 +40,8 @@ std::string KI_TEST::GetEeschemaTestDataDir()
{
// Use the compiled-in location of the data dir
// (i.e. where the files were at build time)
fn = QA_EESCHEMA_DATA_LOCATION;
fn = GetTestDataRootDir();
fn += "/eeschema";
}
else
{
@ -55,4 +53,43 @@ std::string KI_TEST::GetEeschemaTestDataDir()
fn += "/";
return fn;
}
}
#ifndef QA_DATA_ROOT
#define QA_DATA_ROOT "???"
#endif
std::string KI_TEST::GetTestDataRootDir()
{
const char* env = std::getenv( "QA_DATA_ROOT" );
std::string fn;
if( !env )
{
// Use the compiled-in location of the data dir
// (i.e. where the files were at build time)
fn = QA_DATA_ROOT;
}
else
{
// Use whatever was given in the env var
fn = env;
}
// Ensure the string ends in / to force a directory interpretation
fn += "/";
return fn;
}
void KI_TEST::SetMockConfigDir()
{
if( !wxGetEnv( wxT( "KICAD_CONFIG_HOME" ), nullptr ) )
{
wxString path( GetTestDataRootDir() );
path += wxT( "/config/" );
wxSetEnv( wxT( "KICAD_CONFIG_HOME" ), path );
}
}

View File

@ -31,8 +31,10 @@
#include <wx/init.h>
#include <locale_io.h>
bool init_unit_test()
{
KI_TEST::SetMockConfigDir();
SetPgm( new MOCK_PGM_BASE() );
// Ensure the "C" locale is used in tests
@ -57,4 +59,4 @@ int main( int argc, char* argv[] )
wxUninitialize();
return ret;
}
}

View File

@ -42,6 +42,7 @@
bool init_unit_test()
{
KI_TEST::SetMockConfigDir();
SetPgm( new MOCK_PGM_BASE() );
KIPLATFORM::APP::Init();
boost::unit_test::framework::master_test_suite().p_name.value = "Common Eeschema module tests";

View File

@ -36,6 +36,7 @@
bool init_unit_test()
{
KI_TEST::SetMockConfigDir();
SetPgm( new MOCK_PGM_BASE() );
KIPLATFORM::APP::Init();
boost::unit_test::framework::master_test_suite().p_name.value = "Pcbnew module tests";