Parse the filename for find the cpu name
[bertos.git] / wizard / BCpuPage.py
index 3a526f9ca16bfa22c6430cbff81a617350c8a4db..501a5a209d91415df83a4ec524373bc1fbb8e902 100644 (file)
@@ -22,7 +22,7 @@ class BCpuPage(BWizardPage):
     def _populateCpuList(self):
         infos = bertos_utils.loadCpuInfos(self._projectInfoRetrieve("SOURCES_PATH"))
         for cpu in infos:
-            self.pageContent.cpuList.addItem(QListWidgetItem(cpu["CORE_CPU"]))
+            self.pageContent.cpuList.addItem(QListWidgetItem(cpu["CPU_NAME"]))
     
     def reloadData(self):
         self._populateCpuList()