add stub for msc host & hub driver

This commit is contained in:
hathach
2013-05-06 20:09:06 +07:00
parent 4fa7f77ee2
commit fd49cff8e8
14 changed files with 532 additions and 187 deletions

View File

@@ -38,14 +38,15 @@
#include "tusb_option.h"
#if MODE_HOST_SUPPORTED & TUSB_CFG_HOST_MSC
#define _TINY_USB_SOURCE_FILE_
//--------------------------------------------------------------------+
// INCLUDE
//--------------------------------------------------------------------+
#include "common/common.h"
#include "msc_host.h"
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF
@@ -58,3 +59,25 @@
//--------------------------------------------------------------------+
// IMPLEMENTATION
//--------------------------------------------------------------------+
void msch_init(void)
{
}
tusb_error_t msch_open_subtask(uint8_t dev_addr, tusb_descriptor_interface_t const *descriptor, uint16_t *p_length)
{
return TUSB_ERROR_NONE;
}
void msch_isr(pipe_handle_t pipe_hdl, tusb_event_t event)
{
}
void msch_close(uint8_t dev_addr)
{
}
#endif