Merge pull request #12442 from Jason2866/fix_override

Refactor Platformio and fix override use
This commit is contained in:
Theo Arends 2021-06-22 20:14:07 +02:00 committed by GitHub
commit e102d4e66c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 215 additions and 238 deletions

View File

@ -25,15 +25,14 @@ extra_configs = platformio_tasmota32.ini
platformio_override.ini platformio_override.ini
[common] [common]
framework = arduino
board_build.filesystem = littlefs
custom_unpack_dir = unpacked_littlefs
board = esp8266_1M
platform = ${core.platform} platform = ${core.platform}
platform_packages = ${core.platform_packages} platform_packages = ${core.platform_packages}
framework = arduino
board = esp8266_1M
board_build.filesystem = littlefs
custom_unpack_dir = unpacked_littlefs
build_unflags = ${core.build_unflags} build_unflags = ${core.build_unflags}
build_flags = ${core.build_flags} build_flags = ${core.build_flags}
monitor_speed = 115200 monitor_speed = 115200
monitor_port = COM5 monitor_port = COM5
; *** Upload Serial reset method for Wemos and NodeMCU ; *** Upload Serial reset method for Wemos and NodeMCU

View File

@ -11,33 +11,33 @@
[platformio] [platformio]
; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run ; For best Gitpod performance remove the ";" in the next line. Needed Platformio files are cached and installed at first run
;core_dir = .platformio ;core_dir = .platformio
extra_configs = platformio_tasmota_cenv.ini extra_configs = platformio_tasmota_cenv.ini
; *** Build/upload environment ; *** Build/upload environment
default_envs = default_envs =
; *** Uncomment the line(s) below to select version(s) ; *** Uncomment the line(s) below to select version(s)
tasmota tasmota
; tasmota-debug ; tasmota-debug
; tasmota-minimal ; tasmota-minimal
; tasmota-lite ; tasmota-lite
; tasmota-knx ; tasmota-knx
; tasmota-sensors ; tasmota-sensors
; tasmota-display ; tasmota-display
; tasmota-zbbridge ; tasmota-zbbridge
; tasmota-ir ; tasmota-ir
; tasmota32 ; tasmota32
; tasmota32-bluetooth ; tasmota32-bluetooth
; tasmota32-webcam ; tasmota32-webcam
; tasmota32-knx ; tasmota32-knx
; tasmota32-sensors ; tasmota32-sensors
; tasmota32-display ; tasmota32-display
; tasmota32-ir ; tasmota32-ir
; tasmota32-ircustom ; tasmota32-ircustom
; tasmota32solo1 ; tasmota32solo1
; tasmota32c3 ; tasmota32c3
; tasmota32s2 ; tasmota32s2
; tasmota32-odroidgo ; tasmota32-odroidgo
; tasmota32-core2 ; tasmota32-core2
[env] [env]
@ -61,97 +61,98 @@ build_flags = ${common.build_flags}
; -DDEBUG_TASMOTA_SENSOR ; -DDEBUG_TASMOTA_SENSOR
monitor_speed = ${common.monitor_speed} monitor_speed = ${common.monitor_speed}
; *** Serial port used for erasing/flashing the ESP82xx ; *** Serial port used for erasing/flashing the ESP82xx
upload_port = ${common.upload_port} ;upload_port = ${common.upload_port}
;upload_port = COM5 upload_port = COM5
upload_resetmethod = ${common.upload_resetmethod} upload_resetmethod = ${common.upload_resetmethod}
extra_scripts = ${scripts_defaults.extra_scripts} extra_scripts = ${scripts_defaults.extra_scripts}
; pio-tools/obj-dump.py ; pio-tools/obj-dump.py
lib_ldf_mode = ${common.lib_ldf_mode} lib_ldf_mode = ${common.lib_ldf_mode}
lib_compat_mode = ${common.lib_compat_mode} lib_compat_mode = ${common.lib_compat_mode}
lib_ignore = lib_ignore =
Servo(esp8266) Servo(esp8266)
ESP8266AVRISP ESP8266AVRISP
ESP8266LLMNR ESP8266LLMNR
ESP8266NetBIOS ESP8266NetBIOS
ESP8266SSDP ESP8266SSDP
SP8266WiFiMesh SP8266WiFiMesh
Ethernet(esp8266) Ethernet(esp8266)
GDBStub GDBStub
TFT_Touch_Shield_V2 TFT_Touch_Shield_V2
ESP8266HTTPUpdateServer ESP8266HTTPUpdateServer
ESP8266WiFiMesh ESP8266WiFiMesh
EspSoftwareSerial EspSoftwareSerial
SPISlave SPISlave
Hash Hash
; Disable next if you want to use ArduinoOTA in Tasmota (default disabled) ; Disable next if you want to use ArduinoOTA in Tasmota (default disabled)
ArduinoOTA ArduinoOTA
lib_extra_dirs = ${library.lib_extra_dirs} lib_extra_dirs = ${library.lib_extra_dirs}
[env:tasmota32_base] [env:tasmota32_base]
framework = ${common.framework} framework = ${common.framework}
platform = ${common32.platform} platform = ${core32.platform}
platform_packages = ${common32.platform_packages} platform_packages = ${core32.platform_packages}
; Build variant ESP32 4M Flash, Tasmota 1856k Code/OTA, 320k LITTLEFS (default) ; Build variant ESP32 4M Flash, Tasmota 1856k Code/OTA, 320k LITTLEFS (default)
board = ${common32.board} board = esp32_4M
; Build variant ESP32 8M Flash, Tasmota 2944k Code/OTA, 2112k LITTLEFS ; Build variant ESP32 8M Flash, Tasmota 2944k Code/OTA, 2112k LITTLEFS
;board = esp32_8M ;board = esp32_8M
; Build variant ESP32 16M Flash, Tasmota 2944k Code/OTA, 10M LITTLEFS ; Build variant ESP32 16M Flash, Tasmota 2944k Code/OTA, 10M LITTLEFS
;board = esp32_16M ;board = esp32_16M
;board_build.f_cpu = 240000000L ;board_build.f_cpu = 240000000L
;board_build.f_flash = 40000000L ;board_build.f_flash = 40000000L
monitor_speed = ${common32.monitor_speed} monitor_speed = 115200
upload_resetmethod = ${common32.upload_resetmethod}
; *** Serial port used for erasing/flashing the ESP32 ; *** Serial port used for erasing/flashing the ESP32
upload_port = ${common32.upload_port} ;upload_port = ${common.upload_port}
;upload_port = COM4 upload_port = COM4
; upload_speed = 115200 ;upload_speed = 115200
extra_scripts = ${common32.extra_scripts} upload_resetmethod = ${common.upload_resetmethod}
build_unflags = ${common32.build_unflags} extra_scripts = ${common.extra_scripts}
build_flags = ${common32.build_flags} build_unflags = ${esp32_defaults.build_unflags}
lib_ldf_mode = ${common32.lib_ldf_mode} build_flags = ${esp32_defaults.build_flags}
lib_compat_mode = ${common32.lib_compat_mode} lib_ldf_mode = ${common.lib_ldf_mode}
lib_compat_mode = ${common.lib_compat_mode}
lib_ignore = lib_ignore =
ESP32 Azure IoT Arduino ESP32 Azure IoT Arduino
ESP32 Async UDP ESP32 Async UDP
ESP32 BLE Arduino ESP32 BLE Arduino
; SimpleBLE ; SimpleBLE
NetBIOS NetBIOS
ESP32 ESP32
Preferences Preferences
BluetoothSerial BluetoothSerial
; Disable next if you want to use ArduinoOTA in Tasmota32 (default disabled) ; Disable next if you want to use ArduinoOTA in Tasmota32 (default disabled)
ArduinoOTA ArduinoOTA
lib_extra_dirs = ${library.lib_extra_dirs} lib_extra_dirs = ${library.lib_extra_dirs}
; *** ESP32 lib. ALWAYS needed for ESP32 !!! ; *** ESP32 lib. ALWAYS needed for ESP32 !!!
lib/libesp32 lib/libesp32
; *** comment the following line if you dont use LVGL in a Tasmota32 build. Reduces compile time ; *** comment the following line if you dont use LVGL in a Tasmota32 build. Reduces compile time
lib/libesp32_lvgl lib/libesp32_lvgl
; *** comment the following line if you dont use Bluetooth or Apple Homekit in a Tasmota32 build. Reduces compile time ; *** uncomment the following line if you use Bluetooth or Apple Homekit in a Tasmota32 build. Reduces compile time
lib/libesp32_div ; lib/libesp32_div
; *** uncomment the following line if you dont use Epaper driver epidy in your Tasmota32 build. Reduces compile time ; *** uncomment the following line if you use Epaper driver epidy in your Tasmota32 build. Reduces compile time
lib/libesp32_epdiy ; lib/libesp32_epdiy
[library] [library]
shared_libdeps_dir = lib shared_libdeps_dir = lib
; *** Library disable / enable for variant Tasmota(32). Disable reduces compile time ; *** Library disable / enable for variant Tasmota(32). Disable reduces compile time
; *** !!! Disabling needed libs will generate compile errors !!! ; *** !!! Disabling needed libs will generate compile errors !!!
; *** The resulting firmware will NOT be different if you leave all libs enabled ; *** The resulting firmware will NOT be different if you leave all libs enabled
; *** Disabling by putting a ";" in front of the lib name ; *** Disabling by putting a ";" in front of the lib name
; *** If you dont know what it is all about, do not change ; *** If you dont know what it is all about, do not change
lib_extra_dirs = lib_extra_dirs =
; *** Only disabled for Tasmota minimal and Tasmota light. For all other variants needed! ; *** Only disabled for Tasmota minimal and Tasmota light. For all other variants needed!
lib/lib_basic lib/lib_basic
; **** I2C devices. Most sensors. Disable only if you dont have ANY I2C device enabled ; **** I2C devices. Most sensors. Disable only if you dont have ANY I2C device enabled
lib/lib_i2c lib/lib_i2c
; *** Displays. Disable if you dont have any Display activated ; *** Displays. Disable if you dont have any Display activated
lib/lib_display lib/lib_display
; *** Bear SSL and base64. Disable if you dont have SSL or TLS activated ; *** Bear SSL and base64. Disable if you dont have SSL or TLS activated
lib/lib_ssl lib/lib_ssl
; *** Audio needs a lot of time to compile. Mostly not used functions. Recommended to disable ; *** Audio needs a lot of time to compile. Mostly not used functions. Recommended to disable
lib/lib_audio ; lib/lib_audio
; *** RF 433 stuff (not RF Bridge). Recommended to disable ; *** RF 433 stuff (not RF Bridge). Recommended to disable
lib/lib_rf lib/lib_rf
; *** Mostly not used functions. Recommended to disable ; *** Mostly not used functions. Recommended to disable
lib/lib_div lib/lib_div

