Code and documentation repository for the York Formula Student electronics team. Kicad projects are included as submodules but remain separate repositories to allow for separate development. The submodules can then be pinned to a specific tag which matches the firmware and documentation versions.
docs/- Manuals, flowcharts, block diagrams, etc.kicad/- KiCad PCB projectssrc/- STM32 firmwaresystem/- CMSIS and startup code for Cortex-M3test/- Host-runnable unit tests for the platform independent code
Ensure a suitable ARM toolchain is in the PATH and run
cmake --preset release -GNinja
cmake --build build-release
If stlink is installed, flash targets will be available for each executable. For
example, flash-apps.
cmake --preset host -GNinja
cmake --build build-host
./build-host/tests
docker run --rm -u $(id -u) -v $(pwd):/src ghcr.io/york-fs/monorepo:master cmake \
--preset release \
-B/src/build-release \
-GNinja \
/src
docker run --rm -u $(id -u) -v $(pwd):/src ghcr.io/york-fs/monorepo:master cmake --build /src/build-release
podman run --rm -v $(pwd):/src ghcr.io/york-fs/monorepo:master cmake \
--preset release \
-B/src/build-release \
-GNinja \
/src
podman run --rm -v $(pwd):/src ghcr.io/york-fs/monorepo:master cmake --build /src/build-release