adaptions to build software for Trenz TE0720
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -34,7 +34,9 @@ ReturnValue_t PlocSupervisorHandler::initialize() {
|
||||
return INVALID_UART_COM_IF;
|
||||
}
|
||||
|
||||
#if BOARD_TE0720 == 0
|
||||
sdcMan = SdCardManager::instance();
|
||||
#endif /* BOARD_TE0720 == 0 */
|
||||
|
||||
return result;
|
||||
}
|
||||
@ -1462,7 +1464,12 @@ ReturnValue_t PlocSupervisorHandler::createMramDumpFile() {
|
||||
}
|
||||
|
||||
std::string filename = "mram-dump--" + timeStamp + ".bin";
|
||||
|
||||
#if BOARD_TE0720 == 0
|
||||
std::string currentMountPrefix = sdcMan->getCurrentMountPrefix();
|
||||
#else
|
||||
std::string currentMountPrefix("/mnt/sd0");
|
||||
#endif /* BOARD_TE0720 == 0 */
|
||||
|
||||
// Check if path to PLOC directory exists
|
||||
if (not std::filesystem::exists(std::string(currentMountPrefix + "/" + plocFilePath))) {
|
||||
|
Reference in New Issue
Block a user