import BProject
import BModulePage
+import bertos_utils
# Add a custom UI_LOCATION constant
BModulePage.UI_LOCATION = "../ui"
app.project = BProject.BProject()
page = BModulePage.BModulePage()
page._projectInfoStore("SOURCES_PATH", "../../")
+ page._projectInfoStore("CPU_INFOS", {"TOOLCHAIN": "avr"})
+ bertos_utils.loadSourceTree(page._project())
page.reloadData()
page.show()
app.exec_()