mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 07:17:16 +00:00
Override via [env]
This commit is contained in:
parent
f45ed9a213
commit
fccd894e8d
@ -42,31 +42,53 @@ default_envs =
|
||||
; tasmota32-core2
|
||||
|
||||
|
||||
[common]
|
||||
platform_packages = ${core.platform_packages}
|
||||
build_unflags = ${core.build_unflags}
|
||||
build_flags = ${core.build_flags}
|
||||
; *** Optional Debug messages
|
||||
; -DDEBUG_TASMOTA_CORE
|
||||
; -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
|
||||
;
|
||||
[env]
|
||||
framework = ${common.framework}
|
||||
platform = ${common.platform}
|
||||
platform_packages = ${common.platform_packages}
|
||||
; Build variant 1MB = 1MB firmware no filesystem (default)
|
||||
;board = esp8266_1M
|
||||
board = ${common.board}
|
||||
; Build variant 2MB = 1MB firmware, 1MB filesystem (most Shelly devices)
|
||||
;board = esp8266_2M1M
|
||||
;board = esp8266_2M1M
|
||||
; Build variant 4MB = 1MB firmware, 1MB OTA, 2MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW)
|
||||
;board = esp8266_4M2M
|
||||
|
||||
;board = esp8266_4M2M
|
||||
;board_build.f_cpu = 160000000L
|
||||
;board_build.f_flash = 40000000L
|
||||
board_build.filesystem = ${common.board_build.filesystem}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags}
|
||||
; *** Optional Debug messages
|
||||
; -DDEBUG_TASMOTA_CORE
|
||||
; -DDEBUG_TASMOTA_DRIVER
|
||||
; -DDEBUG_TASMOTA_SENSOR
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
; *** 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}
|
||||
upload_port = ${common.upload_port}
|
||||
;upload_port = COM5
|
||||
upload_resetmethod = ${common.upload_resetmethod}
|
||||
extra_scripts = ${scripts_defaults.extra_scripts}
|
||||
; pio-tools/obj-dump.py
|
||||
lib_ldf_mode = ${common.lib_ldf_mode}
|
||||
lib_compat_mode = ${common.lib_compat_mode}
|
||||
lib_ignore =
|
||||
Servo(esp8266)
|
||||
ESP8266AVRISP
|
||||
ESP8266LLMNR
|
||||
ESP8266NetBIOS
|
||||
ESP8266SSDP
|
||||
SP8266WiFiMesh
|
||||
Ethernet(esp8266)
|
||||
GDBStub
|
||||
TFT_Touch_Shield_V2
|
||||
ESP8266HTTPUpdateServer
|
||||
ESP8266WiFiMesh
|
||||
EspSoftwareSerial
|
||||
SPISlave
|
||||
Hash
|
||||
; Disable next if you want to use ArduinoOTA in Tasmota (default disabled)
|
||||
ArduinoOTA
|
||||
lib_extra_dirs = ${library.lib_extra_dirs}
|
||||
|
||||
|
||||
[env:tasmota32_base]
|
||||
framework = ${common.framework}
|
||||
@ -78,14 +100,14 @@ board = ${common32.board}
|
||||
;board = esp32_8M
|
||||
; Build variant ESP32 16M Flash, Tasmota 2944k Code/OTA, 10M LITTLEFS
|
||||
;board = esp32_16M
|
||||
;board_build.f_cpu = 240000000L
|
||||
;board_build.f_flash = 40000000L
|
||||
monitor_speed = ${common32.monitor_speed}
|
||||
upload_resetmethod = ${common32.upload_resetmethod}
|
||||
; *** Serial port used for erasing/flashing the ESP32
|
||||
;upload_port = ${common32.upload_port}
|
||||
upload_port = COM4
|
||||
upload_port = ${common32.upload_port}
|
||||
;upload_port = COM4
|
||||
; upload_speed = 115200
|
||||
board_build.f_cpu = 240000000L
|
||||
board_build.f_flash = 40000000L
|
||||
extra_scripts = ${common32.extra_scripts}
|
||||
build_unflags = ${common32.build_unflags}
|
||||
build_flags = ${common32.build_flags}
|
||||
|
Loading…
x
Reference in New Issue
Block a user