The default firmware for the Dygma Raise.
Setup the Arduino IDE on your system. Make sure you install at least version 1.8.10, since older version may not support all required features.
On macOS, install the Arduino IDE using homebrew cask with brew cask install arduino
or download the application from the official website and move it to your /Applications
folder.
On Linux, your distribution's package manager probably includes the Arduino IDE, but it may be an out of date version. If your distribution installs a version of Arduino before 1.8.10 or so, you'll need to install the Arduino IDE following the instructions on the wiki.
If you install Arduino into some place that's /not/ /usr/local/arduino
, you'll need to set the $ARDUINO_PATH
environment variable to the directory containing the arduino
and arduino-builder
binaries.
mkdir -p $HOME/Documents/Arduino
cd $HOME/Documents/Arduino
mkdir -p $HOME/Arduino
cd $HOME/Arduino
arduino --install-boards arduino:samd
mkdir -p hardware/dygma
## then clone the hardware definitions to make them available to the arduino environment
git clone --recursive https://github.com/Dygmalab/Kaleidoscope-Bundle-Dygma.git hardware/dygma/samd
Remember to keep updated the Kaleidoscope Bundle by running the following GIT commands in the samd folder before compiling each new version, not all the changes will be made in the Raise-FW repo.
To do so, just run:
git pull
git submodule sync
git submodule update
git clone https://github.com/Dygmalab/Raise-Firmware.git
Before you begin, make sure your Raise is connected to your computer.
The updated makefile now supports Windows, Mac & Linux
First install dependencies with chocolately using:
choco install make
make config
Will show the current configuration of the makefile.
Modify it to fit your current environment.
cd Raise-Firmware
make flash
Open the sketch you wish to flash (for example, Raise-Firmware.ino
).
Click the Upload button or press Ctrl-U
.
Hold down the key in the top left corner of your keyboard (Esc
by default), until the compile finishes and the upload begins.