From c25feca639fb2936786ec0cb521e14fff5eb5113 Mon Sep 17 00:00:00 2001 From: ThousanDIY Date: Mon, 28 Mar 2022 17:42:14 +0900 Subject: [PATCH] Change "python" to "python3" (#6448) First aid for ESP32 builds not passing in Arduino IDE on macOS Monterey 12.3 that obsolete "python2.7". --- platform.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform.txt b/platform.txt index 00a7b186..f158abe4 100644 --- a/platform.txt +++ b/platform.txt @@ -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/