Teensyduino-based firmware for Alpaca v1 electronics. Runs on Teensy 3.x/LC.
delay()
unless absolutely necessary or does not matterInstall PlatformIO
Execute patches/auto.sh under patches.
cd patches && bash ./auto.sh
Copy patches/patched/framework-arduinoteensy-ds4
to package
directory under your PlatformIO settings directory and patches/patched/teensy-ds4
to platforms
directory.
cd patched
cp -r framework-arduinoteensy-ds4 /path/to/your/pfio/config/dir/packages
cp -r teensy-ds4 /path/to/your/pfio/config/dir/platforms
Run pio run
at the project root directory.
cd ../../
pio run
Now you can use pio run -t upload
to upload the built firmware to your teensy.
TODO
(There are some hints on the wiki and in the code, feel free to check them out)