Replies: 1 comment 2 replies
-
That's a proprietary library for one chip and not compatible with the RP2040. That said, what exactly do those calls do? There is no such thing as a 5-bit or even parity on a USB CDC ACM serial port. Everything is sent over in byte-formatted packets. Baud rate is also ignored, this is USB and not a UART. There are a few emulated lines (DCD/etc.) but they're just informative and not real wires or real flow control (unless you manually handle it). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to port this SAMD code:
https://github.com/qbolsee/SAMD11C_serial/blob/main/SAMD11C_serial/SAMD11C_serial.ino
to the RP2040; it follows changes in the USB serial config (used for AVR UPDI progamming).
These calls are not supported:
SerialUSB.baud(), SerialUSB.paritytype(), SerialUSB.stopbits(), SerialUSB.numbits()
Is it possible to get the USB serial config?
Beta Was this translation helpful? Give feedback.
All reactions