View File

@ -1,37 +1,6 @@
; *** BETA ESP32 Tasmota version *** ; *** BETA ESP32 Tasmota version ***
; *** expect the unexpected. Some features not working!!! *** ; *** expect the unexpected. Some features not working!!! ***
[common32]
framework = ${common.framework}
platform = ${core32.platform}
platform_packages = ${core32.platform_packages}
build_unflags = ${core32.build_unflags}
build_flags = ${core32.build_flags}
board = esp32_4M
board_build.filesystem = ${common.board_build.filesystem}
custom_unpack_dir = ${common.custom_unpack_dir}
monitor_speed = 115200
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}
lib_compat_mode = ${common.lib_compat_mode}
shared_libdeps_dir = lib
lib_extra_dirs =
lib/libesp32
lib/libesp32_lvgl
; uncomment the following line if you need Bluetooth, Homekit or TTGO Watch libraries in your Tasmota32 build
; lib/libesp32_div
; uncomment the following line if you want to use Epaper driver epidy in your Tasmota32 build
; lib/libesp32_epdiy
lib/lib_basic
lib/lib_i2c
lib/lib_display
lib/lib_ssl
lib/lib_audio
lib/lib_rf
lib/lib_div
[esp32_defaults] [esp32_defaults]
build_unflags = ${esp_defaults.build_unflags} build_unflags = ${esp_defaults.build_unflags}
-fexceptions -fexceptions

