Replies: 3 comments
-
Ohh, it looks like your current branch is based on 3.4.0 of the adafruit library. If I test that, I see the same symptom. I guess your branch needs rebasing for me to have the best of both worlds :D When I test 3.4.1 it works again. adafruit/Adafruit_TinyUSB_Arduino@3.4.0...adafruit:Adafruit_TinyUSB_Arduino:3.4.1 |
Beta Was this translation helpful? Give feedback.
-
Ok, PEBKAC here :D I had to define the CFG_TUD_CDC "properly". I added it in the platformio.ini
Now everything works! |
Beta Was this translation helpful? Give feedback.
-
I was working on the branch Audio1 which contains the latest changes from the source repository. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @pschatzmann
Thank you very much for sharing your work. I am very interested in your USB UAC2 audio work this, so I tried it out on a normal raspberry pi pico2 board with an RP2350. Your examples works fine, but there appears to be a regression in our branch in comparison to the upstream adafruit tinyusb arduino library.
My goal was to use the headset example plus two other USB CDC interfaces for other things.
Compare link:
adafruit/Adafruit_TinyUSB_Arduino@3.4.2...pschatzmann:Adafruit_TinyUSB_Arduino:Audio
At the time the Audio branch pointed to ff6ba8b
My environment is platformio using this paltformio.ini:
If I then try to cdc_multi example on the adafruit/Adafruit_TinyUSB_Arduino library the multiple ttyACM devices do pop up, but with your branch they do no. Hence I suspect there is some regression, possibly with the assignment of the usb endpoints.
It looks like this (does not enumerate multiple ttyACM devices, your rbanch called Audio @ ff6ba8b
Where I would expect to see it like below (works with tag 3.4.2 of the library)
I had to modify the ino file a bit for it to compile, but it is basically unmodified of
https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/3.4.2/examples/CDC/cdc_multi/cdc_multi.ino
Added this in the top of the file:
Do you have any idea why this happens? Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions