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
|
|
|
|
|
2017-09-30 14:53:50 +01:00
|
|
|
; *** Uncomment one of the lines below to build/upload only one environment
|
2018-06-05 22:54:35 +01:00
|
|
|
env_default = sonoff
|
2018-02-10 14:13:27 +00:00
|
|
|
;env_default = sonoff-minimal
|
2018-06-05 22:54:35 +01:00
|
|
|
;env_default = sonoff-classic
|
|
|
|
;env_default = sonoff-knx
|
2018-08-28 13:28:36 +01:00
|
|
|
;env_default = sonoff-sensors
|
2018-04-20 15:07:06 +01:00
|
|
|
;env_default = sonoff-BG
|
2018-05-15 17:33:54 +01:00
|
|
|
;env_default = sonoff-BR
|
2018-04-23 10:37:46 +01:00
|
|
|
;env_default = sonoff-CN
|
2018-04-02 10:24:36 +01:00
|
|
|
;env_default = sonoff-CZ
|
2017-10-18 17:22:34 +01:00
|
|
|
;env_default = sonoff-DE
|
2018-01-18 15:19:28 +00:00
|
|
|
;env_default = sonoff-ES
|
|
|
|
;env_default = sonoff-FR
|
2018-04-19 20:57:14 +01:00
|
|
|
;env_default = sonoff-GR
|
2018-02-27 13:59:46 +00:00
|
|
|
;env_default = sonoff-HU
|
2017-12-28 12:43:51 +00:00
|
|
|
;env_default = sonoff-IT
|
2018-01-18 15:19:28 +00:00
|
|
|
;env_default = sonoff-NL
|
|
|
|
;env_default = sonoff-PL
|
2018-05-15 17:33:54 +01:00
|
|
|
;env_default = sonoff-PT
|
2018-02-16 16:35:51 +00:00
|
|
|
;env_default = sonoff-RU
|
2018-08-18 23:40:51 +01:00
|
|
|
;env_default = sonoff-TR
|
2018-06-05 22:54:35 +01:00
|
|
|
;env_default = sonoff-TW
|
2018-08-18 23:49:10 +01:00
|
|
|
;env_default = sonoff-UK
|
2017-06-03 21:13:35 +01:00
|
|
|
|
2018-04-25 13:42:54 +01:00
|
|
|
[common] ; ************************************************************
|
2018-05-16 10:23:40 +01:00
|
|
|
; *** Esp8266 core for Arduino version 2.3.0
|
2018-05-16 10:01:18 +01:00
|
|
|
platform = espressif8266@1.5.0
|
2018-05-16 10:23:40 +01:00
|
|
|
; *** Esp8266 core for Arduino version 2.4.0
|
2018-05-16 10:01:18 +01:00
|
|
|
;platform = espressif8266@1.6.0
|
2018-05-16 10:23:40 +01:00
|
|
|
; *** Esp8266 core for Arduino version 2.4.1
|
2018-07-06 17:00:50 +01:00
|
|
|
;platform = espressif8266@1.7.3
|
2018-08-15 23:03:15 +01:00
|
|
|
; *** Esp8266 core for Arduino version 2.4.2
|
|
|
|
;platform = espressif8266@1.8.0
|
2018-05-16 10:23:40 +01:00
|
|
|
; *** Esp8266 core for Arduino version latest beta
|
2018-04-25 13:42:54 +01:00
|
|
|
;platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
2018-08-18 23:40:51 +01:00
|
|
|
; *** Esp8266 core for Arduino current version (located in %USERPROFILE%\.platformio\platforms\espressif8266)
|
2018-05-02 04:32:29 +01:00
|
|
|
;platform = espressif8266
|
2018-04-25 13:42:54 +01:00
|
|
|
|
2017-01-28 15:44:00 +00:00
|
|
|
framework = arduino
|
|
|
|
board = esp01_1m
|
2018-05-29 14:27:36 +01:00
|
|
|
board_build.flash_mode = dout
|
2018-04-25 11:06:53 +01:00
|
|
|
|
2018-08-27 06:18:10 +01:00
|
|
|
; set CPU frequency to 80MHz (default) or 160MHz
|
|
|
|
board_build.f_cpu = 80000000L
|
|
|
|
;board_build.f_cpu = 160000000L
|
|
|
|
|
2018-04-25 11:06:53 +01:00
|
|
|
; *** Fix espressif8266@1.7.0 induced undesired all warnings
|
|
|
|
build_unflags = -Wall
|
|
|
|
|
|
|
|
build_flags =
|
2018-09-02 14:23:11 +01:00
|
|
|
-Wl,-Tesp8266.flash.1m0.ld
|
2018-08-27 06:18:10 +01:00
|
|
|
; -DUSE_CONFIG_OVERRIDE
|
|
|
|
; lwIP 1.4 (Default)
|
2018-08-28 13:28:36 +01:00
|
|
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
2018-08-27 06:18:10 +01:00
|
|
|
; lwIP 2 - Low Memory
|
|
|
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
|
|
|
; lwIP 2 - Higher Bandwitdh
|
2018-08-28 13:28:36 +01:00
|
|
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
2018-08-27 06:18:10 +01:00
|
|
|
; VTABLES in Flash (default)
|
|
|
|
-DVTABLES_IN_FLASH
|
|
|
|
; VTABLES in Heap
|
|
|
|
; -DVTABLES_IN_DRAM
|
|
|
|
; VTABLES in IRAM
|
|
|
|
; -DVTABLES_IN_IRAM
|
2018-04-25 11:06:53 +01:00
|
|
|
|
2017-09-30 14:53:50 +01:00
|
|
|
; *** Serial Monitor options
|
2018-05-16 10:01:18 +01:00
|
|
|
monitor_speed = 115200
|
2017-09-02 16:24:05 +01:00
|
|
|
|
2017-09-30 14:53:50 +01:00
|
|
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
2018-07-06 17:00:50 +01:00
|
|
|
upload_speed = 115200
|
2018-04-25 13:42:54 +01:00
|
|
|
upload_resetmethod = nodemcu
|
2018-04-26 09:12:44 +01:00
|
|
|
upload_port = COM5
|
2018-08-27 06:18:10 +01:00
|
|
|
|
2018-05-24 13:25:52 +01:00
|
|
|
; *** Fix Esp/Arduino core 2.4.x induced Tasmota unused floating point includes
|
|
|
|
extra_scripts = pio/strip-floats.py
|
2017-09-30 14:53:50 +01:00
|
|
|
|
|
|
|
; *** Upload file to OTA server using SCP
|
|
|
|
;upload_port = user@host:/path
|
2018-04-25 11:06:53 +01:00
|
|
|
;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py
|
2017-09-30 14:53:50 +01:00
|
|
|
|
|
|
|
; *** Upload file to OTA server using HTTP
|
2018-04-26 09:12:44 +01:00
|
|
|
;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}
|
2018-06-05 22:54:35 +01:00
|
|
|
build_flags = ${common.build_flags} -DBE_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-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}
|
2018-06-05 22:54:35 +01:00
|
|
|
build_flags = ${common.build_flags} -DUSE_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}
|
2018-06-05 22:54:35 +01:00
|
|
|
build_flags = ${common.build_flags} -DUSE_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}
|
2018-06-05 22:54:35 +01:00
|
|
|
build_flags = ${common.build_flags} -DUSE_ALL_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-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}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=es-AR
|
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-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
|
|
|
|
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-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}
|