Skip to content

Document new build options #5

Description

@maxgerhardt

The USB libraries are e.g. looking for some macros which will activate the respective USB functionality / core / class

device_flags_to_sources = {
"PIO_USBFS_DEVICE_AUDIO": "audio",
"PIO_USBFS_DEVICE_CDC": "cdc",
"PIO_USBFS_DEVICE_DFU": "dfu",
"PIO_USBFS_DEVICE_HID_STANDARD": "hid",
"PIO_USBFS_DEVICE_HID_CUSTOM": "hid",
"PIO_USBFS_DEVICE_IAP": "iap",
"PIO_USBFS_DEVICE_MSC": "msc",
"PIO_USBFS_DEVICE_PRINTER": "printer"
}

host_flags_to_sources = {
"PIO_USBFS_HOST_HID": "hid",
"PIO_USBFS_HOST_MSC": "msc"
}

This needs to be documented.

Also good would be general documentation about the libraries and how to add them into the project / work with them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions