Skip to content

flash_desktop

MatthGyver edited this page Apr 7, 2019 · 1 revision

General setup

I've created this page after my new computer installation. It's could be usefull for makers who starting with Arduino.

This is my setup on Linux Fedora distribution :

cd /home/<user>/<path to arduino folder>/
sudo ./arduino-linux-setup.sh

Optionally, you can install VisualStudio code. This is absolutely not necessary but I find it more convenient to develop.

  • Install Visual Studio Code
  • Install Arduino extension
  • Setup Arduino extension (you could do it at workspace level so for this project only):
    • Arduino: Command Path = ''
    • Arduino: Path = /home/<user>/.arduinoXX
  • Setup, programmer, board ans port : general setup

Libraries installation

cd /home/<user>/<path to arduino folder>/libraries
curl -O https://playground.arduino.cc/uploads/Code/Password/index.zip
unzip index.zip
rm -f index.zip
cd /home/<user>/<path to arduino folder>/libraries
curl -L https://github.com/adafruit/Adafruit_NeoPixel/archive/1.1.8.tar.gz | tar zx
cd /home/<user>/<path to arduino folder>/libraries
git clone https://github.com/DavyLandman/AESLib.git
cd /home/<user>/<path to arduino folder>/libraries
git clone https://github.com/adafruit/Adafruit_MPR121.git
cd /home/<user>/<path to arduino folder>/libraries
curl -L -O https://bitbucket.org/teckel12/arduino-toneac/downloads/toneAC_v1.4.zip
unzip toneAC_v1.4.zip
rm -f toneAC_v1.4.zip

Install custom keyboard files

This is an example for my french keyboard :

git clone [email protected]:matthgyver/Arduino-Keyboard-FR.git
  • Copy the library folder to the Arduino library folder
cp -r Arduino-Keyboard-FR/KeyboardFR/  /home/<user>/<path to arduino folder>/libraries/

Upload the sketch :

  • Press "F1"
  • Choose "Arduino: Upload"

Don't worry about warning, it's normal.