projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stm32-p103: add the "kernel" preset template.
[bertos.git]
/
wizard
/
BRoutePage.py
diff --git
a/wizard/BRoutePage.py
b/wizard/BRoutePage.py
index d8e6d3707e38512d7ce7ffb6562e1766b3c74edd..2646cab23869e584d38a2a3ee34ba7eb5e73c8d9 100644
(file)
--- a/
wizard/BRoutePage.py
+++ b/
wizard/BRoutePage.py
@@
-62,7
+62,6
@@
class BRoutePage(BWizardPage):
"""
Overload of the QWizardPage isComplete method.
"""
"""
Overload of the QWizardPage isComplete method.
"""
- self.setProjectInfo("EMPTY_MAIN", self.empty_main)
self.setProjectInfo("BASE_MODE", not self.advanced)
return True
self.setProjectInfo("BASE_MODE", not self.advanced)
return True
@@
-82,6
+81,10
@@
class BRoutePage(BWizardPage):
tm = ToolchainManager()
suitable_toolchains = tm.suitableToolchains(target)
if len(suitable_toolchains) == 1:
tm = ToolchainManager()
suitable_toolchains = tm.suitableToolchains(target)
if len(suitable_toolchains) == 1:
+ toolchain = suitable_toolchains.pop()
+ toolchain_info = tm._validateToolchain(toolchain)
+ toolchain_info["path"] = toolchain
+ self.setProjectInfo("TOOLCHAIN", toolchain_info)
return self.wizard().pageIndex(BOutputPage)
else:
return self.wizard().pageIndex(BToolchainPage)
return self.wizard().pageIndex(BOutputPage)
else:
return self.wizard().pageIndex(BToolchainPage)
@@
-107,7
+110,6
@@
class BRoutePage(BWizardPage):
"""
Overload of the BWizardPage connectSignals method.
"""
"""
Overload of the BWizardPage connectSignals method.
"""
- self.connect(self.pageContent.emptyCheckBox, SIGNAL("stateChanged(int)"), self, SIGNAL("completeChanged()"))
self.connect(self.pageContent.baseButton, SIGNAL("toggled(bool)"), self, SIGNAL("completeChanged()"))
def reloadData(self):
self.connect(self.pageContent.baseButton, SIGNAL("toggled(bool)"), self, SIGNAL("completeChanged()"))
def reloadData(self):