Adafruit_TinyUSB_Arduino icon indicating copy to clipboard operation
Adafruit_TinyUSB_Arduino copied to clipboard

hid_generic_inout not compiling platformio, esp32s3

Open Macka323 opened this issue 6 months ago • 0 comments

Operating System

Windows 11

Arduino IDE version

Platformio, 6.1.18

Board

ESP32-S3

ArduinoCore version

Core 6.1.18 Home 3.4.4

TinyUSB Library version

Adafruit TinyUSB Library@^3.6.1

Sketch as ATTACHED TXT

main.txt

Compiled Log as ATTACHED TXT

compile.txt

What happened ?

When i try to compile i get the error that there are multiple defentions of functions (i am not sure, i think that is the problem from the compile log)

How to reproduce ?

Create new platformio project. Add adafruit/Adafruit TinyUSB Library@^3.6.1 as a library. Change main.cpp with the example from above or the hid_generic_inout example. This is what i use in platformio.ini in order to enable usb.

[env:esp32s3]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
lib_deps = adafruit/Adafruit TinyUSB Library@^3.6.1
build_unflags = 
	-DARDUINO_USB_MODE=1
build_flags = 
	-DARDUINO_USB_MODE=0
	-DARDUINO_USB_CDC_ON_BOOT=1

Try to build.

Debug Log

No response

Screenshots

No response

Macka323 avatar Jun 06 '25 23:06 Macka323