Not getting a serial port in TinyUSB mode #2209
Replies: 3 comments 3 replies
-
Your example runs just fine, I see |
Beta Was this translation helpful? Give feedback.
-
That's good to know. But it doesn't work for me. A /dev/tty.usbserial* device gets created with Pico SDK stack, but not with TinyUSB. Maybe something is screwed up with my Arduino installation. |
Beta Was this translation helpful? Give feedback.
-
Here's the complete build output, doing it both ways.
And this is with the TinyUSB stack:
In both of those I'm compiling with arduino-cli. But i get the same results if I use the IDE. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am having some USB problems, compiling with Pico core v3.9.2 and Arduino IDE version 2.3.0.
At the moment I've stripped it down to a slightly modified version of the Blink example, included below.
My only change to the example is. I've added a USB Serial port.
I find that when I choose "Pico SDK" for my USB stack, the board boots and appears as a USB serial device. But if I select "Adafruit TinyUSB" and recompile, I'm not getting the serial port.
(In previous sketches I've selected "Pico SDK" for the USB board option, but then included Adafruit_TinyUSB.h in the code & used those advanced featues. That's been working -- I get the serial port and the advanced features. But now that I look at this more closely I think maybe it's not supposed to work?)
Here's the example code. Is anything obviously missing? Am I wrong to assume I can get a USB Serial port from the TinyUSB library?
Beta Was this translation helpful? Give feedback.
All reactions