Skip to content

Commit

Permalink
add Arduino Nano
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Dec 22, 2023
1 parent daba20e commit 2d80dc4
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):
# Use Tasmota mklittlefs v4.0.0 to unpack, older version is incompatible
self.packages["tool-mklittlefs"]["version"] = "~4.0.0"

# Currently only Arduino Nano ESP32 uses the dfuutil tool as uploader
if variables.get("board") == "arduino_nano_esp32":
self.packages["tool-dfuutil-arduino"]["optional"] = False
else:
del self.packages["tool-dfuutil-arduino"]

# Starting from v12, Espressif's toolchains are shipped without
# bundled GDB. Instead, it's distributed as separate packages for Xtensa
# and RISC-V targets.
Expand Down

0 comments on commit 2d80dc4

Please sign in to comment.