File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3535MKLITTLEFS_VERSION_400 = "4.0.0"
3636DEFAULT_DEBUG_SPEED = "5000"
3737DEFAULT_APP_OFFSET = "0x10000"
38+ ARDUINO_ESP32_PACKAGE_URL = "https://raw.githubusercontent.com/espressif/arduino-esp32/master/package/package_esp32_index.template.json"
3839
3940# MCUs that support ESP-builtin debug
4041ESP_BUILTIN_DEBUG_MCUS = frozenset ([
@@ -310,11 +311,8 @@ def _configure_arduino_framework(self, frameworks: List[str]) -> None:
310311 self .packages ["framework-arduinoespressif32-libs" ]["optional" ] = False
311312
312313 if is_internet_available ():
313- # Use branch master
314- url = ("https://raw.githubusercontent.com/espressif/arduino-esp32/"
315- "master/package/package_esp32_index.template.json" )
316314 try :
317- response = requests .get (url , timeout = 30 )
315+ response = requests .get (ARDUINO_ESP32_PACKAGE_URL , timeout = 30 )
318316 response .raise_for_status ()
319317 packjdata = response .json ()
320318 dyn_lib_url = packjdata ['packages' ][0 ]['tools' ][0 ]['systems' ][0 ]['url' ]
You can’t perform that action at this time.
0 commit comments