mirror of https://github.com/arendst/Tasmota.git
Use `dio` when no flash mode is set
This commit is contained in:
parent
91875f20a5
commit
6e7f559f07
|
@ -135,7 +135,7 @@ def esp32_create_combined_bin(source, target, env):
|
|||
flash_freq = env.BoardConfig().get("build.f_flash", "40000000L")
|
||||
flash_freq = str(flash_freq).replace("L", "")
|
||||
flash_freq = str(int(int(flash_freq) / 1000000)) + "m"
|
||||
flash_mode = env.BoardConfig().get("build.flash_mode", "dout")
|
||||
flash_mode = env.BoardConfig().get("build.flash_mode", "dio")
|
||||
if flash_mode == "qio":
|
||||
flash_mode = "dio"
|
||||
elif flash_mode == "qout":
|
||||
|
|
Loading…
Reference in New Issue