I know how to use plain UART on the Pico, with receive interrupt. See advanced_uart.c.
I also know how to make the UART show and work as a COM device. See hello_usb makefile.
I'm looking for help on the following: use the USB as a COM, and have support for incoming traffic (RX) interrupts.
Have you done that, or do you know how to do that? Please share.
I've made a test bed. It's the uart_advanced pico-example. I just copied it, and made changes to the build file.
This will allow that it's compiled, wherever the SDK sits. As long as you set this environment variable: PICO_SDK_PATH to your SDK location. For me: C:\Users\jancu\Documents\Pico\pico-sdk
Also contains a pico-probe config.
To switch to USB, uncomment the two last lines in the CMake file.
Top Comments