20 lines
305 B
C
20 lines
305 B
C
|
#pragma once
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#include "usbd_def.h"
|
||
|
|
||
|
#define DEVICE_ID1 (UID_BASE)
|
||
|
#define DEVICE_ID2 (UID_BASE + 0x4)
|
||
|
#define DEVICE_ID3 (UID_BASE + 0x8)
|
||
|
|
||
|
#define USB_SIZ_STRING_SERIAL 0x1E
|
||
|
|
||
|
extern USBD_DescriptorsTypeDef CDC_Desc;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|