diff --git a/build/scripts/TargetDescriptionFiles/AVR8/Avr8TargetDescriptionFile.php b/build/scripts/TargetDescriptionFiles/AVR8/Avr8TargetDescriptionFile.php index f9e39243..528b7c9e 100644 --- a/build/scripts/TargetDescriptionFiles/AVR8/Avr8TargetDescriptionFile.php +++ b/build/scripts/TargetDescriptionFiles/AVR8/Avr8TargetDescriptionFile.php @@ -450,7 +450,7 @@ class Avr8TargetDescriptionFile extends TargetDescriptionFile } } - if ($this->debugPhysicalInterface == self::AVR8_PHYSICAL_INTERFACE_PDI) { + if (in_array(self::AVR8_PHYSICAL_INTERFACE_PDI, $this->debugPhysicalInterface)) { if (is_null($this->appSectionPdiOffset)) { $failures[] = 'Missing app section PDI offset.'; }