From 69e5ea226271de7014bec35fa0ec46ae2281c6f7 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 7 May 2023 16:50:37 +0100 Subject: [PATCH] Warn users who are still using the deprecated "avr8" config param value --- src/Targets/Microchip/AVR/AVR8/Avr8.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp index 1d893b60..3ce77f20 100644 --- a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp +++ b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp @@ -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());