From 1054abcfe49dc0f8662055c1259896e51c455bd4 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 19:48:01 +0200 Subject: [PATCH 1/7] Delete platformio_override_esp32.ini --- platformio_override_esp32.ini | 104 ---------------------------------- 1 file changed, 104 deletions(-) delete mode 100644 platformio_override_esp32.ini diff --git a/platformio_override_esp32.ini b/platformio_override_esp32.ini deleted file mode 100644 index babc261cc..000000000 --- a/platformio_override_esp32.ini +++ /dev/null @@ -1,104 +0,0 @@ -; -; Example PlatformIO Project Configuration Override for ESP32 *** -; Changes done here override settings in platformio.ini *** -; -; to build Tasmota ESP32 copy to platformio_override.ini *** -; -; Please visit documentation for the options and examples -; http://docs.platformio.org/en/stable/projectconf.html -; - - -[platformio] -; *** Build/upload environment -;monitor_port = COM5 -default_envs = -; *** Uncomment the line(s) below to select version(s) - tasmota - tasmota32 -; tasmota32-minimal -; tasmota32-lite -; tasmota32-knx -; tasmota32-sensors -; tasmota32-display -; tasmota32-ir -; tasmota32-ircustom -; tasmota32-DE -; tasmota32-NL - -[env32] -; uncomment this for all other tasmota32 builds -[env:tasmota32] -framework = ${common.framework} -platform = ${common32.platform} -platform_packages = ${common32.platform_packages} -board = ${common32.board} -board_build.ldscript = ${common32.board_build.ldscript} -board_build.flash_mode = ${common32.board_build.flash_mode} -board_build.f_cpu = ${common32.board_build.f_cpu} -build_unflags = ${common32.build_unflags} -build_flags = ${common32.build_flags} -monitor_speed = ${common32.monitor_speed} -upload_port = ${common32.upload_port} -upload_resetmethod = ${common32.upload_resetmethod} -upload_speed = ${common32.upload_speed} -extra_scripts = ${common32.extra_scripts} -lib_extra_dirs = ${common32.lib_extra_dirs} -lib_ignore = ${common32.lib_ignore} - -; uncomment this for all other tasmota32 builds -;[env:tasmota32] - -[env:tasmota32-minimal] -build_flags = ${common.build_flags} -DFIRMWARE_MINIMAL -[env:tasmota32-lite] -build_flags = ${common.build_flags} -DFIRMWARE_LITE -[env:tasmota32-knx] -build_flags = ${common.build_flags} -DFIRMWARE_KNX_NO_EMULATION -[env:tasmota32-sensors] -build_flags = ${common.build_flags} -DFIRMWARE_SENSORS -[env:tasmota32-display] -build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS -[env:tasmota32-ir] -build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} -DFIRMWARE_IR -[env:tasmota32-ircustom] -build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} -[env:tasmota32-DE] -build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE -[env:tasmota32-NL] -build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL - -[common32] -platform = espressif32@1.12.0 -platform_packages = -board = wemos_d1_mini32 -board_build.ldscript = esp32_out.ld -board_build.flash_mode = ${common.board_build.flash_mode} -board_build.f_cpu = ${common.board_build.f_cpu} -build_unflags = ${common.build_unflags} -monitor_speed = ${common.monitor_speed} -upload_port = ${common.upload_port} -upload_resetmethod = ${common.upload_resetmethod} -upload_speed = 921600 -extra_scripts = ${common.extra_scripts} - -build_flags = - -D BUFFER_LENGTH=128 - -D MQTT_MAX_PACKET_SIZE=1200 - -D uint32=uint32_t - -D uint16=uint16_t - -D uint8=uint8_t - -D sint8_t=int8_t - -D sint32_t=int32_t - -D sint16_t=int16_t - -D memcpy_P=memcpy - -D memcmp_P=memcmp -; -D USE_CONFIG_OVERRIDE - -lib_extra_dirs = - libesp32 - -lib_ignore = - ILI9488 - SSD3115 - cc1101 From 81627bbf0e7a56febcb5595ffa413faa3fb39bd0 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 19:49:10 +0200 Subject: [PATCH 2/7] Update platformio.ini --- platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio.ini b/platformio.ini index 6a3820d02..e419aa810 100755 --- a/platformio.ini +++ b/platformio.ini @@ -12,6 +12,7 @@ src_dir = tasmota build_dir = .pioenvs build_cache_dir = .cache extra_configs = platformio_tasmota_env.ini + platformio_tasmota_env32.ini platformio_override.ini ; *** Build/upload environment From 1bf133078854abc9071f088f3363601ff6fdb8a7 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 19:49:54 +0200 Subject: [PATCH 3/7] Add files via upload --- platformio_override_esp32.ini | 105 ++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 platformio_override_esp32.ini diff --git a/platformio_override_esp32.ini b/platformio_override_esp32.ini new file mode 100644 index 000000000..5c4afdafa --- /dev/null +++ b/platformio_override_esp32.ini @@ -0,0 +1,105 @@ +; +; Example PlatformIO Project Configuration Override for ESP32 *** +; Changes done here override settings in platformio.ini *** +; +; to build Tasmota ESP32 copy to platformio_override.ini *** +; +; Please visit documentation for the options and examples +; http://docs.platformio.org/en/stable/projectconf.html +; + + +[platformio] +; *** Build/upload environment +;monitor_port = COM5 +default_envs = +; *** Uncomment the line(s) below to select version(s) + tasmota + tasmota32 +; tasmota32-minimal +; tasmota32-lite +; tasmota32-knx +; tasmota32-sensors +; tasmota32-display +; tasmota32-ir +; tasmota32-ircustom +; tasmota32-DE +; tasmota32-NL + +[env32] +; uncomment this for all other tasmota32 builds +[env:tasmota32] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} + +; uncomment this for all other tasmota32 builds +;[env:tasmota32] + +[env:tasmota32-minimal] +build_flags = ${common.build_flags} -DFIRMWARE_MINIMAL +[env:tasmota32-lite] +build_flags = ${common.build_flags} -DFIRMWARE_LITE +[env:tasmota32-knx] +build_flags = ${common.build_flags} -DFIRMWARE_KNX_NO_EMULATION +[env:tasmota32-sensors] +build_flags = ${common.build_flags} -DFIRMWARE_SENSORS +[env:tasmota32-display] +build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS +[env:tasmota32-ir] +build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} -DFIRMWARE_IR +[env:tasmota32-ircustom] +build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} +[env:tasmota32-DE] +build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE +[env:tasmota32-NL] +build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL + +[common32] +platform = espressif32@1.12.0 +platform_packages = +board = wemos_d1_mini32 +board_build.ldscript = esp32_out.ld +board_build.flash_mode = ${common.board_build.flash_mode} +board_build.f_cpu = ${common.board_build.f_cpu} +build_unflags = ${common.build_unflags} +monitor_speed = ${common.monitor_speed} +upload_port = ${common.upload_port} +upload_resetmethod = ${common.upload_resetmethod} +upload_speed = 921600 +extra_scripts = ${common.extra_scripts} + +build_flags = + -D BUFFER_LENGTH=128 + -D MQTT_MAX_PACKET_SIZE=1200 + -D uint32=uint32_t + -D uint16=uint16_t + -D uint8=uint8_t + -D sint8_t=int8_t + -D sint32_t=int32_t + -D sint16_t=int16_t + -D memcpy_P=memcpy + -D memcmp_P=memcmp +; -D USE_CONFIG_OVERRIDE + +lib_extra_dirs = + libesp32 + +lib_ignore = + ILI9488 + SSD3115 + cc1101 + ArduinoNTPd From 10a1269c32ccb38ba295314d520db5c62766607c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 19:53:33 +0200 Subject: [PATCH 4/7] Update platformio_override_sample.ini --- platformio_override_sample.ini | 95 +++++++++++++++++----------------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 70be7c34e..03e49883f 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -24,6 +24,14 @@ default_envs = ; tasmota-sensors ; tasmota-display ; tasmota-ir +; tasmota32 +; tasmota32-minimal +; tasmota32-lite +; tasmota32-knx +; tasmota32-sensors +; tasmota32-display +; tasmota32-ir +; tasmota32-ircustom [common] @@ -70,9 +78,6 @@ extra_scripts = ${scripts_defaults.extra_scripts} [core_active] ; Select one core set for platform and build_flags -;platform = ${core_2_6_1.platform} -;platform_packages = ${core_2_6_1.platform_packages} -;build_flags = ${core_2_6_1.build_flags} ;platform = ${core_2_6_3.platform} ;platform_packages = ${core_2_6_3.platform_packages} @@ -87,51 +92,6 @@ build_flags = ${tasmota_feature_stage.build_flags} ;build_flags = ${core_stage.build_flags} -[core_2_6_1] -; *** Esp8266 core for Arduino version 2.6.1 -platform = espressif8266@2.3.0 -platform_packages = -build_flags = ${esp82xx_defaults.build_flags} - -Wl,-Teagle.flash.1m.ld - -DBEARSSL_SSL_BASIC -; NONOSDK221 -; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK221 -; NONOSDK22x_190313 -; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190313 -; NONOSDK22x_190703 = 2.2.1+100-dev(38a443e) (Tasmota default) (Firmware 2K smaller than NONOSDK22x_191105) - -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703 -; NONOSDK22x_191024 = 2.2.1+111-dev(5ab15d1) -; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191024 -; NONOSDK22x_191105 = 2.2.1+113-dev(bb83b9b) -; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191105 -; NONOSDK3V0 (known issues) -; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3 -; lwIP 1.4 -; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH -; lwIP 2 - Low Memory -; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -; lwIP 2 - Higher Bandwidth -; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -; lwIP 2 - Higher Bandwidth Low Memory no Features -; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH -; lwIP 2 - Higher Bandwidth no Features (Tasmota default) - -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH -; lwIP 2 - Higher Bandwidth IPv6 (use ONLY if you need IPv6, experimental!) -; -DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH -; VTABLES in Flash (Tasmota default) - -DVTABLES_IN_FLASH -; VTABLES in Heap -; -DVTABLES_IN_DRAM -; VTABLES in IRAM -; -DVTABLES_IN_IRAM -; enable one option set -> No exception recommended -; No exception code in firmware - -fno-exceptions - -lstdc++ -; Exception code in firmware /needs much space! 90k -; -fexceptions -; -lstdc++-exc - [core_2_6_3] ; *** Esp8266 core for Arduino version 2.6.3 platform = espressif8266@2.4.0 @@ -268,3 +228,42 @@ build_flags = ${esp82xx_defaults.build_flags} ; *** Debug version used for PlatformIO Home Project Inspection [env:tasmota-debug] build_type = debug + + +; *** Experimental ESP32 Tasmota version *** +; *** expect the unexpected. Many features not working!!! *** + +[common32] +platform = espressif32@1.12.0 +platform_packages = +board = wemos_d1_mini32 +board_build.ldscript = esp32_out.ld +board_build.flash_mode = ${common.board_build.flash_mode} +board_build.f_cpu = ${common.board_build.f_cpu} +build_unflags = ${common.build_unflags} +monitor_speed = ${common.monitor_speed} +upload_port = ${common.upload_port} +upload_resetmethod = ${common.upload_resetmethod} +upload_speed = 921600 +extra_scripts = ${common.extra_scripts} + +build_flags = + -D BUFFER_LENGTH=128 + -D MQTT_MAX_PACKET_SIZE=1200 + -D uint32=uint32_t + -D uint16=uint16_t + -D uint8=uint8_t + -D sint8_t=int8_t + -D sint32_t=int32_t + -D sint16_t=int16_t + -D memcpy_P=memcpy + -D memcmp_P=memcmp +; -D USE_CONFIG_OVERRIDE + +lib_extra_dirs = + libesp32 + +lib_ignore = + ILI9488 + SSD3115 + cc1101 From a7074c667f02b877edf076deefe2df8b4dea1674 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 19:59:05 +0200 Subject: [PATCH 5/7] Delete platformio_override_esp32.ini --- platformio_override_esp32.ini | 105 ---------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 platformio_override_esp32.ini diff --git a/platformio_override_esp32.ini b/platformio_override_esp32.ini deleted file mode 100644 index 5c4afdafa..000000000 --- a/platformio_override_esp32.ini +++ /dev/null @@ -1,105 +0,0 @@ -; -; Example PlatformIO Project Configuration Override for ESP32 *** -; Changes done here override settings in platformio.ini *** -; -; to build Tasmota ESP32 copy to platformio_override.ini *** -; -; Please visit documentation for the options and examples -; http://docs.platformio.org/en/stable/projectconf.html -; - - -[platformio] -; *** Build/upload environment -;monitor_port = COM5 -default_envs = -; *** Uncomment the line(s) below to select version(s) - tasmota - tasmota32 -; tasmota32-minimal -; tasmota32-lite -; tasmota32-knx -; tasmota32-sensors -; tasmota32-display -; tasmota32-ir -; tasmota32-ircustom -; tasmota32-DE -; tasmota32-NL - -[env32] -; uncomment this for all other tasmota32 builds -[env:tasmota32] -framework = ${common.framework} -platform = ${common32.platform} -platform_packages = ${common32.platform_packages} -board = ${common32.board} -board_build.ldscript = ${common32.board_build.ldscript} -board_build.flash_mode = ${common32.board_build.flash_mode} -board_build.f_cpu = ${common32.board_build.f_cpu} -build_unflags = ${common32.build_unflags} -build_flags = ${common32.build_flags} -monitor_speed = ${common32.monitor_speed} -upload_port = ${common32.upload_port} -upload_resetmethod = ${common32.upload_resetmethod} -upload_speed = ${common32.upload_speed} -extra_scripts = ${common32.extra_scripts} -lib_extra_dirs = ${common32.lib_extra_dirs} -lib_ignore = ${common32.lib_ignore} - -; uncomment this for all other tasmota32 builds -;[env:tasmota32] - -[env:tasmota32-minimal] -build_flags = ${common.build_flags} -DFIRMWARE_MINIMAL -[env:tasmota32-lite] -build_flags = ${common.build_flags} -DFIRMWARE_LITE -[env:tasmota32-knx] -build_flags = ${common.build_flags} -DFIRMWARE_KNX_NO_EMULATION -[env:tasmota32-sensors] -build_flags = ${common.build_flags} -DFIRMWARE_SENSORS -[env:tasmota32-display] -build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS -[env:tasmota32-ir] -build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} -DFIRMWARE_IR -[env:tasmota32-ircustom] -build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} -[env:tasmota32-DE] -build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE -[env:tasmota32-NL] -build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL - -[common32] -platform = espressif32@1.12.0 -platform_packages = -board = wemos_d1_mini32 -board_build.ldscript = esp32_out.ld -board_build.flash_mode = ${common.board_build.flash_mode} -board_build.f_cpu = ${common.board_build.f_cpu} -build_unflags = ${common.build_unflags} -monitor_speed = ${common.monitor_speed} -upload_port = ${common.upload_port} -upload_resetmethod = ${common.upload_resetmethod} -upload_speed = 921600 -extra_scripts = ${common.extra_scripts} - -build_flags = - -D BUFFER_LENGTH=128 - -D MQTT_MAX_PACKET_SIZE=1200 - -D uint32=uint32_t - -D uint16=uint16_t - -D uint8=uint8_t - -D sint8_t=int8_t - -D sint32_t=int32_t - -D sint16_t=int16_t - -D memcpy_P=memcpy - -D memcmp_P=memcmp -; -D USE_CONFIG_OVERRIDE - -lib_extra_dirs = - libesp32 - -lib_ignore = - ILI9488 - SSD3115 - cc1101 - ArduinoNTPd From f8a63c3a7c2c654c5dee1f66492dff11876fc471 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 20:00:55 +0200 Subject: [PATCH 6/7] Add files via upload --- platformio_tasmota_env32.ini | 539 +++++++++++++++++++++++++++++++++++ 1 file changed, 539 insertions(+) create mode 100644 platformio_tasmota_env32.ini diff --git a/platformio_tasmota_env32.ini b/platformio_tasmota_env32.ini new file mode 100644 index 000000000..fb280f1bc --- /dev/null +++ b/platformio_tasmota_env32.ini @@ -0,0 +1,539 @@ +[env:tasmota32] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} + +[env:tasmota32-minimal] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DFIRMWARE_MINIMAL + +[env:tasmota32-lite] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DFIRMWARE_LITE + +[env:tasmota32-knx] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DFIRMWARE_KNX_NO_EMULATION + +[env:tasmota32-sensors] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DFIRMWARE_SENSORS + +[env:tasmota32-display] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DFIRMWARE_DISPLAYS + +[env:tasmota32-ir] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} ${irremoteesp8266_full.build_flags} -DFIRMWARE_IR + +[env:tasmota32-ircustom] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} ${irremoteesp8266_full.build_flags} + +[env:tasmota32-BG] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=bg-BG + +[env:tasmota32-BR] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt-BR + +[env:tasmota32-CN] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh-CN + +[env:tasmota32-CZ] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=cs-CZ + +[env:tasmota32-DE] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=de-DE + +[env:tasmota32-ES] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=es-ES + +[env:tasmota32-FR] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=fr-FR + +[env:tasmota32-GR] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=el-GR + +[env:tasmota32-HE] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=he-HE + +[env:tasmota32-HU] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=hu-HU + +[env:tasmota32-IT] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=it-IT + +[env:tasmota32-KO] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=ko-KO + +[env:tasmota32-NL] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=nl-NL + +[env:tasmota32-PL] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=pl-PL + +[env:tasmota32-PT] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=pt-PT + +[env:tasmota32-RO] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=ro-RO + +[env:tasmota32-RU] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=ru-RU + +[env:tasmota32-SE] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=sv-SE + +[env:tasmota32-SK] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=sk-SK + +[env:tasmota32-TR] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=tr-TR + +[env:tasmota32-TW] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh-TW + +[env:tasmota32-UK] +framework = ${common.framework} +platform = ${common32.platform} +platform_packages = ${common32.platform_packages} +board = ${common32.board} +board_build.ldscript = ${common32.board_build.ldscript} +board_build.flash_mode = ${common32.board_build.flash_mode} +board_build.f_cpu = ${common32.board_build.f_cpu} +monitor_speed = ${common32.monitor_speed} +upload_port = ${common32.upload_port} +upload_resetmethod = ${common32.upload_resetmethod} +upload_speed = ${common32.upload_speed} +extra_scripts = ${common32.extra_scripts} +lib_extra_dirs = ${common32.lib_extra_dirs} +lib_ignore = ${common32.lib_ignore} +build_unflags = ${common32.build_unflags} +build_flags = ${common32.build_flags} -DMY_LANGUAGE=uk-UA From 375cf778eae7a4181ae03d3b1d03f50683e15586 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 13 Apr 2020 20:28:01 +0200 Subject: [PATCH 7/7] Removed not needed options to compile... firmware variants --- platformio_override_sample.ini | 9 --------- 1 file changed, 9 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 03e49883f..925374b66 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -41,15 +41,6 @@ build_flags = ${core_active.build_flags} ; *** Use settings from file user_config_override.h -DUSE_CONFIG_OVERRIDE -; *** Optional Firmware configurations -; -DFIRMWARE_MINIMAL -; -DFIRMWARE_SENSORS -; -DFIRMWARE_LITE -; -DFIRMWARE_KNX_NO_EMULATION -; -DFIRMWARE_DISPLAYS -; -DFIRMWARE_IR -; -DFIRMWARE_IR_CUSTOM - ; *** Optional Debug messages ; -DDEBUG_TASMOTA_CORE ; -DDEBUG_TASMOTA_DRIVER