Tidying
This commit is contained in:
@@ -36,6 +36,13 @@ class ValidationService extends \Targets\TargetDescriptionFiles\Services\Validat
|
|||||||
$failures[] = 'Missing "internal_eeprom" memory segment';
|
$failures[] = 'Missing "internal_eeprom" memory segment';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (
|
||||||
|
$tdf->getMemorySegment('data', 'gp_registers') === null
|
||||||
|
&& $tdf->getMemorySegment('register_file', 'gp_registers') === null
|
||||||
|
) {
|
||||||
|
$failures[] = 'Missing "gp_registers" memory segment';
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
$tdf->getMemorySegment('data', 'io') === null
|
$tdf->getMemorySegment('data', 'io') === null
|
||||||
&& $tdf->getMemorySegment('data', 'mapped_io') === null
|
&& $tdf->getMemorySegment('data', 'mapped_io') === null
|
||||||
@@ -57,13 +64,6 @@ class ValidationService extends \Targets\TargetDescriptionFiles\Services\Validat
|
|||||||
$failures[] = 'Missing "fuses" memory segment';
|
$failures[] = 'Missing "fuses" memory segment';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
|
||||||
$tdf->getMemorySegment('data', 'gp_registers') === null
|
|
||||||
&& $tdf->getMemorySegment('register_file', 'gp_registers') === null
|
|
||||||
) {
|
|
||||||
$failures[] = 'Missing "gp_registers" 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