Skip to content

Template project for Kinetis MK8x series microcontrollers.

License

Notifications You must be signed in to change notification settings

nullcopy/mk8x-template-project

Repository files navigation

mk8x-template-project

This project is intended to serve as a template firmware project for the Kinetis MK8x family of microcontrollers.

Dependencies

  1. GNU ARM GCC toolchain (download)
  2. cmake >= v3.12
  3. Kinetis MK8x SDK (included as git submodule)
  4. MicroCLI lib (included as git submodule)
  5. MPaland printf lib (included as git submodule)

Build

  1. Update all submodules
    • git submodule update --init && git submodule sync
  2. Make sure ARMGCC_DIR environment variable is set to the location you installed the ARM gcc toolchain.
  3. Make sure build scripts are executable
    • chmod +x *.sh
  4. 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 Structure

  • ./ : Project configs, build/linker scripts, etc
  • ./lib/ : external libraries (more on this)
  • ./src/ : project source code

About

Template project for Kinetis MK8x series microcontrollers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •