rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#include "cdc_serial_host_app.h"
|
||||
#include "app_os_prio.h"
|
||||
|
||||
#if CFG_TUSB_HOST_CDC
|
||||
#if CFG_TUH_CDC
|
||||
|
||||
#define QUEUE_SERIAL_DEPTH 100
|
||||
|
||||
|
@@ -53,7 +53,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if CFG_TUSB_HOST_CDC
|
||||
#if CFG_TUH_CDC
|
||||
|
||||
void cdc_serial_host_app_init(void);
|
||||
void cdc_serial_host_app_task(void* param);
|
||||
|
@@ -138,6 +138,6 @@ void print_greeting(void)
|
||||
if (CFG_TUH_HUB ) puts(" - Hub (1 level only)");
|
||||
if (CFG_TUSB_HOST_HID_MOUSE ) puts(" - HID Mouse");
|
||||
if (CFG_TUSB_HOST_HID_KEYBOARD ) puts(" - HID Keyboard");
|
||||
if (CFG_TUSB_HOST_MSC ) puts(" - Mass Storage");
|
||||
if (CFG_TUSB_HOST_CDC ) puts(" - Communication Device Class");
|
||||
if (CFG_TUH_MSC ) puts(" - Mass Storage");
|
||||
if (CFG_TUH_CDC ) puts(" - Communication Device Class");
|
||||
}
|
||||
|
@@ -39,7 +39,7 @@
|
||||
#include "msc_cli.h"
|
||||
#include "ctype.h"
|
||||
|
||||
#if CFG_TUSB_HOST_MSC
|
||||
#if CFG_TUH_MSC
|
||||
|
||||
#include "ff.h"
|
||||
#include "diskio.h"
|
||||
|
@@ -42,7 +42,7 @@
|
||||
#include "msc_host_app.h"
|
||||
#include "app_os_prio.h"
|
||||
|
||||
#if CFG_TUSB_HOST_MSC
|
||||
#if CFG_TUH_MSC
|
||||
|
||||
#include "msc_cli.h"
|
||||
#include "ff.h"
|
||||
|
@@ -54,7 +54,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if CFG_TUSB_HOST_MSC
|
||||
#if CFG_TUH_MSC
|
||||
|
||||
void msc_host_app_init(void);
|
||||
void msc_host_app_task(void* param);
|
||||
|
@@ -39,7 +39,7 @@
|
||||
#include "rndis_host_app.h"
|
||||
#include "app_os_prio.h"
|
||||
|
||||
#if CFG_TUSB_HOST_CDC && CFG_TUSB_HOST_CDC_RNDIS
|
||||
#if CFG_TUH_CDC && CFG_TUH_CDC_RNDIS
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// MACRO CONSTANT TYPEDEF
|
||||
|
@@ -53,7 +53,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if CFG_TUSB_HOST_CDC && CFG_TUSB_HOST_CDC_RNDIS
|
||||
#if CFG_TUH_CDC && CFG_TUH_CDC_RNDIS
|
||||
|
||||
void rndis_host_app_init(void);
|
||||
void rndis_host_app_task(void* param);
|
||||
|
@@ -58,8 +58,8 @@
|
||||
#define CFG_TUSB_HOST_HID_KEYBOARD 1
|
||||
#define CFG_TUSB_HOST_HID_MOUSE 1
|
||||
#define CFG_TUSB_HOST_HID_GENERIC 0 // (not yet supported)
|
||||
#define CFG_TUSB_HOST_MSC 1
|
||||
#define CFG_TUSB_HOST_CDC 1
|
||||
#define CFG_TUH_MSC 1
|
||||
#define CFG_TUH_CDC 1
|
||||
|
||||
#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports
|
||||
|
||||
|
Reference in New Issue
Block a user