From d9ae5d453c06c000eb9bd93e952469243072421e Mon Sep 17 00:00:00 2001
From: Joachim Krech <8290187+jkrech@users.noreply.github.com>
Date: Thu, 2 Apr 2026 12:12:04 +0200
Subject: [PATCH] Add LGA and NPU feature entries to device table
fix https://github.com/Open-CMSIS-Pack/devtools/issues/2363
and https://github.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/issues/388
---
tools/packchk/src/ValidateSyntax.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/packchk/src/ValidateSyntax.cpp b/tools/packchk/src/ValidateSyntax.cpp
index 6f7b75efd..adc8fdb03 100644
--- a/tools/packchk/src/ValidateSyntax.cpp
+++ b/tools/packchk/src/ValidateSyntax.cpp
@@ -641,6 +641,7 @@ void ValidateSyntax::InitFeatures()
m_featureTableDevice["SON"] = FeatureEntry("SON", "", "16-no-lead SSON Package");
m_featureTableDevice["SOP"] = FeatureEntry("SOP", "", "16-lead SSOP Package");
m_featureTableDevice["DIP"] = FeatureEntry("DIP", "", "16-lead Dual In-Line Package");
+ m_featureTableDevice["LGA"] = FeatureEntry("LGA", "", "141-lead LGA Package");
m_featureTableDevice["PackageOther"] = FeatureEntry("Other Package Type", "", "44-contacts My other Package");
m_featureTableDevice["IOs"] = FeatureEntry("Inputs/Outputs", "", "112 General Purpose I/Os, 5V tolerant");
m_featureTableDevice["ExtInt"] = FeatureEntry("External Interrupts", "", "12 External Interrupts");
@@ -687,6 +688,7 @@ void ValidateSyntax::InitFeatures()
m_featureTableDevice["LTE Cat-M"] = FeatureEntry("LTE Cat-M", "", "LTE Cat-M");
m_featureTableDevice["NB-IoT"] = FeatureEntry("NB-IoT", "", "NB-IoT");
m_featureTableDevice["NFC"] = FeatureEntry("NFC", "", "NFC");
+ m_featureTableDevice["NPU"] = FeatureEntry("NPU", "", "NPU");
m_featureTableDevice["WirelessOther"] = FeatureEntry("WirelessOther", "", "WirelessOther");
m_featureTableDevice["I/O"] = FeatureEntry("I/O", "", "I/O");
m_featureTableDevice["D/A"] = FeatureEntry("D/A", "", "D/A");