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:
@@ -465,6 +465,9 @@ class Avr8TargetDescriptionFile extends TargetDescriptionFile
|
||||
|
||||
if (is_null($this->statusRegisterSize)) {
|
||||
$failures[] = 'Missing status register size.';
|
||||
|
||||
} else if ($this->statusRegisterSize > 1) {
|
||||
$failures[] = 'Status register size exceeds 1';
|
||||
}
|
||||
|
||||
if (is_null($this->flashSize)) {
|
||||
|
||||
Reference in New Issue
Block a user