diff options
| author | hathach <[email protected]> | 2013-11-01 12:11:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-01 12:11:26 +0700 |
| commit | 3a54ad4c0d4e31bf9a13cebb771ccc9e9f4f6449 (patch) | |
| tree | a47a948c51dd729c57593ab572c157665f4e3fd3 /demos/host/src | |
| parent | c760c69d51e44c98f9a15feb3f93bee599026332 (diff) | |
implement msc device class
usbd auto stall control for not supported return from class control request
usbd implement xfer isr callback mechanism
DCD
- implement dcd multiple qtd support
- dcd dcd_pipe_stall
- implement dcd_pipe_queue_xfer
- xfer_complete_isr
- flush control endpoint if received new setup while previous transfer is not complete
change msc_cmd_block_wrapper_t flags field to dir
force full speed for easy testing
NOTEs: somehow unable to get endpoint IN interrupt with ioc
Diffstat (limited to 'demos/host/src')
| -rw-r--r-- | demos/host/src/msc_app.c | 2 | ||||
| -rw-r--r-- | demos/host/src/msc_app.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/demos/host/src/msc_app.c b/demos/host/src/msc_app.c index e9347fa84..4b7ca5df0 100644 --- a/demos/host/src/msc_app.c +++ b/demos/host/src/msc_app.c @@ -39,7 +39,7 @@ //--------------------------------------------------------------------+
// INCLUDE
//--------------------------------------------------------------------+
-#include "mouse_app.h"
+#include "msc_app.h"
#if TUSB_CFG_OS != TUSB_OS_NONE
#include "app_os_prio.h"
diff --git a/demos/host/src/msc_app.h b/demos/host/src/msc_app.h index 1e680cccc..b61c0bafc 100644 --- a/demos/host/src/msc_app.h +++ b/demos/host/src/msc_app.h @@ -46,9 +46,6 @@ #ifndef _TUSB_MSC_APP_H_
#define _TUSB_MSC_APP_H_
-#include <stdint.h>
-#include <stdbool.h>
-
#include "boards/board.h"
#include "tusb.h"
|
