MPSoC Overhaul #296
@ -90,7 +90,7 @@ class ActionId(enum.IntEnum):
|
|||||||
TC_FLASH_DIR_GET_CONTENT = 28
|
TC_FLASH_DIR_GET_CONTENT = 28
|
||||||
TM_FLASH_DIRECTORY_CONTENT = 29
|
TM_FLASH_DIRECTORY_CONTENT = 29
|
||||||
TC_FLASH_READ_FULL_FILE = 30
|
TC_FLASH_READ_FULL_FILE = 30
|
||||||
TC_SIMPLEX_STORE_FILE = 31
|
TC_SPLIT_FILE = 31
|
||||||
TC_VERIFY_BOOT = 32
|
TC_VERIFY_BOOT = 32
|
||||||
TC_ENABLE_TC_EXECUTION = 33
|
TC_ENABLE_TC_EXECUTION = 33
|
||||||
TC_FLASH_MKFS = 34
|
TC_FLASH_MKFS = 34
|
||||||
@ -125,7 +125,7 @@ class OpCode:
|
|||||||
CAM_CMD_SEND = "cam_cmd_send"
|
CAM_CMD_SEND = "cam_cmd_send"
|
||||||
CAM_TAKE_PIC = "cam_take_pic"
|
CAM_TAKE_PIC = "cam_take_pic"
|
||||||
SIMPLEX_STREAM_FILE = "simplex_stream_file"
|
SIMPLEX_STREAM_FILE = "simplex_stream_file"
|
||||||
SIMPLEX_STORE_FILE = "simplex_store_file"
|
SPLIT_FILE = "split_file"
|
||||||
DOWNLINK_DATA_MODULATE = "downlink_data_modulate"
|
DOWNLINK_DATA_MODULATE = "downlink_data_modulate"
|
||||||
ENABLE_PLOC_SUPV_COMMANDING_TO_ON = "enable_ploc_supv_cmd_to_on"
|
ENABLE_PLOC_SUPV_COMMANDING_TO_ON = "enable_ploc_supv_cmd_to_on"
|
||||||
DISABLE_PLOC_SUPV_COMMANDING_TO_ON = "disable_ploc_supv_cmd_to_on"
|
DISABLE_PLOC_SUPV_COMMANDING_TO_ON = "disable_ploc_supv_cmd_to_on"
|
||||||
@ -153,7 +153,7 @@ class Info:
|
|||||||
CAM_TAKE_PIC = "Cam Take Picture"
|
CAM_TAKE_PIC = "Cam Take Picture"
|
||||||
CAM_CMD_SEND = "Send Camera Command"
|
CAM_CMD_SEND = "Send Camera Command"
|
||||||
SIMPLEX_STREAM_FILE = "Simplex Stream File with E-Band"
|
SIMPLEX_STREAM_FILE = "Simplex Stream File with E-Band"
|
||||||
SIMPLEX_STORE_FILE = "Simplex Store File on MPSoC"
|
SPLIT_FILE = "Split file on MPSoC Flash"
|
||||||
FLASH_READ_FILE = "Copy file from MPSoC to OBC"
|
FLASH_READ_FILE = "Copy file from MPSoC to OBC"
|
||||||
FLASH_WRITE_FILE = "Copy file from OBC to MPSoC"
|
FLASH_WRITE_FILE = "Copy file from OBC to MPSoC"
|
||||||
FLASH_DELETE_FILE = "Delete file on MPSoC"
|
FLASH_DELETE_FILE = "Delete file on MPSoC"
|
||||||
@ -308,12 +308,12 @@ def pack_ploc_mpsoc_commands(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
if cmd_str == OpCode.SIMPLEX_STORE_FILE:
|
if cmd_str == OpCode.SPLIT_FILE:
|
||||||
q.add_log_cmd(Info.SIMPLEX_STORE_FILE)
|
q.add_log_cmd(Info.SPLIT_FILE)
|
||||||
q.add_pus_tc(
|
q.add_pus_tc(
|
||||||
create_action_cmd(
|
create_action_cmd(
|
||||||
PLOC_MPSOC_ID,
|
PLOC_MPSOC_ID,
|
||||||
ActionId.TC_SIMPLEX_STORE_FILE,
|
ActionId.TC_SPLIT_FILE,
|
||||||
user_data=prepare_simplex_store_file_user_data(),
|
user_data=prepare_simplex_store_file_user_data(),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user