Added additional target variant package types in PHP TDF parser

This commit is contained in:
Nav
2021-07-09 23:39:43 +01:00
parent 2e4810389f
commit 1c1e07eaf8
2 changed files with 8 additions and 0 deletions

View File

@@ -338,9 +338,15 @@ class TargetDescriptionFile
} else if (stristr($pinout->name, Pinout::TYPE_SOIC) !== false) {
$pinout->type = Pinout::TYPE_SOIC;
} else if (stristr($pinout->name, Pinout::TYPE_SSOP) !== false) {
$pinout->type = Pinout::TYPE_SSOP;
} else if (stristr($pinout->name, Pinout::TYPE_QFN) !== false) {
$pinout->type = Pinout::TYPE_QFN;
} else if (stristr($pinout->name, Pinout::TYPE_QFP) !== false) {
$pinout->type = Pinout::TYPE_QFP;
} else if (stristr($pinout->name, Pinout::TYPE_BGA) !== false) {
$pinout->type = Pinout::TYPE_BGA;
}