Skip to content

Commit

Permalink
update tinyusb to commit 41e2da79f4a86c242deb84e0c8fab8afb7e0e74e
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Nov 21, 2023
1 parent 997c1ec commit 0885655
Show file tree
Hide file tree
Showing 3 changed files with 395 additions and 223 deletions.
Loading

2 comments on commit 0885655

@akumpf
Copy link

@akumpf akumpf commented on 0885655 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit is getting me excited about USB DEVICE Audio. :)

I've been tinkering to see what it would take to get this running on ESP32-S3. Essentially creating a new folder for /arduino/audio with two files (Adafruit_USBD_Audio.h and Adafruit_USBD_Audio.cpp that mirror what the Adafruit_USBD_MIDI device is doing).

For MIDI, the CFG_TUD_MIDI flag is set somewhere. Looks like there are #define fallbacks in tusb_option.h but not sure where it's actually being set to 1. Ideally, the CFG_TUD_AUDIO flag would then be set in the same way.

I commented over in the closed Issue #234 -- any advice/suggestions greatly appreciated!

@pschatzmann
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was also missing some Audio C++ class, so I started to work on an Implementation.
Here is my current status that is working with a RP2040.

Would you have some insight on how to use this project with an ESP32 and/or how to provide this functionality there ?
I am just getting compile errors with any sketch...

Please sign in to comment.