|
|
@ -33,11 +33,15 @@ src_dir = sonoff
|
|
|
|
;env_default = sonoff-TW
|
|
|
|
;env_default = sonoff-TW
|
|
|
|
|
|
|
|
|
|
|
|
[common] ; ************************************************************
|
|
|
|
[common] ; ************************************************************
|
|
|
|
; *** Esp8266 core for Arduino version
|
|
|
|
; *** Esp8266 core for Arduino version 2.3.0
|
|
|
|
platform = espressif8266@1.5.0 ; v2.3.0
|
|
|
|
platform = espressif8266@1.5.0
|
|
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
|
|
; *** Esp8266 core for Arduino version 2.4.0
|
|
|
|
;platform = espressif8266@1.7.0 ; v2.4.1
|
|
|
|
;platform = espressif8266@1.6.0
|
|
|
|
|
|
|
|
; *** Esp8266 core for Arduino version 2.4.1
|
|
|
|
|
|
|
|
;platform = espressif8266@1.7.0
|
|
|
|
|
|
|
|
; *** Esp8266 core for Arduino version latest beta
|
|
|
|
;platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
|
|
|
;platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
|
|
|
|
|
|
|
; *** Esp8266 core for Arduino current version
|
|
|
|
;platform = espressif8266
|
|
|
|
;platform = espressif8266
|
|
|
|
|
|
|
|
|
|
|
|
framework = arduino
|
|
|
|
framework = arduino
|
|
|
@ -69,7 +73,7 @@ build_flags_4MB =
|
|
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
|
|
|
|
|
|
|
|
; *** Serial Monitor options
|
|
|
|
; *** Serial Monitor options
|
|
|
|
monitor_baud = 115200
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
|
|
|
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
|
|
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
|
|
|
upload_speed = 115200
|
|
|
|
upload_speed = 115200
|
|
|
@ -96,7 +100,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=de-DE
|
|
|
|
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=de-DE
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_baud}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -108,7 +112,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags_4MB}
|
|
|
|
build_flags = ${common.build_flags_4MB}
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_baud}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
@ -121,7 +125,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=es-AR
|
|
|
|
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=es-AR
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_baud}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
@ -134,7 +138,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DBE_MINIMAL
|
|
|
|
build_flags = ${common.build_flags} -DBE_MINIMAL
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_baud}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -146,7 +150,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -158,7 +162,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -170,7 +174,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-CN
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-CN
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -182,7 +186,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs-CZ
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs-CZ
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -194,7 +198,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -219,7 +223,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=es-AR
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=es-AR
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -231,7 +235,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr-FR
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr-FR
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -243,7 +247,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=el-GR
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=el-GR
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -255,7 +259,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu-HU
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu-HU
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -267,7 +271,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=it-IT
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=it-IT
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -279,7 +283,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -291,7 +295,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl-PL
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl-PL
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -303,7 +307,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-PT
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-PT
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -315,7 +319,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru-RU
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru-RU
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
@ -327,7 +331,7 @@ board = ${common.board}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
board_flash_mode = ${common.board_flash_mode}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-TW
|
|
|
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-TW
|
|
|
|
monitor_baud = ${common.monitor_baud}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
upload_port = ${common.upload_port}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|
extra_scripts = ${common.extra_scripts}
|
|
|
|