Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document new build options #5

Open
maxgerhardt opened this issue Aug 4, 2021 · 0 comments
Open

Document new build options #5

maxgerhardt opened this issue Aug 4, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@maxgerhardt
Copy link
Member

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.

@maxgerhardt maxgerhardt added the documentation Improvements or additions to documentation label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant