This repository contains a minimal Hello World firmware example for ForgeBox. It is a small starting point for building and running your first firmware image on the device.
- ARM GCC Toolchain (arm-none-eabi-gcc)
- CMake 3.10 or later
- Rust toolchain
bindgen-clicbindgen
On macOS:
brew install armmbed/formulae/arm-none-eabi-gcc
rustup install nightly-2025-05-01
rustup target add thumbv7em-none-eabihf
cargo install bindgen-cli
cargo install cbindgenpython3 build.py -e productionIf you prefer not to install the toolchain locally:
docker build --target builder -t forgebox-helloworld-builder .To copy the generated files out of the image:
container_id=$(docker create forgebox-helloworld-builder)
docker cp "$container_id":/forgebox-helloworld/build ./build
docker rm "$container_id"After a successful build, you should see:
mh1903.elfmh1903.binmh1903.hexmh1903_full.bin
Use forgebox-cli to sign the mh1903_full.bin firmware image, then copy the signed package to an SD card and load it onto your ForgeBox.
See LICENSE.md for details.
For support or inquiries, please contact us at eng@keyst.one