Skip to content

Adafruit SAMD Boards are not found by arduino-cli core search #166

Closed
@BobCochran

Description

@BobCochran

I just installed arduino-cli on a Ubuntu 18.04 LTS box.

I have an Adafruit ItsyBitsy M0 board. When I plug this in, the operating system detects it as

Mar 09 19:09:20 deaf58 kernel: usb 3-1: new full-speed USB device number 4 using xhci_hcd
Mar 09 19:09:20 deaf58 kernel: usb 3-1: New USB device found, idVendor=239a, idProduct=800f
Mar 09 19:09:20 deaf58 kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 09 19:09:20 deaf58 kernel: usb 3-1: Product: ItsyBitsy M0 Express
Mar 09 19:09:20 deaf58 kernel: usb 3-1: Manufacturer: Adafruit
Mar 09 19:09:20 deaf58 kernel: usb 3-1: SerialNumber: F384ECC6504B5952312E314AFF021834
Mar 09 19:09:20 deaf58 kernel: cdc_acm 3-1:1.0: ttyACM0: USB ACM device
Mar 09 19:09:20 deaf58 kernel: usbcore: registered new interface driver cdc_acm
Mar 09 19:09:20 deaf58 kernel: cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

...and arduino-cli sees it as:

usbob2@deaf58:~/Arduino/MyFirstSketch$ arduino-cli board list FQBN Port ID Board Name /dev/ttyACM0 239a:800f unknown

Searching for a core under the 'adafruit' name yields this:

usbob2@deaf58:~/Arduino/MyFirstSketch$ arduino-cli core search 'adafruit'
Searching for platforms matching 'adafruit'

ID          	Version	Name                                        
arduino:avr 	1.6.23 	Arduino AVR Boards                          
arduino:samd	1.6.20 	Arduino SAMD Boards (32-bits ARM Cortex-M0+)

However it cannot find contributed boards under the name "Adafruit SAMD Boards" which the Arduino 1.8.8 GUI on my Mac does locate, if I open "Boards Manager..." and search for contributed Adafruit boards.

I installed this:

usbob2@deaf58:~/Arduino/MyFirstSketch$ arduino-cli core install arduino:samd

...but my board is still not detected:

usbob2@deaf58:~/Arduino/MyFirstSketch$ arduino-cli board list
FQBN Port ID Board Name
/dev/ttyACM0 239a:800f unknown

I'm not familiar with the Go programming language, but if there is some way I can contribute to arduino-cli that will help resolve this issue, I'm happy to do so.

Thanks!

Metadata

Metadata

Assignees

Labels

topic: documentationRelated to documentation for the project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions