dRonin
adbada4
dRonin firmware
|
Common definitions across the bootloaders. More...
Go to the source code of this file.
Macros | |
#define | USB 0 |
#define | SPI 1 |
#define | DownloadDelay 100000 |
#define | MAX_DEL_RETRYS 3 |
#define | MAX_WRI_RETRYS 3 |
Enumerations | |
enum | DownloadAction { start, keepgoing } |
enum | DFUStates { DFUidle, uploading, wrong_packet_received, too_many_packets, too_few_packets, Last_operation_Success, downloading, BLidle, Last_operation_failed, uploadingStarting, outsideDevCapabilities, CRC_Fail, failed_jump } |
enum | DFUCommands { Reserved, Req_Capabilities, Rep_Capabilities, EnterDFU, JumpFW, Reset, Abort_Operation, Upload, Op_END, Download_Req, Download, Status_Request, Status_Rep } |
enum | DeviceType { High_Density, Medium_Density } |
enum | DFUTransfer { FW, Descript } |
enum | DFUPort { Usb, Serial } |
enum | DFUProgType { Self_flash, Remote_flash_via_spi } |
Common definitions across the bootloaders.
Definition in file common.h.