File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -667,8 +667,9 @@ struct __attribute__((packed)) CanMessageFirmwareUpdateRequest
667667 static constexpr CanMessageType messageType = CanMessageType::firmwareBlockRequest;
668668
669669 uint32_t fileOffset : 24 , // the offset in the file of the data we need
670- bootloaderVersion: 6 , // the protocol version of the bootloader or firmware making this request, currently 0
671- fileWanted : 2 ; // 0 = want firmware file, 1 = want bootloader, 2 and 3 reserved
670+ bootloaderVersion: 5 , // the protocol version of the bootloader or firmware making this request, currently 0
671+ uf2Format : 1 , // set if we want UF2 format, otherwise we want binary
672+ fileWanted : 2 ; // 0 = want firmware file, 1 and 2 reserved, 3 = want bootloader
672673 uint32_t lengthRequested : 24 , // how much data we want
673674 boardVersion : 8 ; // the hardware version of this board, currently always 0 for production boards
674675 char boardType[56 ]; // null-terminated board type name (firmware request) or bootloader class name (bootloader request)
You can’t perform that action at this time.
0 commit comments