We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 500b549 + 9aa3b58 commit 3dcc7a6Copy full SHA for 3dcc7a6
tools/eclipse.py
@@ -336,6 +336,11 @@ def GenExcluding(env, project):
336
coll_dirs = CollectPaths(project['DIRS'])
337
all_paths = [OSPath(path) for path in coll_dirs]
338
339
+ # remove unused path
340
+ for path in all_paths:
341
+ if not path.startswith(rtt_root) and not path.startswith(bsp_root):
342
+ all_paths.remove(path)
343
+
344
if bsp_root.startswith(rtt_root):
345
# bsp folder is in the RT-Thread root folder, such as the RT-Thread source code on GitHub
346
exclude_paths = ExcludePaths(rtt_root, all_paths)
0 commit comments