Added additional check in the TDF validation script to ensure all status registers for AVR8 targets do not exceed one byte in size.

This commit is contained in:
Nav
2021-07-02 01:34:59 +01:00
parent aa6395a002
commit 9d366c822f

View File

@@ -465,6 +465,9 @@ class Avr8TargetDescriptionFile extends TargetDescriptionFile
if (is_null($this->statusRegisterSize)) { if (is_null($this->statusRegisterSize)) {
$failures[] = 'Missing status register size.'; $failures[] = 'Missing status register size.';
} else if ($this->statusRegisterSize > 1) {
$failures[] = 'Status register size exceeds 1';
} }
if (is_null($this->flashSize)) { if (is_null($this->flashSize)) {