Skip to content

Commit 84283eb

Browse files
committed
Improved readme
1 parent 5ba319d commit 84283eb

File tree

1 file changed

+15
-21
lines changed

1 file changed

+15
-21
lines changed

README.md

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,20 @@ We can finally check if the board is now recognized as a MKR1000
142142
FQBN Port ID Board Name
143143
arduino:samd:mkr1000 /dev/ttyACM0 2341:804E Arduino/Genuino MKR1000
144144

145-
Great! Now the Board FQBN (Fully Qualified Board Name) and the Board Name look good, we are ready to compile and upload the sketch
145+
If the board is not detected for any reason, you can list all the supported boards
146+
with `arduino-cli board listall` and also search for a specific board:
147+
148+
$ arduino-cli board listall mkr
149+
Board Name FQBN
150+
Arduino MKR FOX 1200 arduino:samd:mkrfox1200
151+
Arduino MKR GSM 1400 arduino:samd:mkrgsm1400
152+
Arduino MKR WAN 1300 arduino:samd:mkrwan1300
153+
Arduino MKR WiFi 1010 arduino:samd:mkrwifi1010
154+
Arduino MKRZERO arduino:samd:mkrzero
155+
Arduino/Genuino MKR1000 arduino:samd:mkr1000
156+
157+
Great! Now we have the Board FQBN (Fully Qualified Board Name) `arduino:samd:mkr1000`
158+
and the Board Name look good, we are ready to compile and upload the sketch
146159

147160
### Step 5. Compile the sketch
148161
To compile the sketch we have to run the `compile` command with the proper FQBN we just got in the previous command.
@@ -294,25 +307,6 @@ Because:
294307

295308
#### How can I find the core/FQBN for a board?
296309

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` and also search for a specific board, in our example `arduino-cli board listall zero`.
310+
See: https://github.com/arduino/arduino-cli#step-4-find-and-install-the-right-core
310311

311-
```
312-
$ arduino-cli board listall zero
313-
Board Name FQBN
314-
Arduino MKRZERO arduino:samd:mkrzero
315-
Arduino/Genuino Zero (Native USB Port) arduino:samd:arduino_zero_native
316-
Arduino/Genuino Zero (Programming Port) arduino:samd:arduino_zero_edbg
317-
```
318312

0 commit comments

Comments
 (0)