File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -96,16 +96,16 @@ def install_tool(TOOL):
96
96
if "arduino" in frameworks :
97
97
self .packages ["framework-arduinoespressif32" ]["optional" ] = False
98
98
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
103
103
# 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' ]
107
107
# 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"
109
109
self .packages ["framework-arduinoespressif32-libs" ]["version" ] = dyn_lib_url
110
110
111
111
if variables .get ("custom_sdkconfig" ) is not None or len (str (board_sdkconfig )) > 3 :
You can’t perform that action at this time.
0 commit comments