forked from platformio/platformio-core
Improved handling of library dependencies specified in `library.json` manifest // Resolve #814
This commit is contained in:
1 parent
2ec0bbb023
commit
c2bf38f873
8 files changed
+68
-47
No files matched your search
@@ -441,7 +441,10 @@ class PlatformBase(PlatformPackagesMixin, PlatformRunMixin):
|
||||
|
||||
def configure_default_packages(self, variables, targets):
|
||||
# enable used frameworks
|
||||
for framework in variables.get("pioframework", "").split(","):
|
||||
frameworks = variables.get("pioframework", [])
|
||||
if not isinstance(frameworks, list):
|
||||
frameworks = frameworks.split(", ")
|
||||
for framework in frameworks:
|
||||
if not self.frameworks:
|
||||
continue
|
||||
framework = framework.lower().strip()
|
||||
|
||||
Reference in new issue
Block a user