We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CONFIG_USBDEV_MAX_BUS
#define CONFIG_USBDEV_MAX_BUS 1
every api add uint8_t busid, and no use if CONFIG_USBDEV_MAX_BUS=1
uint8_t busid
USBD_BASE macro remove, use usbd_initialize instead.
USBD_BASE
usbd_initialize
usbd_initialize(0, USBD_BASE, usbd_event_handler)
USBD_IRQHandler
void USBD_IRQ(void) { extern void USBD_IRQHandler(uint8_t busid); USBD_IRQHandler(0); }
CONFIG_USBHOST_MAX_BUS
#define CONFIG_USBHOST_MAX_BUS 1
USBH_BASE
usbh_initialize
usbh_initialize(0, USBH_BASE)
USBH_IRQHandler
void USBH_IRQ(void) { extern void USBH_IRQHandler(uint8_t busid); USBH_IRQHandler(0); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Device
CONFIG_USBDEV_MAX_BUS
macro, and only hpm can be 2, others should be 1.every api add
uint8_t busid
, and no use if CONFIG_USBDEV_MAX_BUS=1USBD_BASE
macro remove, useusbd_initialize
instead.USBD_IRQHandler
macro remove, call USBD_IRQHandler(xxx) in your actual irq name, for exampleHost
CONFIG_USBHOST_MAX_BUS
macroUSBH_BASE
macro remove, useusbh_initialize
instead.USBH_IRQHandler
macro remove, call USBH_IRQHandler(xxx) in your actual irq name, for exampleThe text was updated successfully, but these errors were encountered: