From e7c96fbb7897ffd8b11d7213e8793eabef91b0e5 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 12 Jan 2021 09:44:18 +0100 Subject: [PATCH] Support for 2M and 4MB builds --- platformio_override_sample.ini | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 3d624c30f..3d95545ad 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -48,6 +48,17 @@ build_flags = ${core.build_flags} ; -DDEBUG_TASMOTA_DRIVER ; -DDEBUG_TASMOTA_SENSOR +; *** CAUTION *** This setting is ONLY possible since 12.01.2021 with development version !!! +; *** Enable only if you exactly know what are you doing +; *** If you try with earlier builds a serial erase and flash is probably needed +; +; Build variant 1MB = 1MB firmware no filesystem (default) +;board_build.ldscript = eagle.flash.1m.ld +; Build variant 2MB = 1MB firmware, 1MB filesystem (ZigbeeBridge, most Shelly devices) +;board_build.ldscript = eagle.flash.2m1m.ld +; Build variant 4MB = 1MB firmware, 3MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW) +;board_build.ldscript = eagle.flash.4m3m.ld + ; set CPU frequency to 80MHz (default) or 160MHz ;board_build.f_cpu = 160000000L