Skip to content

Commit

Permalink
Add default debug option for ESP32-S2-Kaluga-1 Kit
Browse files Browse the repository at this point in the history
Resolves #1185, resolves #1130
Resolves platformio/platformio-docs#318
  • Loading branch information
valeros committed Sep 6, 2023
1 parent 4af2332 commit a9b9d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ def _add_dynamic_options(self, board):
"tumpa",
]

# A special case for the Kaluga board that has a separate interface config
if board.id == "esp32-s2-kaluga-1":
supported_debug_tools.append("ftdi")

if board.get("build.mcu", "") in ("esp32c3", "esp32c6", "esp32s3"):
supported_debug_tools.append("esp-builtin")

Expand Down

0 comments on commit a9b9d09

Please sign in to comment.