PeterWone / vscode-arduino-cli

Integration of the Arduino CLI into VS Code
Other
9 stars 2 forks source link

Need to be able to install additional boards #14

Open trullock opened 3 years ago

trullock commented 3 years ago

Where is the current list of board populated from?

I have many boards installed in my normal Arduino environment which don't show in the current list

PeterWone commented 3 years ago

The board list is obtained using the command

arduino-cli.exe core search --format json 

the response is rather long so it's best to redirect it into a file and open that.

PeterWone commented 3 years ago

There are third-party providers. Each has its own URL. You can pass one or more of these URLs to arduino-cli core search and their products will then be present in the list but it will take longer. I was planning to add the provider URLs as settings so users can tick the ones they want.

Update

It appears we can update the index

arduino-cli  core update-index --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json
trullock commented 3 years ago

Sounds like a good idea