Skip to content

Commit ebd454b

Browse files
authored
brach arduino/releasev3.3.x
1 parent 3b02eda commit ebd454b

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
@@ -115,16 +115,16 @@ def configure_default_packages(self, variables, targets):
115115
if "arduino" in frameworks:
116116
self.packages["framework-arduinoespressif32"]["optional"] = False
117117
self.packages["framework-arduinoespressif32-libs"]["optional"] = False
118-
try:
119-
self.packages["framework-arduinoespressif32"]["version"] = "https://github.com/espressif/arduino-esp32/archive/refs/heads/idf-master.zip"
120-
except:
121-
pass
118+
#try:
119+
#self.packages["framework-arduinoespressif32"]["version"] = "https://github.com/espressif/arduino-esp32/archive/refs/heads/idf-master.zip"
120+
#except:
121+
#pass
122122
# use matching espressif Arduino libs
123-
#URL = "https://raw.githubusercontent.com/espressif/arduino-esp32/release/v3.3.x/package/package_esp32_index.template.json"
124-
#packjdata = requests.get(URL).json()
125-
#dyn_lib_url = packjdata['packages'][0]['tools'][0]['systems'][0]['url']
123+
URL = "https://raw.githubusercontent.com/espressif/arduino-esp32/release/v3.3.x/package/package_esp32_index.template.json"
124+
packjdata = requests.get(URL).json()
125+
dyn_lib_url = packjdata['packages'][0]['tools'][0]['systems'][0]['url']
126126
# use newer libs as linked in package_esp32_index.template.json is too old
127-
dyn_lib_url = "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-465b159c-v1.zip"
127+
#dyn_lib_url = "https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-master/esp32-arduino-libs-idf-master-465b159c-v1.zip"
128128
self.packages["framework-arduinoespressif32-libs"]["version"] = dyn_lib_url
129129

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

0 commit comments

Comments
 (0)