This repository can be used as a template for a new KiCad project.
Features:
kicad-librarysubmodule included and set up for sharing custom footprints, symbols, etc.- GitHub workflows using kibot for outputs (gerbers, pdfs, renders, etc.) and performing checks (erc, drc)
bootstrap.shscript for quickly renaming your project (no need for importing this as an "OEM - KiCad Template").gitattributesand.gitignorefor KiCad- Custom Design Rules according to JLCPCB Capabilities; modified version of https://github.com/labtroll/KiCad-DesignRules
- Create and clone a new GitHub repo for your project and select this as the template for it.
gh repo create --clone --template krsche/kicad-template YOUR_REPO_NAME cd YOUR_REPO_NAME git submodule update --init --recursive - Run the
bootstrap.shscript to change the name of the project files and references to your projects name. Either specify the name by providing it as the first argument, or specify nothing and it will use the parent folder (repo) name../bootstrap.sh <OPTIONAL__PROJECT_NAME>
- Change the
README.md - Update the
LICENSE - Commit the changes after running the
bootstrap.shscriptgit add --all git commit -m "feat: bootstrap" git push
- Observe the GH Actions already run on the commit you want to release. Everything looks good? --> Continue
- Tag the commit in the format
v1.0.0and push the tag - Observe the new GH Action that runs. It will re-run the KiBot actions and create a new GH Release with the outputs from KiBot.