chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
475 stars 70 forks source link

How can I use it in Arduino IDE? #1

Closed ziv2013 closed 3 years ago

ziv2013 commented 3 years ago

Hi,

Thanks a lot for you project. And I want to try it under Arduino environment.

First I install your library then copy the source code of tinyusb to the source directory.

But I still get below error message:

Documents\Arduino\libraries\EspTinyUSB-master\src/osal/osal_freertos.h:32:20: fatal error: semphr.h: No such file or directory

Could you please with a simple guide of how to use your library?

Z.t

chegewara commented 3 years ago

Just like every library in arduino. Download zip and add it.

chegewara commented 3 years ago

Since today it wont be possible to use my library without editing arduino-esp32 core code. We can thanks to espressif.

ziv2013 commented 3 years ago

OK, thanks. I will try.