Initial Refleks Lite hardware and firmware release
This commit is contained in:
22
arcadestick_software/USB_DEVICE/App/usbd_dfu_bootloader.h
Normal file
22
arcadestick_software/USB_DEVICE/App/usbd_dfu_bootloader.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef USBD_DFU_BOOTLOADER_H
|
||||
#define USBD_DFU_BOOTLOADER_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "usbd_ioreq.h"
|
||||
|
||||
#define DFU_TRANSFER_SIZE 1024U
|
||||
#define DFU_APP1_ADDRESS 0x08006000U
|
||||
#define DFU_APP2_ADDRESS 0x08013000U
|
||||
#define DFU_APP_SLOT_SIZE 0x0000D000U
|
||||
#define USB_DFU_CONFIG_DESC_SIZ 36U
|
||||
|
||||
extern USBD_ClassTypeDef USBD_DFU_BOOTLOADER;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* USBD_DFU_BOOTLOADER_H */
|
||||
Reference in New Issue
Block a user