projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a stub of the cpu list populate method
[bertos.git]
/
wizard
/
BCpuPage.py
diff --git
a/wizard/BCpuPage.py
b/wizard/BCpuPage.py
index 8547f42a23e0a5bb25c5f2dbf6130ed72916bf53..97479027a1bbb6af62ce720f865c9d3c580fcbfb 100644
(file)
--- a/
wizard/BCpuPage.py
+++ b/
wizard/BCpuPage.py
@@
-9,11
+9,19
@@
# Author: Lorenzo Berni <duplo@develer.com>
#
# Author: Lorenzo Berni <duplo@develer.com>
#
+
from BWizardPage import *
from BWizardPage import *
+import bertos_utils
class BCpuPage(BWizardPage):
def __init__(self):
BWizardPage.__init__(self, "cpu_select.ui")
self.setTitle(self.tr("Select the CPU"))
class BCpuPage(BWizardPage):
def __init__(self):
BWizardPage.__init__(self, "cpu_select.ui")
self.setTitle(self.tr("Select the CPU"))
+ #self._populateCpuList()
+
+ def _populateCpuList(self):
+ cpus = bertos_utils.findDefinitions("cdef", self._projectInfoRetrieve("SOURCES_PATH"))
+ for cpu in cpus.keys():
+ self.pageContent.cpuList.addItem(QListWidgetItem(cpu))
\ No newline at end of file
\ No newline at end of file