diff --git a/drivers/include/usbdev_synopsys_dwc2.h b/drivers/include/usbdev_synopsys_dwc2.h index 6d462a83fe..819a127602 100644 --- a/drivers/include/usbdev_synopsys_dwc2.h +++ b/drivers/include/usbdev_synopsys_dwc2.h @@ -27,6 +27,14 @@ extern "C" { #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. *