Initial commit: MIKILAB KiCad personal library
Self-contained KiCad library (symbols, footprints, 3D models, docs,
import/check tooling) with no dependency on kicad-personal-library.
- Fixed sym-lib-table/fp-lib-table: single (version 7) header, one entry
per library, MIKILAB_<name> nicknames, ${KIPRJMOD}-relative URIs
- Resolved the SOT95P280X145-5N footprint collision (TPS7A2012PDBVR vs
TPS7A2018PDBVR): confirmed byte-identical modulo KiCad's internal
tedit timestamp, unified into one shared footprint
- Resolved a case-insensitive filename collision between the official
Diode.kicad_sym and a custom diode.kicad_sym
- Wrapped standalone footprints (ESP32-S31-WROOM-3, IC_TPS63020DSJT,
SOT95P280X145-5N) into their own .pretty libraries so they're
actually registered in fp-lib-table
- Fixed broken symbol->footprint references (including one pointing at
a nonexistent easyeda2kicad library)
- Added scripts/check_library.py, import_component.py, add_component.py,
import_batch.py, and lib_common.py
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
cmake_minimum_required( VERSION 3.10 FATAL_ERROR )
|
||||
|
||||
project( kicad-symbols NONE )
|
||||
|
||||
#================================================
|
||||
# Locations for install targets.
|
||||
#================================================
|
||||
if( APPLE )
|
||||
# Like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on the command line.
|
||||
set( CMAKE_INSTALL_PREFIX "/Library/Application Support/kicad/" CACHE PATH "" )
|
||||
|
||||
# Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
|
||||
set( KICAD_LIBRARY symbols )
|
||||
set( KICAD_TEMPLATE template )
|
||||
else()
|
||||
# Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
|
||||
set( KICAD_DATA share/kicad
|
||||
CACHE PATH "Location of KiCad data files." )
|
||||
set( KICAD_LIBRARY ${KICAD_DATA}/symbols )
|
||||
set( KICAD_TEMPLATE ${KICAD_DATA}/template )
|
||||
endif()
|
||||
|
||||
mark_as_advanced( KICAD_DATA KICAD_LIBRARY )
|
||||
|
||||
|
||||
#================================================
|
||||
# "make uninstall" rules
|
||||
#================================================
|
||||
configure_file(
|
||||
"${PROJECT_SOURCE_DIR}/CMakeModules/cmake_uninstall.cmake.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||
IMMEDIATE @ONLY )
|
||||
|
||||
add_custom_target( uninstall
|
||||
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" )
|
||||
|
||||
|
||||
#================================================
|
||||
# Installed files.
|
||||
#================================================
|
||||
|
||||
# Install all of the symbol library (.kicad_sym) and simulation model (.sp)
|
||||
# files in this folder.
|
||||
file(GLOB sym_and_sim_lib_files "*.kicad_sym" "*.sp")
|
||||
|
||||
install(FILES ${sym_and_sim_lib_files}
|
||||
DESTINATION ${KICAD_LIBRARY}
|
||||
COMPONENT resources)
|
||||
|
||||
# Install the default global symbol library table in the template folder.
|
||||
install(FILES sym-lib-table
|
||||
DESTINATION ${KICAD_TEMPLATE}
|
||||
COMPONENT resources)
|
||||
@@ -0,0 +1,3 @@
|
||||
Before contributing to the KiCad symbol libraries, it is recommended to read the [contribution guidelines](http://kicad.org/libraries/contribute).
|
||||
|
||||
Contributions to the KiCad libraries must meet the [KiCad Library Conventions (KLC)](http://kicad.org/libraries/klc/)
|
||||
@@ -0,0 +1,16 @@
|
||||
# KiCad Symbols
|
||||
|
||||
This repository contains the official KiCad schematic symbol libraries.
|
||||
|
||||
**The libraries in this repository are intended for KiCad version 8.x**
|
||||
|
||||
Each symbol library is stored as a `.kicad_sym` file.
|
||||
|
||||
Contribution guidelines can be found at http://kicad.org/libraries/contribute
|
||||
The library convention can be found at http://kicad.org/libraries/klc/
|
||||
|
||||
Other KiCad library repositories are located:
|
||||
|
||||
* Footprints: https://gitlab.com/kicad/libraries/kicad-footprints
|
||||
* 3D Models: https://gitlab.com/kicad/libraries/kicad-packages3d
|
||||
* Templates: https://gitlab.com/kicad/libraries/kicad-templates
|
||||
@@ -0,0 +1,22 @@
|
||||
# ESP32-S31-WROOM-3
|
||||
|
||||
KiCad schematic symbol and footprint for the ESP32-S31-WROOM-3 module.
|
||||
|
||||
Note: this chip isn't widely available yet, but the symbol and footprint are ready if you want to start designing boards around it.
|
||||
|
||||
## Contents
|
||||
|
||||
- `ESP32-S31-WROOM-3.kicad_sym` — schematic symbol
|
||||
- `footprint/ESP32-S31-WROOM-3.kicad_mod` — PCB footprint
|
||||
|
||||
## Usage
|
||||
|
||||
Add this repo as a library in KiCad (Preferences > Manage Symbol Libraries / Manage Footprint Libraries), pointing at the `.kicad_sym` file and the `footprint` folder.
|
||||
|
||||
## Preview
|
||||
|
||||
### Schematic symbol
|
||||

|
||||
|
||||
### Footprint
|
||||

|
||||
@@ -0,0 +1 @@
|
||||
<!DOCTYPE HTML><html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=https://www.snapeda.com/about/import/#"> <script type="text/javascript">window.location.href="https://www.snapeda.com/about/import/#" </script> <title>Page Redirection</title> </head> <body> If you are not redirected automatically, follow this <a href="https://www.snapeda.com/about/import/#">link to the import guide</a>. </body></html>
|
||||
Reference in New Issue
Block a user