mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/usbdev_synopsys_dwc2: set USBDEV_SET_ADDR_AFTER_STATUS
DWC2 core requires that the device address has to be set directly after SETUP stage and not after the associated STATUS stage.
This commit is contained in:
parent
e46fa4a0b2
commit
88cabbae64
@ -27,6 +27,14 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief USB OTG peripheral requirement for setting the device address
|
||||||
|
*
|
||||||
|
* The address in the USB device has to be directly after the SETUP
|
||||||
|
* stage on receipt of the `SET ADDRESS Request`.
|
||||||
|
*/
|
||||||
|
#define USBDEV_CPU_SET_ADDR_AFTER_STATUS 0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief USB OTG peripheral type.
|
* @brief USB OTG peripheral type.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user