Update platform.py
This commit is contained in:
@@ -46,11 +46,6 @@ class Espressif32Platform(PlatformBase):
|
||||
if "arduino" in frameworks:
|
||||
self.packages["framework-arduinoespressif32"]["optional"] = False
|
||||
self.packages["framework-arduinoespressif32-libs"]["optional"] = False
|
||||
# use latest espressif Arduino libs
|
||||
URL = "https://raw.githubusercontent.com/espressif/arduino-esp32/release/v3.1.x/package/package_esp32_index.template.json"
|
||||
packjdata = requests.get(URL).json()
|
||||
dyn_lib_url = packjdata['packages'][0]['tools'][0]['systems'][0]['url']
|
||||
self.packages["framework-arduinoespressif32-libs"]["version"] = dyn_lib_url
|
||||
|
||||
if variables.get("custom_sdkconfig") is not None or len(str(board_sdkconfig)) > 3:
|
||||
frameworks.append("espidf")
|
||||
|
||||
Reference in New Issue
Block a user