From 80f0664139b4ae83ea6cbb232e27d43bb63f6cae Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 26 Sep 2022 11:15:37 +0200 Subject: [PATCH] added some more fixed file names --- bsp_q7s/core/CoreController.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 =