Add jump to slave bootloader command.

This commit is contained in:
László Monda
2017-10-12 19:57:41 +02:00
parent d2fd7bc613
commit ef34094004
4 changed files with 36 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
UsbCommand_ReadUserConfiguration = 15,
UsbCommand_GetKeyboardState = 16,
UsbCommand_GetDebugInfo = 17,
UsbCommand_JumpToSlaveBootloader = 18,
} usb_command_t;
typedef enum {
@@ -35,6 +36,10 @@
ConfigTransferResponse_BufferOutOfBounds = 2,
} config_transfer_response_t;
typedef enum {
JumpToBootloaderError_InvalidModuleDriverId = 1,
} jump_to_bootloader_error_t;
// Functions:
void UsbProtocolHandler(void);