Support for 2M and 4MB builds

This commit is contained in:
Jason2866 2021-01-12 09:44:18 +01:00 committed by GitHub
parent 71152d37a6
commit e7c96fbb78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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