STR secondary firmware slot commands #276
@ -1249,6 +1249,28 @@ def create_str_node() -> CmdTreeNode:
|
|||||||
)
|
)
|
||||||
node.add_child(CmdTreeNode(OpCode.FW_UPDATE_MAIN, Info.FW_UPDATE_MAIN))
|
node.add_child(CmdTreeNode(OpCode.FW_UPDATE_MAIN, Info.FW_UPDATE_MAIN))
|
||||||
node.add_child(CmdTreeNode(OpCode.FW_UPDATE_BACKUP, Info.FW_UPDATE_BACKUP))
|
node.add_child(CmdTreeNode(OpCode.FW_UPDATE_BACKUP, Info.FW_UPDATE_BACKUP))
|
||||||
|
node.add_child(
|
||||||
|
CmdTreeNode(
|
||||||
|
OpCode.SELECT_TARGET_FIRMWARE_MAIN, Info.SELECT_TARGET_FIRMWARE_MAIN
|
||||||
|
)
|
||||||
|
)
|
||||||
|
node.add_child(
|
||||||
|
CmdTreeNode(
|
||||||
|
OpCode.SELECT_TARGET_FIRMWARE_BACKUP, Info.SELECT_TARGET_FIRMWARE_BACKUP
|
||||||
|
)
|
||||||
|
)
|
||||||
|
node.add_child(
|
||||||
|
CmdTreeNode(
|
||||||
|
OpCode.SELECT_TARGET_FIRMWARE_MAIN_PERSISTENT,
|
||||||
|
Info.SELECT_TARGET_FIRMWARE_MAIN_PERSISTENT,
|
||||||
|
)
|
||||||
|
)
|
||||||
|
node.add_child(
|
||||||
|
CmdTreeNode(
|
||||||
|
OpCode.SELECT_TARGET_FIRMWARE_BACKUP_PERSISTENT,
|
||||||
|
Info.SELECT_TARGET_FIRMWARE_BACKUP_PERSISTENT,
|
||||||
|
)
|
||||||
|
)
|
||||||
node.add_child(
|
node.add_child(
|
||||||
CmdTreeNode(OpCode.SET_TIME_FROM_SYS_TIME, Info.SET_TIME_FROM_SYS_TIME)
|
CmdTreeNode(OpCode.SET_TIME_FROM_SYS_TIME, Info.SET_TIME_FROM_SYS_TIME)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user