mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
machine/esp32c3: implement USB_SERIAL for USBCDC communication
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+3
-2
@@ -88,8 +88,9 @@ func strToUTF16LEDescriptor(in string, out []byte) {
|
||||
const cdcLineInfoSize = 7
|
||||
|
||||
var (
|
||||
ErrUSBReadTimeout = errors.New("USB read timeout")
|
||||
ErrUSBBytesRead = errors.New("USB invalid number of bytes read")
|
||||
ErrUSBReadTimeout = errors.New("USB read timeout")
|
||||
ErrUSBBytesRead = errors.New("USB invalid number of bytes read")
|
||||
ErrUSBBytesWritten = errors.New("USB invalid number of bytes written")
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user