Here’s how to build and download the firmware for the dat ting module from the command line (shell or Windows Command Prompt).
Note: These instructions use Linux/Mac-style pathnames with / as the directory separator. For the Windows Command Prompt, use \ instead.
Note: In these instructions, replace [repo-dir] with the pathname of the dat ting repository.
Libraries
Build the Daisy libraries, if necessary. This only needs to be done the first time the firmware is compiled or if the libraries are updated.
cd [repo-dir]/lib/libDaisy
make
cd [repo-dir]/lib/DaisySP
make
Bootloader Mode
Put the Daisy Seed into bootloader mode.
- Connect the Daisy Seed to the computer via USB.
- Press and hold the BOOT button.
- Press and release the RESET button.
- Release the BOOT button.
- The Seed’s on-board LED will start pulsing in a particular way to indicate bootloader mode.
Build and Download
Compile the firmware and download it to the Daisy Seed.
cd [repo-dir]/firmware/src
make all program-dfu
After downloading, the Daisy Seed will reboot and the bootup sequence will be displayed on the module’s OLED display.