Skip to content

Commit 5f5d99b

Browse files
committed
Added some FAQ to readme
1 parent 1967071 commit 5f5d99b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

README.md

+35
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,38 @@ Global Flags:
272272
Use "arduino-cli core [command] --help" for more information about a command.
273273

274274
```
275+
276+
# FAQ
277+
278+
#### Why the Arduino Uno/Mega/Duemilanove is not detected when I run `arduino-cli board list`?
279+
280+
Because:
281+
282+
- Your board is a cheaper clone, or
283+
- It mounts a USB2Serial converter like FT232 or CH320: these chips always reports the same USB VID/PID to the operating system, so the only thing that we know is that the board mounts that specific USB2Serial chip, but we don't know which board is.
284+
285+
#### What is the core for the Uno/Mega/Nano/Duemilanove?
286+
287+
`arduino:avr`
288+
289+
#### What is the FQBN for ...?
290+
291+
Arduino UNO: `arduino:avr:uno`
292+
Arduino Mega: `arduino:avr:mega`
293+
Arduino Nano: `arduino:avr:nano` or `arduino:avr:nano:cpu=atmega328old` if you have the old bootloader
294+
295+
#### How can I find the core/FQBN for a board?
296+
297+
You must first find the core, for example if you are interested in the Arduino Zero you can search the term `zero`:
298+
299+
```
300+
$ arduino-cli core search zero
301+
Searching for platforms matching 'zero'
302+
303+
ID Version Name
304+
arduino:samd 1.6.19 Arduino SAMD Boards (32-bits ARM Cortex-M0+)
305+
```
306+
307+
once the core is determined you should install it with `arduino-cli core install arduino:samd` and, once installed, you can connect the board and detect it with `arduino-cli board list`.
308+
309+
If the board is not detected for any reason, you can list all the supported boards with `arduino-cli board listall`

0 commit comments

Comments
 (0)