fix project file, continue core ctrl

This commit is contained in:
2023-06-24 18:06:58 +02:00
parent 07df6eb95f
commit 7f36455857
3 changed files with 85 additions and 17 deletions

View File

@ -354,6 +354,7 @@ class CoreController : public ExtendedControllerBase, public ReceivesParameterMe
void executeNextExternalSdCommand();
void checkExternalSdCommandStatus();
void performRebootWatchdogHandling(bool recreateFile);
void performRebootCountersHandling(bool recreateFile);
ReturnValue_t actionListDirectoryIntoFile(ActionId_t actionId, MessageQueueId_t commandedBy,
const uint8_t* data, size_t size);
@ -374,10 +375,12 @@ class CoreController : public ExtendedControllerBase, public ReceivesParameterMe
bool allChips, bool allCopies, uint8_t arrIdx);
void determineAndExecuteReboot(RebootWatchdogFile& rf, bool& needsReboot, xsc::Chip& tgtChip,
xsc::Copy& tgtCopy);
void resetRebootCount(xsc::Chip tgtChip, xsc::Copy tgtCopy);
void resetRebootWatchdogCounters(xsc::Chip tgtChip, xsc::Copy tgtCopy);
void setRebootMechanismLock(bool lock, xsc::Chip tgtChip, xsc::Copy tgtCopy);
bool parseRebootWatchdogFile(std::string path, RebootWatchdogFile& file);
bool parseRebootCountersFile(std::string path, RebootCountersFile& file);
void rewriteRebootWatchdogFile(RebootWatchdogFile file);
void rewriteRebootCountersFile(RebootCountersFile file);
void announceBootCounts();
void announceVersionInfo();
void announceCurrentImageInfo();