Prerequistes

  • Have the Toolchain installed. Instructions here.
  • Update git submodules. This is done with the command git submodule update --init --recursive
  • Build Daisy library: in this repository root, execute sh build_libs.sh

Build and flash firmware to Daisy

  • Move to the folder of the firware you want to compile
  • Depending on your OS, the build commands may be different:

On Mac

  • make to build the firmware
  • make program-dfu to flash the firmware using USB
  • make program to flash the firmware using a debug probe (e.g. ST-link V3 mini)

On Windows

  • task build_and_program_dfu to build and flash the firmware using USB
  • task build_and_program to build and flash using a debug probe

On Linux

?