Merge pull request #10528 from Jason2866/patch-3

Support for 2M and 4MB builds
This commit is contained in:
Theo Arends 2021-01-12 11:40:39 +01:00 committed by GitHub
commit b0f25eb007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -48,6 +48,19 @@ 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
; Build variant 4MB = 1MB firmware, 1MB OTA, 2MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW)
;board_build.ldscript = eagle.flash.4m2m.ld
; set CPU frequency to 80MHz (default) or 160MHz
;board_build.f_cpu = 160000000L