summaryrefslogtreecommitdiff
path: root/stm/lib/usbd_conf.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-26 17:41:01 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-26 17:41:01 +0000
commit75abee206d1a575aa98a486d043c94d64df432c1 (patch)
treef5842abbd035f84abd7cf758c8b4bb6efdfca17c /stm/lib/usbd_conf.h
parent8fcf7b858d28acb098ca4ee85860ca4ed88f0207 (diff)
stm: USB host mode working! Restructure stm library directories.
Diffstat (limited to 'stm/lib/usbd_conf.h')
-rw-r--r--stm/lib/usbd_conf.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/stm/lib/usbd_conf.h b/stm/lib/usbd_conf.h
deleted file mode 100644
index ad4cd73c8..000000000
--- a/stm/lib/usbd_conf.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __USBD_CONF__H__
-#define __USBD_CONF__H__
-
-#define USBD_CFG_MAX_NUM 1
-#define USBD_ITF_MAX_NUM 1 // TODO need more than 1?
-
-// CDC Endpoints parameters
-#define CDC_IN_EP 0x81 /* EP1 for data IN */
-#define CDC_OUT_EP 0x01 /* EP1 for data OUT */
-#define CDC_CMD_EP 0x82 /* EP2 for CDC commands */
-#define CDC_DATA_MAX_PACKET_SIZE 64 /* Endpoint IN & OUT Packet size */
-#define CDC_CMD_PACKET_SZE 8 /* Control Endpoint Packet size */
-#define CDC_IN_FRAME_INTERVAL 5 /* Number of frames between IN transfers */
-#define APP_RX_DATA_SIZE 2048 /* Total size of IN buffer:
- APP_RX_DATA_SIZE*8/MAX_BAUDARATE*1000 should be > CDC_IN_FRAME_INTERVAL */
-
-// MSC parameters
-#define MSC_IN_EP 0x83
-#define MSC_OUT_EP 0x03
-#define MSC_MAX_PACKET 64
-#define MSC_MEDIA_PACKET 2048 /* XXX was 4096; how small can we make it? */
-
-#endif //__USBD_CONF__H__