Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5174

SDK • Re: Implementing midi usb with tinyusb - : undefined reference

$
0
0
I'm not shure to understand what you mean with "CDC" ? (i Actually have a warning #warning stdio USB was configured along with user use of TinyUSB device mode, but CDC is not enabled)
When i use printf() function i have no problem to pass and display my midi signal to the terminal.
It's not clear what you are doing, sending MIDI bytes over CDC rather than creating a USB MIDI device ?

I recall there were some hoops needed to jump through to add your own USB descriptors while keeping 'printf' working but can't recall the details. This attached project which creates three CDC and allows 'printf' builds and runs for me, might be a good starting pint for solving your 'missing definitions'.

If you get an error with 'stdio_usb.c' on the '#include "bsp/board_api.h"'; change that to "bsp/board.h". I can't remember if I am using the TinyUSB the SDK comes with or a bumped version, and it doesn't help that there are two different and incompatible versions of '0.16.0" out there.


usb_own_descriptors-2023-12-25.zip
Thank you very much !! it was realy usefull :)

Statistics: Posted by grungy1 — Mon Dec 25, 2023 10:00 pm



Viewing all articles
Browse latest Browse all 5174

Trending Articles