aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-04-26 09:58:18 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-04-26 09:58:18 +0000
commit91216f24048ae3499ec96d06cd19bbe9a384c9dc (patch)
tree069ec000b9e3742b210fa892968cc846983ee929 /os/hal/ports/STM32/LLD/USBv1/usb_lld.h
parente28a45245cae96beaa746ea22802185c44bd2fd5 (diff)
downloadChibiOS-91216f24048ae3499ec96d06cd19bbe9a384c9dc.tar.gz
ChibiOS-91216f24048ae3499ec96d06cd19bbe9a384c9dc.tar.bz2
ChibiOS-91216f24048ae3499ec96d06cd19bbe9a384c9dc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6886 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/USBv1/usb_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/USBv1/usb_lld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/USBv1/usb_lld.h b/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
index 042129758..828129032 100644
--- a/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
+++ b/os/hal/ports/STM32/LLD/USBv1/usb_lld.h
@@ -39,6 +39,11 @@
#define USB_MAX_ENDPOINTS USB_ENDOPOINTS_NUMBER
/**
+ * @brief Status stage handling method.
+ */
+#define USB_EP0_STATUS_STAGE USB_EP0_STATUS_STAGE_SW
+
+/**
* @brief This device requires the address change after the status packet.
*/
#define USB_SET_ADDRESS_MODE USB_LATE_SET_ADDRESS