Added VDD pin identification for AVR8 targets
This commit is contained in:
@@ -263,7 +263,12 @@ void Avr8::loadTargetVariants() {
|
|||||||
targetPin.number = tdPin.position;
|
targetPin.number = tdPin.position;
|
||||||
|
|
||||||
// TODO: REMOVE THIS:
|
// 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;
|
targetPin.type = TargetPinType::VCC;
|
||||||
|
|
||||||
} else if (tdPin.pad.find("gnd") == 0) {
|
} else if (tdPin.pad.find("gnd") == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user