Add 4M board variants

This commit is contained in:
Jason2866 2021-06-18 10:32:58 +02:00 committed by GitHub
parent 6092640163
commit 145ab0ee11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -62,12 +62,10 @@ build_flags = ${core.build_flags}
; Build variant 4MB = 1MB firmware, 1MB OTA, 2MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW)
;board = esp8266_4M2M
; *** Upload Serial reset method for Wemos and NodeMCU
; *** Serial port used for erasing/flashing the ESP82xx
upload_port = COM5
extra_scripts = ${scripts_defaults.extra_scripts}
; pio-tools/obj-dump.py
lib_extra_dirs = ${library.lib_extra_dirs}
@ -75,7 +73,17 @@ lib_extra_dirs = ${library.lib_extra_dirs}
platform_packages = ${core32.platform_packages}
build_unflags = ${core32.build_unflags}
build_flags = ${core32.build_flags}
; Build variant ESP32 4M Flash, Tasmota 1856k Code/OTA, 320k LITTLEFS (default)
;board = esp32_4M
; Build variant ESP32 8M Flash, Tasmota 2944k Code/OTA, 2112k LITTLEFS
;board = esp32_8M
; Build variant ESP32 16M Flash, Tasmota 2944k Code/OTA, 10M LITTLEFS
;board = esp32_16M
; *** Serial port used for erasing/flashing the ESP32
upload_port = COM4
lib_extra_dirs = ${library.lib_extra_dirs}
; *** ESP32 lib. ALWAYS needed for ESP32 !!!
lib/libesp32