Skip to content

Commit

Permalink
Update platform.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Dec 22, 2023
1 parent 912241b commit be8f3fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ def configure_default_packages(self, variables, targets):
else:
del self.packages["tool-dfuutil-arduino"]

if "downloadfs" in targets:
filesystem = variables.get("board_build.filesystem", "littlefs")
if filesystem == "littlefs":
# Use Tasmota mklittlefs v4.0.0 to unpack, older version is incompatible
self.packages["tool-mklittlefs"]["version"] = "~4.0.0"

if "espidf" in frameworks:
# Common packages for IDF and mixed Arduino+IDF projects
self.packages["toolchain-esp32ulp"]["optional"] = False
Expand Down

0 comments on commit be8f3fb

Please sign in to comment.