self.pageContent.descriptionLabel.setText("")
def reloadData(self):
+ bertos_utils.loadSourceTree(self._project())
self._populateCpuList()
cpuName = self._projectInfoRetrieve("CPU_NAME")
self._setupUi()
info["thread"] = thread[0].split("Thread model: ")[1]
return info
+def loadSourceTree(project):
+ fileList = [f for f in os.walk(project.info("SOURCES_PATH"))]
+ project.setInfo("FILE_LIST", fileList)
+
def findDefinitions(ftype, project):
L = project.info("FILE_LIST")
- if L is None:
- L = [f for f in os.walk(project.info("SOURCES_PATH"))]
- project.setInfo("FILE_LIST", L)
definitions = []
for element in L:
for filename in element[2]: