# Error when trying to make flash

**URL:** <https://community.keyboard.io/t/error-when-trying-to-make-flash/1166>\
**Category:** Help and Getting Started\
**Created:** [March 1, 2018, 5:40pm UTC](https://community.keyboard.io/t/error-when-trying-to-make-flash/1166 "2018-03-01T17:40:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jan-warchol](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jan-warchol/32/511_2.png) [@jan-warchol](https://community.keyboard.io/u/jan-warchol)\
**Post date:** [March 1, 2018, 5:40pm UTC](https://community.keyboard.io/t/error-when-trying-to-make-flash/1166/1 "2018-03-01T17:40:04Z")

</div>

Hello,

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

```auto
~/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.

---

<div class="post-metadata">

**Author:** ![jesse](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jesse/32/361_2.png) [@jesse](https://community.keyboard.io/u/jesse)\
**Post date:** [March 1, 2018, 8:11pm UTC](https://community.keyboard.io/t/error-when-trying-to-make-flash/1166/2 "2018-03-01T20:11:50Z")

</div>

Hi Jan,

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

---

<div class="post-metadata">

**Author:** ![jan-warchol](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jan-warchol/32/511_2.png) [@jan-warchol](https://community.keyboard.io/u/jan-warchol)\
**Post date:** [March 2, 2018, 9:19am UTC](https://community.keyboard.io/t/error-when-trying-to-make-flash/1166/3 "2018-03-02T09:19:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jan-warchol](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jan-warchol/32/511_2.png) [@jan-warchol](https://community.keyboard.io/u/jan-warchol)\
**Post date:** [March 2, 2018, 7:11pm UTC](https://community.keyboard.io/t/error-when-trying-to-make-flash/1166/4 "2018-03-02T19:11:03Z")

</div>

My Arduino version is 1.8.5.

---

<div class="post-metadata">

**Author:** ![jan-warchol](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/jan-warchol/32/511_2.png) [@jan-warchol](https://community.keyboard.io/u/jan-warchol)\
**Post date:** [March 5, 2018, 7:53am UTC](https://community.keyboard.io/t/error-when-trying-to-make-flash/1166/5 "2018-03-05T07:53:51Z")

</div>

Okay, I found the problem: the instructions [here](https://github.com/keyboardio/Model01-Firmware/blob/master/README.md) are not 100% clear on where to put Model01-Firmware repo, and I mistakenly cloned it next to `avr`. Now it’s working.
