Skip to content

Instantly share code, notes, and snippets.

@t-nissie
Last active April 14, 2024 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t-nissie/cebb8e81d43bf310e92e983f73e40bf6 to your computer and use it in GitHub Desktop.
Save t-nissie/cebb8e81d43bf310e92e983f73e40bf6 to your computer and use it in GitHub Desktop.
Arduino IDE 2.3.2 on Linux

Arduino IDE 2.3.2 on Linux

This memo describes how to upload Arduino sketches to Arduino UNO R3 (Atmel ATMega328P) and R4 Minima (Runesas RA4M1) from Arduino IDE 2.3.2 on GNU/Linux.

Instalation

Download and unzip arduino-ide_2.3.2_Linux_64bit.zip.

Arduino UNO R3

The board with Atmel ATMega328P and Mega16U2 for USB interface.

Start SOMEWHERE/arduino-ide_2.3.2_Linux_64bit/arduino-ide .

Connect Arduino UNO and PC with a USB cable.

$ sudo chmod 666 /dev/ttyACM0 

(Maybe, there is another way to make the device writable automatically.)

Then, in Arduino IDE 2.3.2, select Tools->Port->/dev/ttyACM0 . Also select Tools->Board->Arduino AVR Board->Arduino UNO. I could flash/write/up-load the Blink example sketch through the USB cable.

Arduino UNO R4 Minima

The board with Runesas RA4M1. https://docs.arduino.cc/manuals/ABX00080

As written in https://me-yoh.com/arduino-uno-r4-2 , go to https://support.arduino.cc/hc/en-us/articles/9005041052444-Fix-udev-rules-on-Linux#renesas , Download post_install.sh as

$ cd Downloads
$ chmod 755 post_install.sh 
$ sudo ./post_install.sh 

Start SOMEWHERE/arduino-ide_2.3.2_Linux_64bit/arduino-ide .

In the Arduino IDE 2.3.2, Tools->Board->Board Manager...->Install "Arduino UNO R4 Boards". Now I can select Tools->Board->Arduino UNO R4 Boards->Arduino UNO R4 Minima. Connect Arduino Arduino Uno R4 MINIMA and PC with a USB-C cable. Then, in Arduino IDE 2.3.2, select Tools->Port->/dev/ttyACM0. I could flash/write/up-load the Blink example through the USB-C cable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment