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

General • CDC driver for RP2350 (Pico 2)

$
0
0
Hi Guys,

Just wondering if there is any magic that needs to be done to get USB CDC working on the Pi Pico 2's?

It is coming up as an unknown device in device manager.

Image

I have this in my CMakeLists.txt file which does the job on the RP2040, along with the call to stdio_init_all() but my Pico 2 doesn't seem to be agreeing with it. Not a show-stopper for what I'm doing, but would be nice to have.

Code:

target_compile_options(${projname} PRIVATE -DPICO_STDIO_USB_ENABLE_RESET_VIA_VENDOR_INTERFACE=0)pico_enable_stdio_usb(${projname} 1)pico_enable_stdio_uart(${projname} 0)
Other than that, everything is compiling and working great on my Pico 2's.

Side note, the FPU has given a phenomenal speed boost to my project when compared to the Pico 1. Like in the order of 2000% boost!! (No that's not a typo). It is a seriously awesome chip! 8-)

Many thanks, once again :D

Statistics: Posted by Lonewolff — Wed Sep 18, 2024 1:17 am



Viewing all articles
Browse latest Browse all 4786

Trending Articles