New targetPowerCycleDelay target config param, for configuring the AVR8 target power cycle delay (after updating the DWEN fuse bit)
This commit is contained in:
@@ -38,5 +38,11 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
|
||||
"disableDebugWirePreDisconnect"
|
||||
).toBool();
|
||||
}
|
||||
|
||||
if (targetConfig.jsonObject.contains("targetPowerCycleDelay")) {
|
||||
this->targetPowerCycleDelay = std::chrono::milliseconds(targetConfig.jsonObject.value(
|
||||
"targetPowerCycleDelay"
|
||||
).toInt(static_cast<int>(this->targetPowerCycleDelay.count())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user