Skip to content

Commit b119edf

Browse files
authored
Use branch Arduino release/v3.3.x
since it is actual now
1 parent f03a984 commit b119edf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

platform.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@ def install_tool(TOOL):
9696
if "arduino" in frameworks:
9797
self.packages["framework-arduinoespressif32"]["optional"] = False
9898
self.packages["framework-arduinoespressif32-libs"]["optional"] = False
99-
try:
100-
self.packages["framework-arduinoespressif32"]["version"] = "https://github.com/espressif/arduino-esp32/archive/refs/heads/idf-master.zip"
101-
except:
102-
pass
99+
#try:
100+
#self.packages["framework-arduinoespressif32"]["version"] = "https://github.com/espressif/arduino-esp32/archive/refs/heads/idf-master.zip"
101+
#except:
102+
#pass
103103
# use matching espressif Arduino libs
104-
#URL = "https://raw.githubusercontent.com/espressif/arduino-esp32/release/v3.3.x/package/package_esp32_index.template.json"
105-
#packjdata = requests.get(URL).json()
106-
#dyn_lib_url = packjdata['packages'][0]['tools'][0]['systems'][0]['url']
104+
URL = "https://raw.githubusercontent.com/espressif/arduino-esp32/release/v3.3.x/package/package_esp32_index.template.json"
105+
packjdata = requests.get(URL).json()
106+
dyn_lib_url = packjdata['packages'][0]['tools'][0]['systems'][0]['url']
107107
# use newer libs as linked in package_esp32_index.template.json is too old
108-
dyn_lib_url = "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-465b159c-v1.zip"
108+
#dyn_lib_url = "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-465b159c-v1.zip"
109109
self.packages["framework-arduinoespressif32-libs"]["version"] = dyn_lib_url
110110

111111
if variables.get("custom_sdkconfig") is not None or len(str(board_sdkconfig)) > 3:

0 commit comments

Comments
 (0)