Skip to main content

Build from Source

Developer guide · 5 min read

Find the public source, supported build paths, and project documentation for both M1 components.

Public repositories​

Clone only the public repository for the component you want to build. Read its license and repository instructions before compiling or flashing.

Building M1 Firmware​

The M1 Firmware repository includes STM32CubeIDE, command-line, and VS Code material.

  1. Open the public M1 repository.
  2. Start with its README and documentation/mbt.md.
  3. For a command-line build, install the listed ARM toolchain, CMake, Ninja, and SRecord requirements, then use the repository build script.
  4. On macOS, use the public setup_macos.sh support where appropriate.
  5. For VS Code or STM32CubeIDE, follow the public editor-specific instructions and select the current project target.

Building ESP32 Core​

Use the README and release documentation in the public ESP32 Core repository. Its build and flash process is separate from the STM32 firmware process.

Separate components

A successful build of one component does not build or update the other. The current user-facing versions are M1 Firmware 0.8.1.0 and ESP32 Core 1.0.

Before flashing a custom build​

  • Keep a known-good official release available for recovery.
  • Confirm the target, toolchain, and flash method in the public repository.
  • Back up any user files you need from the microSD card.
  • Use the repository issue tracker for reproducible source-build problems.