View File

@ -38,7 +38,7 @@ platform = https://github.com/platformio/platform-espressif32
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/307/framework-arduinoespressif32-master-1d7068e4b.tar.gz platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/307/framework-arduinoespressif32-master-1d7068e4b.tar.gz
platformio/tool-mklittlefs @ ~1.203.200522 platformio/tool-mklittlefs @ ~1.203.200522
build_unflags = ${esp32_defaults.build_unflags} build_unflags = ${esp32_defaults.build_unflags}
build_flags = ${common32.build_flags} -DFIRMWARE_LITE build_flags = ${esp32_defaults.build_flags} -DFIRMWARE_LITE
lib_extra_dirs = lib/libesp32 lib_extra_dirs = lib/libesp32
lib_ignore = lib_ignore =
NimBLE-Arduino NimBLE-Arduino

View File

@ -1,143 +1,144 @@
[env] [env]
platform = ${common.platform} platform = ${common.platform}
platform_packages = ${common.platform_packages} platform_packages = ${common.platform_packages}
framework = ${common.framework} framework = ${common.framework}
board = ${common.board} board = ${common.board}
board_build.filesystem = ${common.board_build.filesystem} board_build.filesystem = ${common.board_build.filesystem}
build_unflags = ${common.build_unflags} build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} build_flags = ${common.build_flags}
monitor_speed = ${common.monitor_speed} monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port} upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod} upload_resetmethod = ${common.upload_resetmethod}
extra_scripts = ${common.extra_scripts} extra_scripts = ${common.extra_scripts}
lib_extra_dirs = ${common.lib_extra_dirs} lib_ldf_mode = ${common.lib_ldf_mode}
lib_ldf_mode = ${common.lib_ldf_mode} lib_compat_mode = ${common.lib_compat_mode}
lib_compat_mode = ${common.lib_compat_mode} lib_extra_dirs = ${common.lib_extra_dirs}
lib_ignore = lib_ignore =
Servo(esp8266) Servo(esp8266)
ESP8266AVRISP ESP8266AVRISP
ESP8266LLMNR ESP8266LLMNR
ESP8266NetBIOS ESP8266NetBIOS
ESP8266SSDP ESP8266SSDP
SP8266WiFiMesh SP8266WiFiMesh
Ethernet(esp8266) Ethernet(esp8266)
GDBStub GDBStub
TFT_Touch_Shield_V2 TFT_Touch_Shield_V2
ESP8266HTTPUpdateServer ESP8266HTTPUpdateServer
ESP8266WiFiMesh ESP8266WiFiMesh
EspSoftwareSerial EspSoftwareSerial
SPISlave SPISlave
Hash Hash
; Disable next if you want to use ArduinoOTA in Tasmota (default disabled) ; Disable next if you want to use ArduinoOTA in Tasmota (default disabled)
ArduinoOTA ArduinoOTA
[env:tasmota] [env:tasmota]
[env:tasmota-minimal] [env:tasmota-minimal]
build_flags = ${common.build_flags} -DFIRMWARE_MINIMAL build_flags = ${env.build_flags} -DFIRMWARE_MINIMAL
lib_extra_dirs = lib_extra_dirs =
[env:tasmota-lite] [env:tasmota-lite]
build_flags = ${common.build_flags} -DFIRMWARE_LITE build_flags = ${env.build_flags} -DFIRMWARE_LITE
lib_extra_dirs = lib_extra_dirs =
[env:tasmota-knx] [env:tasmota-knx]
build_flags = ${common.build_flags} -DFIRMWARE_KNX_NO_EMULATION build_flags = ${env.build_flags} -DFIRMWARE_KNX_NO_EMULATION
lib_extra_dirs = lib/lib_basic, lib/lib_div lib_extra_dirs = lib/lib_basic, lib/lib_div
[env:tasmota-sensors] [env:tasmota-sensors]
build_flags = ${common.build_flags} -DFIRMWARE_SENSORS build_flags = ${env.build_flags} -DFIRMWARE_SENSORS
lib_extra_dirs = lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div lib_extra_dirs = lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div
[env:tasmota-display] [env:tasmota-display]
build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS build_flags = ${env.build_flags} -DFIRMWARE_DISPLAYS
lib_extra_dirs = lib/lib_basic, lib/lib_display lib_extra_dirs = lib/lib_basic, lib/lib_display
[env:tasmota-ir] [env:tasmota-ir]
build_flags = ${common.build_flags} -DFIRMWARE_IR build_flags = ${env.build_flags} -DFIRMWARE_IR
lib_extra_dirs = lib/lib_basic lib_extra_dirs = lib/lib_basic
[env:tasmota-zbbridge] [env:tasmota-zbbridge]
build_flags = ${common.build_flags} -DFIRMWARE_ZBBRIDGE build_flags = ${env.build_flags} -DFIRMWARE_ZBBRIDGE
board = esp8266_zbbridge board = esp8266_zbbridge
lib_extra_dirs = lib/lib_ssl lib_extra_dirs = lib/lib_ssl
[env:tasmota-zigbee] [env:tasmota-zigbee]
build_flags = ${common.build_flags} -DUSE_ZIGBEE -DUSE_CCLOADER -DUSE_UFILESYS build_flags = ${env.build_flags} -DUSE_ZIGBEE -DUSE_CCLOADER -DUSE_UFILESYS
board = esp8266_4M2M board = esp8266_4M2M
board_build.f_cpu = 160000000L board_build.f_cpu = 160000000L
[env:tasmota-AF] [env:tasmota-AF]
build_flags = ${common.build_flags} -DMY_LANGUAGE=af_AF build_flags = ${env.build_flags} -DMY_LANGUAGE=af_AF
[env:tasmota-BG] [env:tasmota-BG]
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg_BG build_flags = ${env.build_flags} -DMY_LANGUAGE=bg_BG
[env:tasmota-BR] [env:tasmota-BR]
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt_BR build_flags = ${env.build_flags} -DMY_LANGUAGE=pt_BR
[env:tasmota-CN] [env:tasmota-CN]
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh_CN build_flags = ${env.build_flags} -DMY_LANGUAGE=zh_CN
[env:tasmota-CZ] [env:tasmota-CZ]
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs_CZ build_flags = ${env.build_flags} -DMY_LANGUAGE=cs_CZ
[env:tasmota-DE] [env:tasmota-DE]
build_flags = ${common.build_flags} -DMY_LANGUAGE=de_DE build_flags = ${env.build_flags} -DMY_LANGUAGE=de_DE
[env:tasmota-ES] [env:tasmota-ES]
build_flags = ${common.build_flags} -DMY_LANGUAGE=es_ES build_flags = ${env.build_flags} -DMY_LANGUAGE=es_ES
[env:tasmota-FR] [env:tasmota-FR]
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr_FR build_flags = ${env.build_flags} -DMY_LANGUAGE=fr_FR
[env:tasmota-FY] [env:tasmota-FY]
build_flags = ${common.build_flags} -DMY_LANGUAGE=fy_NL build_flags = ${env.build_flags} -DMY_LANGUAGE=fy_NL
[env:tasmota-GR] [env:tasmota-GR]
build_flags = ${common.build_flags} -DMY_LANGUAGE=el_GR build_flags = ${env.build_flags} -DMY_LANGUAGE=el_GR
[env:tasmota-HE] [env:tasmota-HE]
build_flags = ${common.build_flags} -DMY_LANGUAGE=he_HE build_flags = ${env.build_flags} -DMY_LANGUAGE=he_HE
[env:tasmota-HU] [env:tasmota-HU]
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu_HU build_flags = ${env.build_flags} -DMY_LANGUAGE=hu_HU
[env:tasmota-IT] [env:tasmota-IT]
build_flags = ${common.build_flags} -DMY_LANGUAGE=it_IT build_flags = ${env.build_flags} -DMY_LANGUAGE=it_IT
[env:tasmota-KO] [env:tasmota-KO]
build_flags = ${common.build_flags} -DMY_LANGUAGE=ko_KO build_flags = ${env.build_flags} -DMY_LANGUAGE=ko_KO
[env:tasmota-NL] [env:tasmota-NL]
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl_NL build_flags = ${env.build_flags} -DMY_LANGUAGE=nl_NL
[env:tasmota-PL] [env:tasmota-PL]
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl_PL build_flags = ${env.build_flags} -DMY_LANGUAGE=pl_PL
[env:tasmota-PT] [env:tasmota-PT]
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt_PT build_flags = ${env.build_flags} -DMY_LANGUAGE=pt_PT
[env:tasmota-RO] [env:tasmota-RO]
build_flags = ${common.build_flags} -DMY_LANGUAGE=ro_RO build_flags = ${env.build_flags} -DMY_LANGUAGE=ro_RO
[env:tasmota-RU] [env:tasmota-RU]
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru_RU build_flags = ${env.build_flags} -DMY_LANGUAGE=ru_RU
[env:tasmota-SE] [env:tasmota-SE]
build_flags = ${common.build_flags} -DMY_LANGUAGE=sv_SE build_flags = ${env.build_flags} -DMY_LANGUAGE=sv_SE
[env:tasmota-SK] [env:tasmota-SK]
build_flags = ${common.build_flags} -DMY_LANGUAGE=sk_SK build_flags = ${env.build_flags} -DMY_LANGUAGE=sk_SK
[env:tasmota-TR] [env:tasmota-TR]
build_flags = ${common.build_flags} -DMY_LANGUAGE=tr_TR build_flags = ${env.build_flags} -DMY_LANGUAGE=tr_TR
[env:tasmota-TW] [env:tasmota-TW]
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh_TW build_flags = ${env.build_flags} -DMY_LANGUAGE=zh_TW
[env:tasmota-UK] [env:tasmota-UK]
build_flags = ${common.build_flags} -DMY_LANGUAGE=uk_UA build_flags = ${env.build_flags} -DMY_LANGUAGE=uk_UA
[env:tasmota-VN] [env:tasmota-VN]
build_flags = ${common.build_flags} -DMY_LANGUAGE=vi_VN build_flags = ${env.build_flags} -DMY_LANGUAGE=vi_VN

