Warn users who are still using the deprecated "avr8" config param value

This commit is contained in:
Nav
2023-05-07 16:50:37 +01:00
parent ce3d58c7a4
commit 69e5ea2262

View File

@@ -31,6 +31,10 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
// Extract AVR8 specific target config
this->targetConfig = Avr8TargetConfig(targetConfig);
if (this->targetConfig->name == "avr8") {
Logger::warning("The \"avr8\" target name will be deprecated in a later version.");
}
if (this->family.has_value()) {
this->avr8DebugInterface->setFamily(this->family.value());