This repo contains the custom package_*_index.json
files that can be used to add new
third party boards to the Arduino v1.6.4+ IDE.
https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls
Adafruit Package Lists for the Arduino v1.6.4+ Board Manager
Home Page: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
This repo contains the custom package_*_index.json
files that can be used to add new
third party boards to the Arduino v1.6.4+ IDE.
https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls
arduino-cli
cannot upload to Circuit Playground Express using FQBN (Fully Qualified Board Name) adafruit:samd:adafruit_circuitplayground_m0
Error reported:
Error during Upload: cannot execute upload tool: fork/exec {runtime.tools.bossac-1.7.0-arduino3.path}/bossac: no such file or directory
Upload works OK using FQBN arduino:samd:adafruit_circuitplayground_m0
Apologies, the differences between the two (adafruit vs arduino) FQBNs is not clear to me. I imagine this issue implies users should use the arduino FQBN, but then why is there an adafruit one? EDIT: required for certain features, see two posts below...
Thank you!
$ arduino-cli version
arduino-cli Version: 0.6.0 Commit: 3a08b07
With following added to ~/.arduino15/arduino-cli.yaml
(or can use param below):
board_manager:
additional_urls:
- https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
$ arduino-cli core update-index # --additional-urls "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
Updating index: package_index.json downloaded
Updating index: package_index.json downloaded
Updating index: package_adafruit_index.json downloaded
$ arduino-cli core search Adafruit Circuit Playground Express
ID Version Name
adafruit:samd 1.5.7 Adafruit SAMD Boards
arduino:samd 1.8.4 Arduino SAMD Boards (32-bits ARM Cortex-M0+)
$ arduino-cli core install adafruit:samd
$ arduino-cli core install arduino:samd
Compile works, but upload fails using adafruit:samd:adafruit_circuitplayground_m0
$ arduino-cli compile --fqbn adafruit:samd:adafruit_circuitplayground_m0 MyFirstSketch
Sketch uses 10412 bytes (3%) of program storage space. Maximum is 262144 bytes.
$ arduino-cli upload -p /dev/ttyACM0 --fqbn adafruit:samd:adafruit_circuitplayground_m0 MyFirstSketch
No new serial port detected.
Error during Upload: cannot execute upload tool: fork/exec {runtime.tools.bossac-1.7.0-arduino3.path}/bossac: no such file or directory
Compile and upload works using arduino:samd:adafruit_circuitplayground_m0
$ arduino-cli compile --fqbn arduino:samd:adafruit_circuitplayground_m0 MyFirstSketch
Sketch uses 11176 bytes (4%) of program storage space. Maximum is 262144 bytes.
$ arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:samd:adafruit_circuitplayground_m0 MyFirstSketch
No new serial port detected.
Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
{...} # ...redacted ...works```
package_adafruit_index.json has an entry for 1.4.10
"category": "Adafruit",
"name": "Adafruit AVR Boards",
"url": "https://adafruit.github.io/arduino-board-index/boards/adafruit-avr-1.4.10.tar.bz2",
"checksum": "SHA-256:9ba950a575eeb5927dc8d1849ed5dc823cbe0585d616f6cc690b5ccef4ffc1fa",
"help": {
"online": "https://forums.adafruit.com"
},
"version": "1.4.10",
"architecture": "avr",
"archiveFileName": "adafruit-avr-1.4.10.tar.bz2",
But the file isn't in the repo. The entry was added 19 hours ago.
avrdude.conf has been missing since AVR Boards 1.1.0 which causes
avrdude: can't open config file "C:\Users\per\AppData\Local\Arduino15\packages\adafruit\hardware\avr\1.3.0/avrdude.conf": No such file or directory
error when you try to Burn Bootloader.
.git folder is included in the tar.bz2 archive file. It should be removed to reduce BSP size.
REG_SERCOM0_SPI_DATA for example is listed as...
(*(RwReg *)...
...but the data sheet (across all SERCOM modes, but on page 532 of the AdaFruit-hosted datasheet PDF, section 27.8.10 in this example) lists the register is 16-bit, so the declaration should be...
(*(RwReg16*)...
...for all the various REG_SERCOM?_*_DATA register declarations.
Arduino board: Adafruit Feather nRF52840 Express
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.19
Adafruit nRF52 Boards version: 1.4.0
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too): LIST REPRO STEPS BELOW
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
while (!Serial);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Hello, World!");
delay(5000);
}
I have also tried downgrading to v1.3.0, but that did NOT make a difference.
Found a defect in the package definition while attempting installation of the "adafruit:samd" core:
Error during install: tool arduino:[email protected] not available for the current OS
Arduino board: Adafruit Feather M0 (RFM96 LoRa Radio)
Arduino IDE version: n/a (using arduino-cli
at v0.18.1)
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too):
aarch64
system architecture).nix-shell -p arduino-cli
, then arduino-cli config init
~/.arduino15/arduino-cli.yaml
file:https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
arduino-cli core update-index
(possibly unnecessary step)arduino-cli core install adafruit:samd
[shell:~/dev/feather]$ arduino-cli core install adafruit:samd
Downloading packages...
adafruit:arm-none-eabi-gcc@9-2019q4 already downloaded
arduino:[email protected] already downloaded
Error during install: tool arduino:[email protected] not available for the current OS
What this message did not tell me is how to resolve the problem myself. It did however inform me of the existence of a 1.7 version of the bossac library, which was correlated by my bug report / query with the Arduino repositories. That conversation led me here.
Huge thanks to @per1234 for confirming some root causes and identifying several paths forward in their exceptionally informational response to my initial attempt at reporting this defect.
As I said on the Arduino side, I'm more than happy to contribute to the solution on this...the observation that there's confusion for other users regarding who to talk to about this sort of issue (and even where to resolve it) are ongoing conversations.
"Adafruit Package Lists for the Arduino v1.6.4+ Board Manager https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
http://adafruit.github.io gives a 404.
https://raw.githubusercontent.com/adafruit/arduino-board-index/gh-pages/package_adafruit_index.json seems to work fine. I suggest fixing the text here and on the Arduino Unofficial Boards page accordingly
You specify the following in platform.txt
tools.bossac.path={runtime.tools.bossac-1.7.0.path}
Then in boards.txt you specify it as the upload tool for the M0 Express.
adafruit_feather_m0_express.upload.tool=bossac
But since you don't have it as a toolsDependencies in your package_adafruit_index.json for adafruit:[email protected], you will get a "can't find {runtime.tools.bossac-1.7.0.path}/bossac" error during an upload.
The IDE seems to find bossac randomly. Maybe something gets cached at some point. You can definitely see this issue if you use the new alpha arduino-cli tool. I think it gets cached from the arduino:samd package but I'm not sure. When it happens I usually need to delete .arduino15 and reload.
If I put your index url into arduino-cli via .cli-config.yml (this file must live next to exe and not in $HOME), then manually add the toolsDependencies to adafruit:[email protected] I can install everything, compile, and upload all from command line.
It would be nice to have one URL for all Adafruit boards for easier IDE configuration.
https://apt.adafruit.com/proxy_files/package_adafruit_index.json works for now, but isn't on the list of 3rd party boards.
metro.bootloader.file=arduino:optiboot/optiboot_atmega328.hex
etc. doesn't work, I know it should work and there is even an issue(arduino/Arduino#2656) requesting this functionality for the Arduino IDE, but it doesn't work:
avrdude: can't open input file C:\Users\per\AppData\Roaming\Arduino15\packages\adafruit\hardware\avr\1.3.0/bootloaders/arduino:optiboot/optiboot_atmega328.hex: Invalid argument
You have to include your own copies of all these bootloaders.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.