Skip to content

About

Open-hardware KiCad designs the copperhead console offers as example boards, mirrored unchanged from their makers at pinned commits

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

example-boards

Published open-hardware KiCad designs that the copperhead console offers as Example boards on its start board, so someone without a design of their own can try importing and verifying one.

Every design here was made by someone else and is copied without changes from the maker's own repository, at a pinned commit, under the maker's licence. copperhead did not make these boards and claims nothing in them. The copy exists so the console imports from a repository copperhead controls: if an upstream repository is renamed, made private, deleted or rewritten, the examples keep working.

The boards

Board Made by Sector Hardware licence Upstream at the pinned commit
OpenEVSE Plus v6.5.1 OpenEVSE EV charging CC-BY-SA-3.0 OpenEVSE/OpenEVSE_PLUS@36abfe2
moteus x1 mjbots Motor control Apache-2.0 mjbots/moteus@b5d5a42
BMS C1 Libre Solar Energy storage CERN-OHL-W-2.0 LibreSolar/bms-c1@0ca0970
HealthyPi Move Protocentral Health wearables CERN-OHL-P-2.0 Protocentral/healthypi-move-hw@1864017
HackRF One Great Scott Gadgets Radio CERN-OHL-P-2.0 greatscottgadgets/hackrf@468c5d9
ESP32-C3-DevKit-Lipo Olimex IoT CERN-OHL-S-2.0 OLIMEX/ESP32-C3-DevKit-Lipo@5d93e79

The licence shown is the one the maker states for the hardware. Where a repository also carries a software licence (HackRF One's GPL-2.0 COPYING, HealthyPi Move's MIT LICENSE, Olimex's GPL-3.0 LICENSE), that file is kept in the board's licenses/ but does not cover the design. Each board's README quotes where its licence is stated.

Layout

sources.json          every board: id, name, maker, upstream, commit, folder, licence
scripts/mirror.sh     rebuilds a board's design/ from sources.json
scripts/check.sh      proves every design/ is byte-identical to upstream
<id>/README.md        where the board came from, who made it, its licence
<id>/licenses/        the upstream licence files and README, verbatim
<id>/design/          the upstream folder at the pinned commit, unchanged

design/ holds only the maker's files. Nothing copperhead writes goes inside it, so what the console imports is exactly what the maker published. The licences and notices sit beside it, in <id>/licenses/.

The one difference git forces is that an empty folder cannot be stored. BMS C1's kicad/ has three git submodules (espressif-libraries, libresolar-footprints, libresolar-symbols), which GitHub's archive gives as empty folders. They are absent here. The console imports files only, so the import is the same either way. When the mirror was made, the import plan of every board (files, paths, sizes and chosen project) was checked to be identical whether read from upstream or from here.

How the console uses this

The console's catalogue (lib/imports/examples.ts in copperhead-cloud) links each example to one folder in this repository, pinned to a full commit of this repository:

https://github.com/copperheadhq/example-boards/tree/<this repo's commit>/<id>/design

An example's Import fills the import form with that link, and nothing is fetched until the person presses Import and open. The console then downloads GitHub's archive of that commit and imports the folder, as it does for any public link. Because the link names a commit, a later push to this repository changes no example until the catalogue's pin is moved.

Changing the boards

Requires bash, curl, jq and unzip.

Add a board.

  1. Add its entry to sources.json, with a full 40-character commit and the folder holding its .kicad_pro. The hardwareLicence must be the licence the maker states for the hardware, as an SPDX id, and licenceSource must quote where it is stated.
  2. Run scripts/mirror.sh <id>.
  3. Create <id>/licenses/ with the upstream licence files and README, copied verbatim. If the repository only names its hardware licence, add that licence's text from the SPDX licence list.
  4. Write <id>/README.md following an existing one.
  5. Add a row to the table above.
  6. Run scripts/check.sh.

Move a board to a newer upstream commit.

  1. Change its commit (and path, if the folder moved) in sources.json.
  2. Run scripts/mirror.sh <id>.
  3. Refresh its licenses/ from the new commit, and check the licence statement has not changed.
  4. Update its README and the table, then run scripts/check.sh.

Remove a board. Delete its folder, its sources.json entry and its row.

Every change is a commit, and it reaches no one until copperhead-cloud's catalogue is pinned to it. When you move that pin, run the new link through the console's import path, as the catalogue's header comment describes.

Never edit a file under design/ by hand. A fix to a design belongs upstream; once it lands there, move the pin.

Takedown

If you made one of these boards and want it removed, or think its licence or attribution is wrong, open an issue here. We will act on it promptly.

About

Open-hardware KiCad designs the copperhead console offers as example boards, mirrored unchanged from their makers at pinned commits

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages