diff --git a/bsp_q7s/core/CoreController.h b/bsp_q7s/core/CoreController.h index 666d0b82..bf3e41d8 100644 --- a/bsp_q7s/core/CoreController.h +++ b/bsp_q7s/core/CoreController.h @@ -51,11 +51,16 @@ class CoreController : public ExtendedControllerBase { static constexpr char CHIP_PROT_SCRIPT[] = "get-chip-prot-status.sh"; static constexpr char CHIP_STATE_FILE[] = "/tmp/chip_prot_status.txt"; static constexpr char CURR_COPY_FILE[] = "/tmp/curr_copy.txt"; - static constexpr char OBSW_COMPRESSED_NAME[] = "eive-obsw.tar.xz"; + static constexpr char CONF_FOLDER[] = "conf"; + + static constexpr char OBSW_UPDATE_ARCHIVE_FILE_NAME[] = "eive-sw-update.tar.xz"; + static constexpr char STRIPPED_OBSW_BINARY_FILE_NAME = "eive-obsw-stripped"; + static constexpr char OBSW_VERSION_FILE_NAME = "obsw_version.txt"; static constexpr char VERSION_FILE_NAME[] = "version.txt"; static constexpr char REBOOT_FILE_NAME[] = "reboot.txt"; static constexpr char TIME_FILE_NAME[] = "time.txt"; + const std::string VERSION_FILE = "/" + std::string(CONF_FOLDER) + "/" + std::string(VERSION_FILE_NAME); const std::string REBOOT_FILE =