Support for a number of AVRDU/EA/EB targets
This commit is contained in:
@@ -328,9 +328,17 @@ class AtdfService
|
||||
return AvrFamily::DD;
|
||||
}
|
||||
|
||||
if ($atdfFamilyName === 'avr du' || substr($atdfTargetName, 5, 2) === 'du') {
|
||||
return AvrFamily::DU;
|
||||
}
|
||||
|
||||
if ($atdfFamilyName === 'avr ea' || substr($atdfTargetName, 5, 2) === 'ea') {
|
||||
return AvrFamily::EA;
|
||||
}
|
||||
|
||||
if ($atdfFamilyName === 'avr eb' || substr($atdfTargetName, 5, 2) === 'eb') {
|
||||
return AvrFamily::EB;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
@@ -1059,7 +1067,7 @@ class AtdfService
|
||||
|
||||
return new Variant(
|
||||
str_replace(
|
||||
'-',
|
||||
['-', '/'],
|
||||
'_',
|
||||
strtolower($attributes['ordercode'] ?? $attributes['name'] ?? '')
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user