2017-01-28 15:44:00 +00:00
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
src_dir = sonoff
2019-07-13 14:29:15 +01:00
build_dir = .pioenvs
2019-09-21 14:17:07 +01:00
build_cache_dir = .cache
2017-01-28 15:44:00 +00:00
2017-09-30 14:53:50 +01:00
; *** Uncomment one of the lines below to build/upload only one environment
2019-07-30 14:09:13 +01:00
;default_envs = sonoff
2019-08-30 19:41:01 +01:00
;default_envs = sonoff-ircustom ; alternative to 'sonoff' with full IR protocols activated, you will need to disable some features to keep code not too big
2019-07-30 14:09:13 +01:00
;default_envs = sonoff-minimal
;default_envs = sonoff-basic
;default_envs = sonoff-classic
;default_envs = sonoff-knx
;default_envs = sonoff-sensors
;default_envs = sonoff-display
2019-08-30 19:41:01 +01:00
;default_envs = sonoff-ir
2019-07-30 14:09:13 +01:00
;default_envs = sonoff-BG
;default_envs = sonoff-BR
;default_envs = sonoff-CN
;default_envs = sonoff-CZ
2019-08-19 15:49:20 +01:00
;default_envs = sonoff-DE
2019-07-30 14:09:13 +01:00
;default_envs = sonoff-ES
;default_envs = sonoff-FR
;default_envs = sonoff-GR
;default_envs = sonoff-HE
;default_envs = sonoff-HU
;default_envs = sonoff-IT
;default_envs = sonoff-KO
;default_envs = sonoff-NL
;default_envs = sonoff-PL
;default_envs = sonoff-PT
;default_envs = sonoff-RU
;default_envs = sonoff-SE
;default_envs = sonoff-SK
;default_envs = sonoff-TR
;default_envs = sonoff-TW
;default_envs = sonoff-UK
2017-06-03 21:13:35 +01:00
2018-12-17 14:29:21 +00:00
[esp82xx_defaults]
build_flags = -D NDEBUG
-mtarget-align
-Wl,-Map,firmware.map
[core_2_3_0]
2018-05-16 10:23:40 +01:00
; *** Esp8266 core for Arduino version 2.3.0
2019-10-17 10:12:42 +01:00
; *** W A R N I N G ! *** old outdated Arduino Esp8266 core with many security issues! NOT recommended to use. NO SUPPORT!
2018-12-17 14:29:21 +00:00
platform = espressif8266@1.5.0
build_flags = ${esp82xx_defaults.build_flags}
-Wl,-Tesp8266.flash.1m0.ld
2018-04-25 13:42:54 +01:00
2018-12-17 14:29:21 +00:00
[core_2_4_2]
; *** Esp8266 core for Arduino version 2.4.2
2019-10-17 10:12:42 +01:00
; *** W A R N I N G ! *** old outdated Arduino Esp8266 core with security issues. NOT recommended to use. NO SUPPORT!
2018-12-17 14:29:21 +00:00
platform = espressif8266@1.8.0
build_flags = ${esp82xx_defaults.build_flags}
2018-12-17 20:33:11 +00:00
-Wl,-Teagle.flash.1m0.ld
2018-12-17 14:29:21 +00:00
-lstdc++ -lsupc++
2019-05-11 12:58:23 +01:00
; lwIP 1.4
2018-12-17 14:29:21 +00:00
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
; lwIP 2 - Low Memory
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
; lwIP 2 - Higher Bandwidth (Tasmota default)
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-DVTABLES_IN_FLASH
2018-04-25 11:06:53 +01:00
2019-10-11 13:29:41 +01:00
[core_pre]
2019-10-17 10:12:42 +01:00
; *** Arduino Esp8266 core pre 2.6.x for Tasmota (recommended version, no known issues)
2019-10-11 13:29:41 +01:00
platform = https://github.com/Jason2866/platform-espressif8266.git#Tasmota
2018-12-17 14:29:21 +00:00
build_flags = ${esp82xx_defaults.build_flags}
2019-10-11 13:29:41 +01:00
-Wl,-Tesp8266.flash.1m.ld
2019-05-11 13:32:35 +01:00
-O2
-DBEARSSL_SSL_BASIC
2019-07-10 19:13:38 +01:00
; nonos-sdk 22y
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
2019-03-15 08:30:59 +00:00
; nonos-sdk 22x
2019-07-10 19:13:38 +01:00
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x
2019-03-15 08:30:59 +00:00
; nonos-sdk-pre-v3
2019-06-05 10:44:52 +01:00
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3
2019-05-11 12:58:23 +01:00
; lwIP 1.4
2018-12-17 14:29:21 +00:00
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
2018-08-27 06:18:10 +01:00
; lwIP 2 - Low Memory
2018-12-17 14:29:21 +00:00
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
; lwIP 2 - Higher Bandwidth
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
2019-10-11 13:29:41 +01:00
; lwIP 2 - Higher Bandwidth Low Memory no Features
2018-12-17 14:29:21 +00:00
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
2019-10-11 06:40:55 +01:00
; lwIP 2 - Higher Bandwidth no Features (Tasmota default)
2018-12-17 14:29:21 +00:00
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
2018-08-27 06:18:10 +01:00
; VTABLES in Flash (default)
2018-12-17 14:29:21 +00:00
-DVTABLES_IN_FLASH
; VTABLES in Heap
; -DVTABLES_IN_DRAM
; VTABLES in IRAM
; -DVTABLES_IN_IRAM
2018-12-06 07:48:20 +00:00
; enable one option set -> No exception recommended
; No exception code in firmware
2018-12-17 14:29:21 +00:00
-fno-exceptions
2018-12-28 16:30:32 +00:00
-lstdc++
2019-10-11 13:29:41 +01:00
; Exception code in firmware /needs much space!
2018-12-17 14:29:21 +00:00
; -fexceptions
2018-12-28 16:30:32 +00:00
; -lstdc++-exc
2018-12-06 07:48:20 +00:00
2019-10-11 13:29:41 +01:00
[core_pre_ipv6]
2019-10-17 10:12:42 +01:00
; *** Arduino Esp8266 core pre 2.6.x IPv6 for Tasmota (use ONLY if you need IPv6, experimental!)
2019-10-11 13:29:41 +01:00
platform = https://github.com/Jason2866/platform-espressif8266.git#Tasmota
2019-10-11 06:40:55 +01:00
build_flags = ${esp82xx_defaults.build_flags}
2019-10-11 13:29:41 +01:00
-Wl,-Tesp8266.flash.1m.ld
2019-10-11 06:40:55 +01:00
-O2
-DBEARSSL_SSL_BASIC
; nonos-sdk 22y
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
; nonos-sdk 22x
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x
; nonos-sdk-pre-v3
; -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
2019-10-11 13:29:41 +01:00
; lwIP 2 - Higher Bandwidth Low Memory no Features
2019-10-11 06:40:55 +01:00
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
2019-10-11 13:29:41 +01:00
; lwIP 2 - Higher Bandwidth no Features
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
2019-10-11 06:40:55 +01:00
; lwIP 2 - Higher Bandwidth IPv6
-DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
; VTABLES in Flash (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++
2019-10-11 13:29:41 +01:00
; Exception code in firmware /needs much space!
2019-10-11 06:40:55 +01:00
; -fexceptions
; -lstdc++-exc
2019-10-11 13:29:41 +01:00
[core_stage]
; *** Esp8266 core for Arduino version latest beta
platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
2019-07-11 10:02:14 +01:00
build_flags = ${esp82xx_defaults.build_flags}
2019-10-11 13:29:41 +01:00
-Wl,-Teagle.flash.1m.ld
; Code optimization see https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
2019-07-11 10:02:14 +01:00
-O2
-DBEARSSL_SSL_BASIC
; nonos-sdk 22y
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
; nonos-sdk 22x
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x
; nonos-sdk-pre-v3
; -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
2019-10-11 13:29:41 +01:00
; lwIP 2 - Higher Bandwidth Low Memory no Features
2019-07-11 10:02:14 +01:00
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
2019-10-11 13:29:41 +01:00
; lwIP 2 - Higher Bandwidth no Features (Tasmota default)
2019-07-11 10:02:14 +01:00
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
; VTABLES in Flash (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++
2019-10-11 13:29:41 +01:00
; Exception code in firmware /needs much space! 90k
2019-07-11 10:02:14 +01:00
; -fexceptions
; -lstdc++-exc
2018-12-17 14:29:21 +00:00
[core_active]
; Select one core set for platform and build_flags
;platform = ${core_2_3_0.platform}
;build_flags = ${core_2_3_0.build_flags}
2019-05-11 12:58:23 +01:00
;platform = ${core_2_4_2.platform}
;build_flags = ${core_2_4_2.build_flags}
2019-10-11 12:32:25 +01:00
platform = ${core_pre.platform}
build_flags = ${core_pre.build_flags}
2019-10-11 13:29:41 +01:00
;platform = ${core_pre_ipv6.platform}
;build_flags = ${core_pre_ipv6.build_flags}
;platform = ${core_stage.platform}
;build_flags = ${core_stage.build_flags}
2017-09-02 16:24:05 +01:00
2018-12-17 14:29:21 +00:00
[common]
framework = arduino
board = esp01_1m
board_build.flash_mode = dout
platform = ${core_active.platform}
build_flags = ${core_active.build_flags}
2019-08-08 14:36:47 +01:00
; *** Optional Debug messages
2019-08-08 15:24:11 +01:00
; -DDEBUG_TASMOTA_CORE
2019-08-08 14:36:47 +01:00
; -DDEBUG_TASMOTA_DRIVER
; -DDEBUG_TASMOTA_SENSOR
; *** Optional Firmware configurations
2019-02-08 13:55:45 +00:00
; -DFIRMWARE_CLASSIC
; -DFIRMWARE_MINIMAL
; -DFIRMWARE_SENSORS
; -DFIRMWARE_BASIC
; -DFIRMWARE_KNX_NO_EMULATION
; -DFIRMWARE_DISPLAYS
2019-08-30 19:41:01 +01:00
; -DFIRMWARE_IR
; -DFIRMWARE_IR_CUSTOM
2018-12-17 14:29:21 +00:00
; -DUSE_CONFIG_OVERRIDE
2018-08-27 06:18:10 +01:00
2018-12-17 14:29:21 +00:00
; *** Fix espressif8266@1.7.0 induced undesired all warnings
build_unflags = -Wall
; set CPU frequency to 80MHz (default) or 160MHz
board_build.f_cpu = 80000000L
;board_build.f_cpu = 160000000L
monitor_speed = 115200
upload_speed = 115200
upload_resetmethod = nodemcu
; *** Upload Serial reset method for Wemos and NodeMCU
upload_port = COM5
extra_scripts = pio/strip-floats.py
2019-09-13 08:10:36 +01:00
pio/obj-dump.py
2017-09-30 14:53:50 +01:00
; *** Upload file to OTA server using SCP
2018-12-17 14:29:21 +00:00
;upload_port = user@host:/path
;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py
2017-09-30 14:53:50 +01:00
2018-12-17 14:29:21 +00:00
; *** Upload file to OTA server in folder api/arduino using HTTP
;upload_port = domus1:80/api/upload-arduino.php
;extra_scripts = pio/strip-floats.py, pio/http-uploader.py
2017-09-30 14:53:50 +01:00
2018-04-25 13:42:54 +01:00
; *********************************************************************
2018-04-02 10:24:36 +01:00
2018-06-05 22:54:35 +01:00
[env:sonoff]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
2018-06-05 22:54:35 +01:00
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2018-06-05 22:54:35 +01:00
build_flags = ${common.build_flags}
2018-05-16 19:07:57 +01:00
monitor_speed = ${common.monitor_speed}
2018-08-25 23:12:39 +01:00
upload_port = ${common.upload_port}
2018-08-25 23:15:27 +01:00
upload_resetmethod = ${common.upload_resetmethod}
2018-08-25 22:49:59 +01:00
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2017-09-02 16:24:05 +01:00
2018-06-05 22:54:35 +01:00
[env:sonoff-minimal]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
2018-06-05 22:54:35 +01:00
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2019-02-08 13:55:45 +00:00
build_flags = ${common.build_flags} -DFIRMWARE_MINIMAL
2018-05-29 14:27:36 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-10-27 16:15:52 +01:00
extra_scripts = ${common.extra_scripts}
[env:sonoff-basic]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
2019-02-08 13:55:45 +00:00
build_flags = ${common.build_flags} -DFIRMWARE_BASIC
2018-10-27 16:15:52 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-05-29 14:27:36 +01:00
extra_scripts = ${common.extra_scripts}
2018-06-05 22:54:35 +01:00
[env:sonoff-classic]
2018-05-29 14:27:36 +01:00
platform = ${common.platform}
framework = ${common.framework}
2018-06-05 22:54:35 +01:00
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-05-29 14:27:36 +01:00
build_unflags = ${common.build_unflags}
2019-02-08 13:55:45 +00:00
build_flags = ${common.build_flags} -DFIRMWARE_CLASSIC
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-04-20 15:07:06 +01:00
2018-06-05 22:54:35 +01:00
[env:sonoff-knx]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2019-02-08 13:55:45 +00:00
build_flags = ${common.build_flags} -DFIRMWARE_KNX_NO_EMULATION
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-04-02 10:24:36 +01:00
2018-08-28 13:28:36 +01:00
[env:sonoff-sensors]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2019-02-08 13:55:45 +00:00
build_flags = ${common.build_flags} -DFIRMWARE_SENSORS
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-04-23 10:37:46 +01:00
2018-09-25 14:35:49 +01:00
[env:sonoff-display]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
2019-02-08 13:55:45 +00:00
build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS
2018-09-25 14:35:49 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
2019-08-30 19:41:01 +01:00
[env:sonoff-ir]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DUSE_IR_REMOTE_FULL -DFIRMWARE_IR
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
[env:sonoff-ircustom]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DUSE_IR_REMOTE_FULL
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
2018-06-05 22:54:35 +01:00
[env:sonoff-BG]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2018-06-05 22:54:35 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-04-23 10:37:46 +01:00
2018-06-05 22:54:35 +01:00
[env:sonoff-BR]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2018-06-05 22:54:35 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2017-10-23 11:18:15 +01:00
2018-06-05 22:54:35 +01:00
[env:sonoff-CN]
2018-05-15 17:37:20 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-05-15 17:37:20 +01:00
build_unflags = ${common.build_unflags}
2018-06-05 22:54:35 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-CN
2018-05-17 06:28:36 +01:00
monitor_speed = ${common.monitor_speed}
2018-05-15 17:37:20 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-05-15 17:37:20 +01:00
extra_scripts = ${common.extra_scripts}
2018-06-05 22:54:35 +01:00
[env:sonoff-CZ]
2018-05-29 14:40:41 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-05-29 14:40:41 +01:00
build_unflags = ${common.build_unflags}
2018-06-05 22:54:35 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs-CZ
2018-05-29 14:40:41 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-05-29 14:40:41 +01:00
extra_scripts = ${common.extra_scripts}
2018-06-05 22:54:35 +01:00
[env:sonoff-DE]
2018-06-05 22:54:30 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-06-05 22:54:30 +01:00
build_unflags = ${common.build_unflags}
2018-06-05 22:54:35 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE
2018-06-05 22:54:30 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-06-05 22:54:30 +01:00
extra_scripts = ${common.extra_scripts}
2018-02-10 14:13:27 +00:00
[env:sonoff-ES]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2019-04-01 16:41:47 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=es-ES
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2017-12-28 12:43:51 +00:00
2018-02-10 14:13:27 +00:00
[env:sonoff-FR]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr-FR
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-01-18 15:19:28 +00:00
2018-04-19 20:57:14 +01:00
[env:sonoff-GR]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=el-GR
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-04-19 20:57:14 +01:00
2018-10-03 12:55:07 +01:00
[env:sonoff-HE]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=he-HE
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
2018-02-27 13:59:46 +00:00
[env:sonoff-HU]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu-HU
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-02-27 13:59:46 +00:00
2018-02-10 14:13:27 +00:00
[env:sonoff-IT]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=it-IT
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-01-18 15:19:28 +00:00
2019-02-26 09:16:56 +00:00
[env:sonoff-KO]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=ko-KO
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
2018-02-10 14:13:27 +00:00
[env:sonoff-NL]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2017-12-28 12:43:51 +00:00
2018-02-10 14:13:27 +00:00
[env:sonoff-PL]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl-PL
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2017-09-02 16:24:05 +01:00
2018-05-15 17:33:54 +01:00
[env:sonoff-PT]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-PT
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-02-28 17:01:40 +00:00
2018-02-16 16:35:51 +00:00
[env:sonoff-RU]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru-RU
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}
2018-02-16 16:35:51 +00:00
2018-12-16 12:04:46 +00:00
[env:sonoff-SE]
2018-12-05 23:04:22 +00:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=sv-SE
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
2018-12-17 17:41:31 +00:00
[env:sonoff-SK]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
board_build.f_cpu = ${common.board_build.f_cpu}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=sk-SK
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
extra_scripts = ${common.extra_scripts}
2018-08-18 23:49:10 +01:00
[env:sonoff-TR]
2018-05-29 14:27:36 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-05-29 14:27:36 +01:00
build_unflags = ${common.build_unflags}
2018-08-18 23:49:10 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=tr-TR
2018-05-29 14:27:36 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-05-29 14:27:36 +01:00
extra_scripts = ${common.extra_scripts}
2018-08-18 23:49:10 +01:00
[env:sonoff-TW]
2018-08-18 23:40:51 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-08-18 23:40:51 +01:00
build_unflags = ${common.build_unflags}
2018-08-18 23:49:10 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-TW
2018-08-18 23:40:51 +01:00
monitor_speed = ${common.monitor_speed}
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-08-18 23:40:51 +01:00
extra_scripts = ${common.extra_scripts}
2018-08-18 23:49:10 +01:00
[env:sonoff-UK]
2018-04-25 13:42:54 +01:00
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
2018-05-29 14:27:36 +01:00
board_build.flash_mode = ${common.board_build.flash_mode}
2018-08-27 06:54:11 +01:00
board_build.f_cpu = ${common.board_build.f_cpu}
2018-04-25 13:42:54 +01:00
build_unflags = ${common.build_unflags}
2018-08-18 23:49:10 +01:00
build_flags = ${common.build_flags} -DMY_LANGUAGE=uk-UK
2018-05-16 10:01:18 +01:00
monitor_speed = ${common.monitor_speed}
2018-04-25 13:42:54 +01:00
upload_port = ${common.upload_port}
2018-08-25 22:49:59 +01:00
upload_resetmethod = ${common.upload_resetmethod}
upload_speed = ${common.upload_speed}
2018-04-25 13:42:54 +01:00
extra_scripts = ${common.extra_scripts}