Skip to content

Commit 3dcd1ca

Browse files
dav1901cmaglie
authored andcommitted
Update README.md
1 parent dc790dc commit 3dcd1ca

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,19 @@ with `arduino-cli board listall` and also search for a specific board:
157157
Great! Now we have the Board FQBN (Fully Qualified Board Name) `arduino:samd:mkr1000`
158158
and the Board Name look good, we are ready to compile and upload the sketch
159159

160+
#### Adding 3rd party cores
161+
To add 3rd party core packages add a link of the additional package to the file `.cli-config.yml`
162+
163+
If you want to add the ESP8266 core, for example:
164+
165+
board_manager:
166+
additional_urls:
167+
- http://arduino.esp8266.com/stable/package_esp8266com_index.json
168+
And then run:
169+
170+
arduino-cli core update-index
171+
arduino-cli core install esp8266:esp8266
172+
160173
### Step 5. Compile the sketch
161174
To compile the sketch we have to run the `compile` command with the proper FQBN we just got in the previous command.
162175

@@ -309,4 +322,3 @@ Because:
309322

310323
See: https://github.com/arduino/arduino-cli#step-4-find-and-install-the-right-core
311324

312-

0 commit comments

Comments
 (0)