espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.73k stars 7.43k forks source link

[3.0.6] Unable to compile TinyUSB w/USB-MSC #10494

Closed brentru closed 1 month ago

brentru commented 1 month ago

Board

ESP32-S2, ESP32-S3, ESP32-Sx Variants

Device Description

Adafruit Feather ESP32-S2

Hardware Configuration

No hardware is attached

Version

latest master (checkout manually)

IDE Name

Arduino IDE, Arduino CLI

Operating System

macOS, Ubuntu (GH:A)

Flash frequency

n/a for this issue

PSRAM enabled

yes

Upload speed

115200

Description

The msc_external_flash.ino sketch provided by the Adafruit TinyUSB Arduino Library compiles on 3.0.5 but not 3.0.6. There is a symbol collision between arduino-esp32 due to multiple definitions of the usbd_edpt_iso_activate and usbd_edpt_iso_alloc functions.

@hathach - you may want to look into this as well. But, I'm opening this issue on arduino-esp32 rather than Adafruit_TinyUSB_Arduino because it seems to be isolated to the arduino-esp32 BSP 3.0.6 release.

Sketch

Sketch is `msc_external_flash.ino` provided by the Adafruit TinyUSB Arduino library: https://github.com/adafruit/Adafruit_TinyUSB_Arduino/tree/master/examples/MassStorage/msc_external_flash

Debug Message

Compilation Log on BSP 3.0.6:

