Added signature memory segment check to validation script for AVR8 TDFs
This commit is contained in:
@@ -43,6 +43,13 @@ class ValidationService extends \Targets\TargetDescriptionFiles\Services\Validat
|
|||||||
$failures[] = 'Missing IO memory segment';
|
$failures[] = 'Missing IO memory segment';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
$tdf->getMemorySegment('data', 'signatures') === null
|
||||||
|
&& $tdf->getMemorySegment('signatures', 'signatures') === null
|
||||||
|
) {
|
||||||
|
$failures[] = 'Missing signatures memory segment';
|
||||||
|
}
|
||||||
|
|
||||||
if ($tdf->getSignature() === null) {
|
if ($tdf->getSignature() === null) {
|
||||||
$failures[] = "Missing or incomplete AVR signature.";
|
$failures[] = "Missing or incomplete AVR signature.";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user