This project is intended to serve as a template firmware project for the Kinetis MK8x family of microcontrollers.
- GNU ARM GCC toolchain (download)
- cmake >= v3.12
- Kinetis MK8x SDK (included as git submodule)
- MicroCLI lib (included as git submodule)
- MPaland
printflib (included as git submodule)
- Update all submodules
git submodule update --init && git submodule sync
- Make sure
ARMGCC_DIRenvironment variable is set to the location you installed the ARM gcc toolchain. - Make sure build scripts are executable
chmod +x *.sh
- Execute one of the build scripts:
./build_all.sh- builds both debug and release configurations./build_debug.sh- builds debug configuration only./build_release.sh- builds release configuration only
./: Project configs, build/linker scripts, etc./lib/: external libraries (more on this)./src/: project source code