Skip to content

Commit d56752b

Browse files
committed
Skip installing "tool-mbctool" by default when upload target is invoked
It's requried since PlatformIO automatically installs uploaders
1 parent d5d759e commit d56752b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

platform.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"version": "~1.20600.0"
7979
},
8080
"tool-mbctool": {
81-
"type": "uploader",
8281
"optional": true,
8382
"version": ">=2.0.0"
8483
},

platform.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def configure_default_packages(self, variables, targets):
4141
if build_core == "mbcwb":
4242
self.packages['framework-arduinoespressif32']['optional'] = True
4343
self.packages['framework-arduino-mbcwb']['optional'] = False
44+
self.packages['tool-mbctool']['type'] = "uploader"
4445
self.packages['tool-mbctool']['optional'] = False
4546

4647
return PlatformBase.configure_default_packages(self, variables,

0 commit comments

Comments
 (0)