Modified to cross-compile for the Arduino Due