Linking everything together...
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/xtensa-esp32s2-elf-g++ @/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/flags/ld_flags @/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/flags/ld_scripts -Wl,--Map=/var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/msc_external_flash.ino.map -L/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib -L/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/ld -L/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/qio_qspi -Wl,--wrap=esp_panic_handler -Wl,--start-group /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/sketch/msc_external_flash.ino.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SPI/SPI.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FreeStack.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/MinimumSerial.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatDbg.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatFile.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatFilePrint.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatFileWrite.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatFormatter.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatName.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatPartition.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/ExFatLib/ExFatVolume.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatDbg.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatFile.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatFileLFN.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatFilePrint.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatFileSFN.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatFormatter.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatName.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatPartition.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FatLib/FatVolume.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FsLib/FsFile.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FsLib/FsNew.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/FsLib/FsVolume.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SdCard/SdCardInfo.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SdCard/SdSpiCard.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SdCard/SdioTeensy.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiArtemis.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiChipSelect.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiDue.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiESP.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiParticle.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiSTM32.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiSTM32Core.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/SpiDriver/SdSpiTeensy3.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/FmtNumber.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/FsCache.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/FsDateTime.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/FsName.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/FsStructs.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/FsUtf.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/PrintBasic.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/common/upcase.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/iostream/StdioStream.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/iostream/StreamBaseClass.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/iostream/istream.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/SdFat_-_Adafruit_Fork/iostream/ostream.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/Adafruit_FlashCache.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/Adafruit_SPIFlash.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/Adafruit_SPIFlashBase.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/esp32/Adafruit_FlashTransport_ESP32.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/qspi/Adafruit_FlashTransport_QSPI_NRF.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/qspi/Adafruit_FlashTransport_QSPI_SAMD.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/rp2040/Adafruit_FlashTransport_RP2040.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_SPIFlash/spi/Adafruit_FlashTransport_SPI.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/Adafruit_TinyUSB_API.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/Adafruit_USBD_CDC.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/Adafruit_USBD_Device.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/Adafruit_USBD_Interface.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/Adafruit_USBH_Host.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/cdc/Adafruit_USBH_CDC.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/hid/Adafruit_USBD_HID.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/midi/Adafruit_USBD_MIDI.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/msc/Adafruit_USBD_MSC.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/msc/Adafruit_USBH_MSC.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/ports/ch32/Adafruit_TinyUSB_ch32.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/ports/esp32/Adafruit_TinyUSB_esp32.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/ports/nrf/Adafruit_TinyUSB_nrf.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/ports/rp2040/Adafruit_TinyUSB_rp2040.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/ports/samd/Adafruit_TinyUSB_samd.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/video/Adafruit_USBD_Video.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/arduino/webusb/Adafruit_USBD_WebUSB.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/audio/audio_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/bth/bth_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/cdc/cdc_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/cdc/cdc_host.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/dfu/dfu_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/dfu/dfu_rt_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/hid/hid_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/hid/hid_host.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/midi/midi_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/msc/msc_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/msc/msc_host.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/net/ecm_rndis_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/net/ncm_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/usbtmc/usbtmc_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/vendor/vendor_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/class/video/video_device.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/common/tusb_fifo.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd_control.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/host/hub.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/host/usbh.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/analog/max3421/hcd_max3421.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/microchip/samd/dcd_samd.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/nordic/nrf5x/dcd_nrf5x.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/raspberrypi/pio_usb/dcd_pio_usb.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/raspberrypi/pio_usb/hcd_pio_usb.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/raspberrypi/rp2040/dcd_rp2040.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/raspberrypi/rp2040/hcd_rp2040.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/raspberrypi/rp2040/rp2040_usb.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/st/stm32_fsdev/dcd_stm32_fsdev.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/synopsys/dwc2/dcd_dwc2.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/wch/dcd_ch32_usbfs.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/portable/wch/dcd_ch32_usbhs.c.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/core/variant.cpp.o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/core/core.a @/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/flags/ld_libs -Wl,--end-group -Wl,-EL -o /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/msc_external_flash.ino.elf
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tusb_inited':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:97: multiple definition of `tusb_inited'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:65: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_desc_find':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:132: multiple definition of `tu_desc_find'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:83: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_desc_find2':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:140: multiple definition of `tu_desc_find2'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:91: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_desc_find3':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:148: multiple definition of `tu_desc_find3'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:99: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_claim':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:160: multiple definition of `tu_edpt_claim'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:111: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_release':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:177: multiple definition of `tu_edpt_release'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:128: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_validate':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:191: multiple definition of `tu_edpt_validate'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:142: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_bind_driver':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:226: multiple definition of `tu_edpt_bind_driver'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:177: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_desc_get_interface_total_len':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:240: multiple definition of `tu_desc_get_interface_total_len'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:191: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_init':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:272: multiple definition of `tu_edpt_stream_init'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:223: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_deinit':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:291: multiple definition of `tu_edpt_stream_deinit'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:238: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_write_zlp_if_needed':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:342: multiple definition of `tu_edpt_stream_write_zlp_if_needed'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:292: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_write_xfer':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:351: multiple definition of `tu_edpt_stream_write_xfer'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:300: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_write':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:371: multiple definition of `tu_edpt_stream_write'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:321: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_read_xfer':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:415: multiple definition of `tu_edpt_stream_read_xfer'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:337: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(tusb.c.obj): in function `tu_edpt_stream_read':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/tusb.c:450: multiple definition of `tu_edpt_stream_read'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/tusb.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/tusb.c:366: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_speed_get':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:407: multiple definition of `tud_speed_get'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:371: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_connected':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:411: multiple definition of `tud_connected'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:375: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_mounted':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:415: multiple definition of `tud_mounted'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:379: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_suspended':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:419: multiple definition of `tud_suspended'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:383: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_remote_wakeup':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:423: multiple definition of `tud_remote_wakeup'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:387: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_disconnect':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:430: multiple definition of `tud_disconnect'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:394: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_connect':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:435: multiple definition of `tud_connect'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:399: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_inited':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:447: multiple definition of `tud_inited'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:411: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj):/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:334: multiple definition of `_usbd_qdef'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:306: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_deinit':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:499: multiple definition of `tud_deinit'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:459: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_task_event_ready':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:552: multiple definition of `tud_task_event_ready'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:511: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `dcd_event_handler':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1153: multiple definition of `dcd_event_handler'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1152: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_int_set':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1227: multiple definition of `usbd_int_set'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1226: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_defer_func':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1262: multiple definition of `usbd_defer_func'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1261: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_open':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1277: multiple definition of `usbd_edpt_open'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1276: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_open_edpt_pair':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1239: multiple definition of `usbd_open_edpt_pair'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1238: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_claim':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1286: multiple definition of `usbd_edpt_claim'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1285: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_release':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1299: multiple definition of `usbd_edpt_release'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1298: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_xfer':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1309: multiple definition of `usbd_edpt_xfer'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1308: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_xfer_fifo':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1348: multiple definition of `usbd_edpt_xfer_fifo'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1347: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_busy':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1376: multiple definition of `usbd_edpt_busy'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1375: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_stall':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1385: multiple definition of `usbd_edpt_stall'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1384: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_clear_stall':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1398: multiple definition of `usbd_edpt_clear_stall'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1397: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_stalled':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1411: multiple definition of `usbd_edpt_stalled'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1410: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_task_ext':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:572: multiple definition of `tud_task_ext'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:531: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_close':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1424: multiple definition of `usbd_edpt_close'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1423: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_sof_enable':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1445: multiple definition of `usbd_sof_enable'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1440: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `tud_sof_cb_enable':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:440: multiple definition of `tud_sof_cb_enable'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:404: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_iso_alloc':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1462: multiple definition of `usbd_edpt_iso_alloc'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1457: first defined here
/Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp-xs2/2302/bin/../lib/gcc/xtensa-esp32s2-elf/12.2.0/../../../../xtensa-esp32s2-elf/bin/ld: /Users/brentrubell/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32s2/lib/libarduino_tinyusb.a(usbd.c.obj): in function `usbd_edpt_iso_activate':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/components/arduino_tinyusb/tinyusb/src/device/usbd.c:1474: multiple definition of `usbd_edpt_iso_activate'; /var/folders/ff/dmzflvf52tq9kzvt6g8jglxw0000gn/T/arduino_build_752479/libraries/Adafruit_TinyUSB_Library/device/usbd.c.o:/Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library/src/device/usbd.c:1466: first defined here
collect2: error: ld returned 1 exit status
Using library SPI at version 3.0.6 in folder: /Users/brentrubell/Library/Arduino15/packages/esp32/hardware/esp32/3.0.6/libraries/SPI 
Using library SdFat_-_Adafruit_Fork at version 2.2.3 in folder: /Users/brentrubell/Documents/Arduino/libraries/SdFat_-_Adafruit_Fork 
Using library Adafruit_SPIFlash at version 5.0.0 in folder: /Users/brentrubell/Documents/Arduino/libraries/Adafruit_SPIFlash 
Using library Adafruit_TinyUSB_Library at version 3.3.1 in folder: /Users/brentrubell/Documents/Arduino/libraries/Adafruit_TinyUSB_Library 
exit status 1
Error compiling for board Adafruit Feather ESP32-S2.


### Other Steps to Reproduce

_No response_

### I have checked existing issues, online documentation and the Troubleshooting Guide

- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
me-no-dev commented 1 month ago

Looks like you are compiling the whole tinyusb again and that is provided in our core already. Please post in Adafruit_TinyUSB_Library repo. Our examples work

luigijava commented 1 month ago

how did you solve that I have the same problem?

brentru commented 1 month ago

@luigijava A new version of the Adafruit TinyUSB has been released, please use the latest version.

luigijava commented 1 month ago

I resolve upgrade to 3.0.7 EspressoIf esp32 core and 3.4 Adafruit TinyUSB