WIP: Start impl auto switch feature #811

Closed
muellerr wants to merge 11 commits from auto-switch-image-feature into main
Showing only changes of commit 674202c6fb - Show all commits

View File

@ -92,6 +92,8 @@ void obsw::autoSwitchHandling() {
sif::debug << "Detected ASWI=" << autoSwitchTarget
<< "in ProASIC scratch buffer, auto-switching to image " << int(chip) << " "
<< int(copy) << std::endl;
// A bit of delay to ensure printout works..
TaskFactory::delayTask(500);
scratch::clearValue(scratch::AUTO_SWITCH_IMAGE);
xsc_boot_copy(chip, copy);
};