Tools->Menu->USB Stack

Hi,

I am trying to use WebUSB and TinyUSB on a Arduino Nano 33 IoT.

I am trying to follow the "Using WebUSB with Arduino and TinyUSB" guide from here:

https://learn.adafruit.com/using-webusb ... -selection

I have Arduino IDE 1.8.12.

I don't see "Tools->Menu->USB Stack"

I get the following error when compiling my sketch:

In file included from C:\Users\pavan\Documents\Arduino\libraries\Adafruit_TinyUSB_Library\src/Adafruit_USBD_HID.h:28:0,

from C:\Users\pavan\Documents\Arduino\libraries\Adafruit_TinyUSB_Library\src/Adafruit_TinyUSB.h:28,

from C:\Users\pavan\Documents\Arduino\sketch_apr12a\sketch_apr12a.ino:28:

C:\Users\pavan\Documents\Arduino\libraries\Adafruit_TinyUSB_ArduinoCore-master/Adafruit_TinyUSB_Core.h:29:2: error: #error TinyUSB is not selected, please select it in Tools->Menu->USB Stack

#error TinyUSB is not selected, please select it in Tools->Menu->USB Stack

^~~~~

C:\Users\pavan\Documents\Arduino\libraries\Adafruit_TinyUSB_ArduinoCore-master/Adafruit_TinyUSB_Core.h:32:10: fatal error: tusb.h: No such file or directory

#include "tusb.h"

^~~~~~~~

compilation terminated.

exit status 1
Error compiling for board Arduino NANO 33 IoT.

What do I need to do to get that to appear?

Thanks.

First you need to learn to add proper URL's
The one you provided does not work.

If we cannot see where you got things we cannot help as well as we should.

Also be aware that not all libraries are meant for all boards maybe you are calling a library that is incompatible with the NANO 33 ?

Could you take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

Thank you.....you are correct about the boards.

I changed my board type to "Adafruit Circuit Playground Express" as used in the tutorial link above and now the Tools > USB Stack: > TinyUSB appears. And the tutorial sketch compiles without errors.

I don't have a "Adafruit Ciruit Playground Express" but I do have a "Adafruit ItsyBitsy M4".

I tried compiling for a Adafruit ItsyBitsy m4 and the Tools > USB Stack: > TinyUSB appears. And the tutorial sketch compiles without errors.

I have not tried to actually use the WebUSB stuff yet.

So it seems that TinyUSB is not supported on the Arduino Nano 33 IoT.

Sorry about the URL...here it is again: