mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Modify STM32F405 UID Address for MSC Enumeration (#13769) Update usbd_msc_desc.c Co-authored-by: ainosukii <95574594+ainosukii@users.noreply.github.com>
This commit is contained in:
parent
63b0aa18d5
commit
4a67af735d
1 changed files with 6 additions and 0 deletions
|
@ -33,9 +33,15 @@
|
||||||
#include "usb_regs.h"
|
#include "usb_regs.h"
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
#if defined (STM32F4)
|
||||||
|
#define DEVICE_ID1 (0x1FFF7A10)
|
||||||
|
#define DEVICE_ID2 (0x1FFF7A14)
|
||||||
|
#define DEVICE_ID3 (0x1FFF7A18)
|
||||||
|
#else
|
||||||
#define DEVICE_ID1 (0x1FFFF7E8)
|
#define DEVICE_ID1 (0x1FFFF7E8)
|
||||||
#define DEVICE_ID2 (0x1FFFF7EA)
|
#define DEVICE_ID2 (0x1FFFF7EA)
|
||||||
#define DEVICE_ID3 (0x1FFFF7EC)
|
#define DEVICE_ID3 (0x1FFFF7EC)
|
||||||
|
#endif
|
||||||
#define USB_SIZ_STRING_SERIAL 0x1A
|
#define USB_SIZ_STRING_SERIAL 0x1A
|
||||||
|
|
||||||
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue