From 656e48ca6df3f0563310f704e0494b23e6d9b0d1 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 26 Jun 2021 03:43:41 +0100 Subject: [PATCH] Added VDD pin identification for AVR8 targets --- src/Targets/Microchip/AVR/AVR8/Avr8.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp index 4af4a5bc..005a36f8 100644 --- a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp +++ b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp @@ -263,7 +263,12 @@ void Avr8::loadTargetVariants() { targetPin.number = tdPin.position; // TODO: REMOVE THIS: - if (tdPin.pad.find("vcc") == 0 || tdPin.pad.find("avcc") == 0 || tdPin.pad.find("aref") == 0) { + if (tdPin.pad.find("vcc") == 0 + || tdPin.pad.find("avcc") == 0 + || tdPin.pad.find("aref") == 0 + || tdPin.pad.find("avdd") == 0 + || tdPin.pad.find("vdd") == 0 + ) { targetPin.type = TargetPinType::VCC; } else if (tdPin.pad.find("gnd") == 0) {