Error when trying to make flash

Hello,

I have followed instructions from here: https://github.com/keyboardio/Kaleidoscope/wiki/Install-Arduino-support-on-Linux and here https://github.com/keyboardio/Model01-Firmware/blob/master/README.md and I got the following error when running make flash:

~/Arduino/hardware/keyboardio/Model01-Firmware$ make flash
BOARD_HARDWARE_PATH="/home/janwarchol/Arduino/hardware" /home/janwarchol/Arduino/hardware/keyboardio/avr/libraries/Kaleidoscope/bin//kaleidoscope-builder flash
Building output/Model01-Firmware/Model01-Firmware (0.0.0-gv1.22-3-gb745-dirty) ...
Platform avr (package keyboardio) is unknown
/home/janwarchol/Arduino/hardware/keyboardio/avr/build-tools/makefiles//rules.mk:72: recipe for target 'flash' failed
make: *** [flash] Error 1

Any ideas? I’m completely new to Arduino.

PS I’m running Ubuntu 16.04.

Hi Jan,

At a -guess-, there’s something wrong with your Arduino install. What version of the Arduino IDE/Platform did you install?

The one from Arduino website (not Ubuntu repo), 1.8.something. I’ll check exact number when I’m at the computer again.

My Arduino version is 1.8.5.

Okay, I found the problem: the instructions here are not 100% clear on where to put Model01-Firmware repo, and I mistakenly cloned it next to avr. Now it’s working.

1 Like