From 5a16e59528d6218150a9fb9272c83b90a138360e Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 28 Jun 2021 23:52:32 +0100 Subject: [PATCH] Corrected bug in AVR8 TDF validation for targets with PDI support --- .../TargetDescriptionFiles/AVR8/Avr8TargetDescriptionFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'; }