mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 02:27:13 +02:00
Allow framework without package
This commit is contained in:
@ -460,7 +460,8 @@ class PlatformBase(PlatformPackagesMixin, PlatformRunMixin):
|
|||||||
framework = framework.lower().strip()
|
framework = framework.lower().strip()
|
||||||
if not framework or framework not in self.frameworks:
|
if not framework or framework not in self.frameworks:
|
||||||
continue
|
continue
|
||||||
_pkg_name = self.frameworks[framework]['package']
|
_pkg_name = self.frameworks[framework].get("package")
|
||||||
|
if _pkg_name:
|
||||||
self.packages[_pkg_name]['optional'] = False
|
self.packages[_pkg_name]['optional'] = False
|
||||||
|
|
||||||
# enable upload tools for upload targets
|
# enable upload tools for upload targets
|
||||||
|
Reference in New Issue
Block a user