Skip to content

USB CDC support #46

@jake-is-ESD-protected

Description

@jake-is-ESD-protected

More and more controllers support USB CDC as a way to establish low data rate serial comms with a client instead or in addition to UART. A notable example is the Electrosmith Daisy Seed, which left out any UART to client connection entirely. To have it support the jescore CLI, additional hooks would have to be in place for USB CDC instead of UART.

This needs:

  • USB(tiny) stack
  • #ifdefs for mode (UART or USB-CDC)
  • Settable macro for mode (JES_COMMS_UART, JES_COMMS_CDC, former is the default)
  • Checking if USB is supported at all (do this in board_parser.h)
  • A more abstracted callback backend (everything is "hardcoded" for UART right now)

Metadata

Metadata

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions