#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 */
