adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
449 stars 119 forks source link

compile errors if option "USB Firmware MSC On Boot:" is "Enabled" #395

Closed beta-tester closed 4 months ago

beta-tester commented 4 months ago

Operating System

Linux

Arduino IDE version

2.3.2

Board

ESP32-S3 Dev Module

ArduinoCore version

esp 2.0.11

TinyUSB Library version

3.1.0

Sketch as ATTACHED TXT

hid_dual_interfaces.ino

Compiled Log as ATTACHED TXT

compile error.txt

What happened ?

if option "USB Firmware MSC On Boot:" is "Enabled", compiling the sketch will fail.

How to reproduce ?

  1. open example sketch "hid_dual_interfaces.ino"
  2. select Board: "ESP32-S3 Dev Module", USB Firmware MSC On Boot: "Enabled", USB Mode: "USB-OTG"
  3. compile/verify
  4. => compiler error

Debug Log

No response

Screenshots

image

hathach commented 4 months ago

only set CDC on boot, other MSC/DFU on boot is not supported.