diff --git a/build/scripts/TargetDescriptionFiles/Pinout.php b/build/scripts/TargetDescriptionFiles/Pinout.php index 9e09397e..0d9d5372 100644 --- a/build/scripts/TargetDescriptionFiles/Pinout.php +++ b/build/scripts/TargetDescriptionFiles/Pinout.php @@ -6,8 +6,10 @@ require_once __DIR__ . "/Pin.php"; class Pinout { const TYPE_SOIC = 'SOIC'; + const TYPE_SSOP = 'SSOP'; const TYPE_DIP = 'DIP'; const TYPE_QFN = 'QFN'; + const TYPE_QFP = 'QFP'; const TYPE_BGA = 'BGA'; public ?string $name = null; diff --git a/build/scripts/TargetDescriptionFiles/TargetDescriptionFile.php b/build/scripts/TargetDescriptionFiles/TargetDescriptionFile.php index 6caa14c0..4c952e46 100644 --- a/build/scripts/TargetDescriptionFiles/TargetDescriptionFile.php +++ b/build/scripts/TargetDescriptionFiles/TargetDescriptionFile.php @@ -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; }