View File

@ -1,188 +1,195 @@
[env:tasmota32_base] [env:tasmota32_base]
framework = ${common.framework} framework = ${common.framework}
platform = ${common32.platform} platform = ${core32.platform}
platform_packages = ${common32.platform_packages} platform_packages = ${core32.platform_packages}
board = ${common32.board} board_build.filesystem = ${common.board_build.filesystem}
monitor_speed = ${common32.monitor_speed} custom_unpack_dir = ${common.custom_unpack_dir}
upload_port = ${common32.upload_port} board = esp32_4M
upload_resetmethod = ${common32.upload_resetmethod} monitor_speed = 115200
extra_scripts = ${common32.extra_scripts} upload_port = ${common.upload_port}
build_unflags = ${common32.build_unflags} upload_resetmethod = ${common.upload_resetmethod}
build_flags = ${common32.build_flags} extra_scripts = ${common.extra_scripts}
lib_extra_dirs = ${common32.lib_extra_dirs} build_unflags = ${esp32_defaults.build_unflags}
lib_ldf_mode = ${common32.lib_ldf_mode} build_flags = ${esp32_defaults.build_flags}
lib_compat_mode = ${common32.lib_compat_mode} lib_ldf_mode = ${common.lib_ldf_mode}
lib_ignore = lib_compat_mode = ${common.lib_compat_mode}
ESP32 Azure IoT Arduino lib_extra_dirs = ${common.lib_extra_dirs}
ESP32 Async UDP lib/libesp32
ESP32 BLE Arduino lib/libesp32_lvgl
; SimpleBLE lib/libesp32_div
NetBIOS lib/libesp32_epdiy
ESP32 lib_ignore =
Preferences ESP32 Azure IoT Arduino
BluetoothSerial ESP32 Async UDP
ESP32 BLE Arduino
; SimpleBLE
NetBIOS
ESP32
Preferences
BluetoothSerial
; Disable next if you want to use ArduinoOTA in Tasmota32 (default disabled) ; Disable next if you want to use ArduinoOTA in Tasmota32 (default disabled)
ArduinoOTA ArduinoOTA
[env:tasmota32] [env:tasmota32]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32
[env:tasmota32_8M] [env:tasmota32_8M]
extends = env:tasmota32_base extends = env:tasmota32_base
board = esp32_8M board = esp32_8M
build_flags = ${common32.build_flags} -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32
[env:tasmota32_16M] [env:tasmota32_16M]
extends = env:tasmota32_base extends = env:tasmota32_base
board = esp32_16M board = esp32_16M
build_flags = ${common32.build_flags} -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32
[env:tasmota32solo1] [env:tasmota32solo1]
extends = env:tasmota32_base extends = env:tasmota32_base
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/1.0.7/tasmota-arduinoespressif32-solo1-release_v3.3.5.tar.gz platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/1.0.7/tasmota-arduinoespressif32-solo1-release_v3.3.5.tar.gz
platformio/tool-esptoolpy @ ~1.30100 platformio/tool-esptoolpy @ ~1.30100
platformio/tool-mklittlefs @ ~1.203.200522 platformio/tool-mklittlefs @ ~1.203.200522
build_flags = ${common32.build_flags} -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32
[env:tasmota32-webcam] [env:tasmota32-webcam]
extends = env:tasmota32_base extends = env:tasmota32_base
board = esp32-cam board = esp32-cam
board_build.flash_mode = qio board_build.flash_mode = qio
build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_WEBCAM build_flags = ${env:tasmota32_base.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_WEBCAM
lib_extra_dirs = lib/libesp32, lib/lib_basic lib_extra_dirs = lib/libesp32, lib/lib_basic
[env:tasmota32-odroidgo] [env:tasmota32-odroidgo]
extends = env:tasmota32_base extends = env:tasmota32_base
board = esp32-odroid board = esp32-odroid
board_build.flash_mode = qio board_build.flash_mode = qio
build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_ODROID_GO build_flags = ${env:tasmota32_base.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_ODROID_GO
lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display
[env:tasmota32-core2] [env:tasmota32-core2]
extends = env:tasmota32_base extends = env:tasmota32_base
board = esp32-m5core2 board = esp32-m5core2
board_build.flash_mode = qio board_build.flash_mode = qio
build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_M5STACK_CORE2 build_flags = ${env:tasmota32_base.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_M5STACK_CORE2
lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display, lib/lib_audio lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display, lib/lib_audio
[env:tasmota32-bluetooth] [env:tasmota32-bluetooth]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DFIRMWARE_BLUETOOTH build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_BLUETOOTH
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_ssl lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_ssl
[env:tasmota32-display] [env:tasmota32-display]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DFIRMWARE_DISPLAYS build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_DISPLAYS
lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_display lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_display
[env:tasmota32-lvgl] [env:tasmota32-lvgl]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DFIRMWARE_LVGL build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_LVGL
board_build.f_cpu = 160000000L board_build.f_cpu = 160000000L
lib_extra_dirs = lib/libesp32, lib/libesp32_lvgl, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display lib_extra_dirs = lib/libesp32, lib/libesp32_lvgl, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display
[env:tasmota32-ir] [env:tasmota32-ir]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DUSE_IR_REMOTE_FULL -DFIRMWARE_IR build_flags = ${env:tasmota32_base.build_flags} -DUSE_IR_REMOTE_FULL -DFIRMWARE_IR
lib_extra_dirs = lib/libesp32, lib/lib_basic lib_extra_dirs = lib/libesp32, lib/lib_basic
[env:tasmota32-AF] [env:tasmota32-AF]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=af_AF -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=af_AF -DFIRMWARE_TASMOTA32
[env:tasmota32-BG] [env:tasmota32-BG]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=bg_BG -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=bg_BG -DFIRMWARE_TASMOTA32
[env:tasmota32-BR] [env:tasmota32-BR]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt_BR -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=pt_BR -DFIRMWARE_TASMOTA32
[env:tasmota32-CN] [env:tasmota32-CN]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh_CN -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=zh_CN -DFIRMWARE_TASMOTA32
[env:tasmota32-CZ] [env:tasmota32-CZ]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=cs_CZ -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=cs_CZ -DFIRMWARE_TASMOTA32
[env:tasmota32-DE] [env:tasmota32-DE]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=de_DE -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=de_DE -DFIRMWARE_TASMOTA32
[env:tasmota32-ES] [env:tasmota32-ES]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=es_ES -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=es_ES -DFIRMWARE_TASMOTA32
[env:tasmota32-FR] [env:tasmota32-FR]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=fr_FR -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=fr_FR -DFIRMWARE_TASMOTA32
[env:tasmota32-FY] [env:tasmota32-FY]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=fy_NL -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=fy_NL -DFIRMWARE_TASMOTA32
[env:tasmota32-GR] [env:tasmota32-GR]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=el_GR -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=el_GR -DFIRMWARE_TASMOTA32
[env:tasmota32-HE] [env:tasmota32-HE]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=he_HE -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=he_HE -DFIRMWARE_TASMOTA32
[env:tasmota32-HU] [env:tasmota32-HU]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=hu_HU -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=hu_HU -DFIRMWARE_TASMOTA32
[env:tasmota32-IT] [env:tasmota32-IT]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=it_IT -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=it_IT -DFIRMWARE_TASMOTA32
[env:tasmota32-KO] [env:tasmota32-KO]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ko_KO -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=ko_KO -DFIRMWARE_TASMOTA32
[env:tasmota32-NL] [env:tasmota32-NL]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=nl_NL -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=nl_NL -DFIRMWARE_TASMOTA32
[env:tasmota32-PL] [env:tasmota32-PL]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pl_PL -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=pl_PL -DFIRMWARE_TASMOTA32
[env:tasmota32-PT] [env:tasmota32-PT]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt_PT -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=pt_PT -DFIRMWARE_TASMOTA32
[env:tasmota32-RO] [env:tasmota32-RO]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ro_RO -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=ro_RO -DFIRMWARE_TASMOTA32
[env:tasmota32-RU] [env:tasmota32-RU]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=ru_RU -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=ru_RU -DFIRMWARE_TASMOTA32
[env:tasmota32-SE] [env:tasmota32-SE]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=sv_SE -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=sv_SE -DFIRMWARE_TASMOTA32
[env:tasmota32-SK] [env:tasmota32-SK]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=sk_SK -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=sk_SK -DFIRMWARE_TASMOTA32
[env:tasmota32-TR] [env:tasmota32-TR]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=tr_TR -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=tr_TR -DFIRMWARE_TASMOTA32
[env:tasmota32-TW] [env:tasmota32-TW]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh_TW -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=zh_TW -DFIRMWARE_TASMOTA32
[env:tasmota32-UK] [env:tasmota32-UK]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=uk_UA -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=uk_UA -DFIRMWARE_TASMOTA32
[env:tasmota32-VN] [env:tasmota32-VN]
extends = env:tasmota32_base extends = env:tasmota32_base
build_flags = ${common32.build_flags} -DMY_LANGUAGE=vi_VN -DFIRMWARE_TASMOTA32 build_flags = ${env:tasmota32_base.build_flags} -DMY_LANGUAGE=vi_VN -DFIRMWARE_TASMOTA32