Included a power-up delay, to fix issue with some debug tools (evaluation boards). See comments in https://github.com/navnavnav/Bloom/issues/17 for more
This commit is contained in:
@@ -152,6 +152,12 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
|
||||
|
||||
Logger::debug("Enabling target power");
|
||||
this->targetPowerManagementInterface->enableTargetPower();
|
||||
|
||||
Logger::debug(
|
||||
"Waiting ~" + std::to_string(this->targetConfig->targetPowerCycleDelay.count())
|
||||
+ " ms for target power-up"
|
||||
);
|
||||
std::this_thread::sleep_for(this->targetConfig->targetPowerCycleDelay);
|
||||
}
|
||||
|
||||
} catch (const Exception& exception) {
|
||||
|
||||
Reference in New Issue
Block a user