add CDC USB profile, now can see debug messages from just USB
This commit is contained in:
26
targets/stm32l442/lib/usbd/usbd_composite.h
Normal file
26
targets/stm32l442/lib/usbd/usbd_composite.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef __USB_COMPOSITE_H
|
||||
#define __USB_COMPOSITE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "usbd_ioreq.h"
|
||||
|
||||
#define MAX_CLASSES 4
|
||||
|
||||
#define MAX_ENDPOINTS 16
|
||||
|
||||
extern USBD_ClassTypeDef USBD_Composite;
|
||||
|
||||
extern int in_endpoint_to_class[MAX_ENDPOINTS];
|
||||
|
||||
extern int out_endpoint_to_class[MAX_ENDPOINTS];
|
||||
|
||||
void USBD_Composite_Set_Classes(USBD_ClassTypeDef *class0, USBD_ClassTypeDef *class1);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user