Device: Add device binary export support

This commit is contained in:
Yasser Yassine
2023-05-30 21:22:53 +00:00
parent f907d6759f
commit d9c12bffe7
11 changed files with 242 additions and 3 deletions
+7 -1
View File
@@ -31,7 +31,8 @@ enum class Command : uint8_t {
GetVBattReq = 0xDF, // Previously known as RED_CMD_VBATT_REQUEST
ScriptStatus = 0xE0, // Previously known as RED_CMD_SCRIPT_STATUS
MiscControl = 0xE7,
Extended = 0xF0,
Extended = 0xF0, // Previously known as RED_CMD_EXT_COMM
ExtendedData = 0xF2, // Previously known as RED_CMD_EXTENDED_DATA
FlexRayControl = 0xF3,
CoreMiniPreload = 0xF4, // Previously known as RED_CMD_COREMINI_PRELOAD
PHYControlRegisters = 0xEF
@@ -51,6 +52,7 @@ enum class ExtendedCommand : uint16_t {
GetComponentVersions = 0x001A,
Reboot = 0x001C,
SetUploadedFlag = 0x0027,
GenericBinaryInfo = 0x0030,
};
enum class ExtendedResponse : int32_t {
@@ -62,6 +64,10 @@ enum class ExtendedResponse : int32_t {
InvalidParameter = -5,
};
enum class ExtendedDataSubCommand : uint32_t {
GenericBinaryRead = 13,
};
}
#endif // __cplusplus