Skip to content

Unable to get it working with Feather M0 Express (SAMD21) despite demo by Adafruit #66

@armsp

Description

@armsp

I am on Ubuntu 18.04 with Chrome 76. I am completely new to this and have been fiddling with it for a day but I just can't get WebUSB working with my Feather M0 Express that uses SAMD21 or my nRF52840 based Arduino Nano 33 BLE.
In the list of Compatible Hardware in WebUSB's Readme Arduino MKRZero is mentioned that has a SAMD21, so I assumed that it should work on my board too.
I believe I have followed all the correct instructions in the Getting Started.
Moreover there are couple of videos by Adafruit where they show WebUSB demo on boards that use SAMD21, however there just isn't more details about how they got it working - WebUSB1, WebUSB2

There is a tinyUSB page AND in the Arduino IDE if you click on Tools then an option called USB Stack comes where you can choose Arduino or TinyUSB. This has been confusing me. Moreover on TinyUSB's Supported Boards they have mentioned both SAMD21 and nRF52840. This is incredibly confusing to me. And then there is a Adafruit TinyUSB Library that doesn't have much documentation and a separate core for SAMD devices. But how do I fit this information to get things working.

While trying WebUSB RGB demo from Arduino IDE, I even tried changing the USB Stack to TinyUSB but that made the code fail to even compile.

Could you please shed some light here?
I am willing to do my research and get it working, but I was hoping you could clear this hodge-podge of information that I have into something discernible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions