153666f73f
* USB-CDC: accepting the next data packet only if we process previous data * USB-CDC: use USB FS packet size * HAL-console: puts method * Check: print assertion data * FuriHal: rx stream free space aware CDC confirmation. * Bootloader: pull down USB lines, leave the rest to the firmware or bootloader * F6: cleanup and move USB code to usb-glue folder, add USB suspend/resume events to VCP, cleanup target.mk, fix missing motd message in cli when using minicom. * F5: cleanup the rest of USB glue code, adjust LPM and Power info data in descriptor. Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
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
|