Skip to content

hid_generic_inout not compiling platformio, esp32s3 #534

Open
@Macka323

Description

@Macka323

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions