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.
1 parent c5a721c commit 0b64c9cCopy full SHA for 0b64c9c
tools/config/__init__.py
@@ -1311,8 +1311,17 @@ def load_resources(self, resources):
1311
for name, missing in missing_requirements.items()
1312
)
1313
raise ConfigException(message)
1314
-
1315
+ all_json_paths = [
+ cfg["__config_path"] for cfg in self.lib_config_data.values()
1316
+ ]
1317
+ included_json_files = [
1318
+ ref for ref in resources.get_file_refs(FileType.JSON)
1319
+ if (
1320
+ not ref.name.endswith(self.__mbed_lib_config_name)
1321
+ or ref.path in all_json_paths
1322
+ )
1323
1324
+ resources.filter_by_libraries(included_json_files)
1325
if (hasattr(self.target, "release_versions") and
1326
"5" not in self.target.release_versions and
1327
"rtos" in self.lib_config_data):
0 commit comments