Skip to content

Commit

Permalink
Change "python" to "python3" (#6448)
Browse files Browse the repository at this point in the history
First aid for ESP32 builds not passing in Arduino IDE on macOS Monterey 12.3 that obsolete "python2.7".
  • Loading branch information
tomorrow56 committed Mar 28, 2022
1 parent 6014ff4 commit c25feca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ tools.esptool_py.cmd=esptool
tools.esptool_py.cmd.linux=esptool.py
tools.esptool_py.cmd.windows=esptool.exe

tools.esptool_py.network_cmd=python "{runtime.platform.path}/tools/espota.py" -r
tools.esptool_py.network_cmd=python3 "{runtime.platform.path}/tools/espota.py" -r
tools.esptool_py.network_cmd.windows="{runtime.platform.path}/tools/espota.exe" -r

tools.gen_esp32part.cmd=python "{runtime.platform.path}/tools/gen_esp32part.py"
tools.gen_esp32part.cmd=python3 "{runtime.platform.path}/tools/gen_esp32part.py"
tools.gen_esp32part.cmd.windows="{runtime.platform.path}/tools/gen_esp32part.exe"

compiler.path={runtime.tools.{build.tarch}-{build.target}-elf-gcc.path}/bin/
Expand Down

2 comments on commit c25feca

@blurfl
Copy link

@blurfl blurfl commented on c25feca Apr 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't the same changes be needed on lines 159 and 177 for handling OTA? I'm not in a position to test that.

@me-no-dev
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't the same changes be needed on lines 159 and 177 for handling OTA? I'm not in a position to test that.

already changed in master

Please sign in to comment.