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