hathach / tinyusb

An open source cross-platform USB stack for embedded system
https://www.tinyusb.org
MIT License
4.93k stars 1.03k forks source link

Vendor support outdated? #2684

Open harbaum opened 3 months ago

harbaum commented 3 months ago

Operating System

Others

Board

Pi Pico / RP2040

Firmware

None

What happened ?

Compiling with

define CFG_TUH_VENDOR 1

fails with vendor_host.h:37:3: error: unknown type name 'pipe_handle_t' and many errors more ...

It seems the vendor class driver has been discontinued as half of the types, constants and functions being used don't exist (anymore?).

How to reproduce ?

Just enable TUH_VENDOR

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

No log, compilation already fails.

Screenshots

No response

I have checked existing issues, dicussion and documentation

harbaum commented 3 months ago

With #2222 this driver can probably just be removed entirely ...