mirror of https://github.com/arendst/Tasmota.git
fix compile ESP8266
This commit is contained in:
parent
c74cce1c4e
commit
af798b40e2
|
@ -24,8 +24,9 @@ platform = env.PioPlatform()
|
|||
board = env.BoardConfig()
|
||||
mcu = board.get("build.mcu", "esp32")
|
||||
# Hack for using mklittlefs instead of mkspiffs -> needed since littlefs is not supported with this for ESP32
|
||||
#print("Replace MKSPIFFSTOOL with mklittlefs")
|
||||
env.Replace( MKSPIFFSTOOL=platform.get_package_dir("tool-mklittlefs") + '/mklittlefs' )
|
||||
if env["PIOPLATFORM"] == "espressif32":
|
||||
#print("Replace MKSPIFFSTOOL with mklittlefs")
|
||||
env.Replace( MKSPIFFSTOOL=platform.get_package_dir("tool-mklittlefs") + '/mklittlefs' )
|
||||
|
||||
# needed for later
|
||||
AutodetectUploadPort(env)
|
||||
|
|
Loading…
Reference in New Issue