-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Eugenio Miró edited this page Mar 20, 2021
·
2 revisions
Here I'll start collecting answers to my own questions
- I bought a cheap arduino nano, which arduino-cli didn't recognized.
When I ran
arduino-cli board list
it returned
Port Type Board Name FQBN Core
/dev/ttyUSB0 Serial Port (USB) Unknown
After searching for a while I found how could I upload code to it in this issue answer, whicn was important to me because that made my brick style arduino at that moment alive.
I only had to change my upload command from:
arduino-cli upload MyFirstSketch.ino -b arduino:avr:nano -p /dev/ttyUSB0
to
arduino-cli upload MyFirstSketch.ino -b arduino:avr:nano:cpu=atmega328old -p /dev/ttyUSB0
which uploaded my first sketch to that board!