diff --git a/build_platform.py b/build_platform.py index b5a7c2f..c91aa6c 100644 --- a/build_platform.py +++ b/build_platform.py @@ -62,7 +62,7 @@ ALL_PLATFORMS={ # Espressif "esp8266" : ["esp8266:esp8266:huzzah:eesz=4M3M,xtal=80", None], "esp32" : ["esp32:esp32:featheresp32:FlashFreq=80", None], - "feather_esp32_v2" : ["manual:esp32:adafruit_feather_esp32_v2", None], + "feather_esp32_v2" : ["espressif:esp32:adafruit_feather_esp32_v2", None], "magtag" : ["esp32:esp32:adafruit_magtag29_esp32s2", "0xbfdd4eee"], "funhouse" : ["esp32:esp32:adafruit_funhouse_esp32s2", "0xbfdd4eee"], "metroesp32s2" : ["esp32:esp32:adafruit_metro_esp32s2", "0xbfdd4eee"], @@ -219,7 +219,7 @@ def install_platform(platform): print("Installing", platform, end=" ") if platform == "adafruit:avr": # we have a platform dep install_platform("arduino:avr") - if platform == "manual:esp32": + if platform == "espressif:esp32": # use "espressif:" prefix in arduino-cli rather than "esp32:" to manually install for a platform manually_install_esp32_bsp() elif os.system("arduino-cli core install "+platform+" --additional-urls "+BSP_URLS+" > /dev/null") != 0: ColorPrint.print_fail("FAILED to install "+platform)