NOTE: this has to be tested with suitable toolchains installed. In my case the only toolchain found is for i386 target.
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3572
38d2e660-2303-0410-9eaa-
f027e97ec537
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)