diff --git a/platformio.ini b/platformio.ini index 449904787..e10abbee0 100644 --- a/platformio.ini +++ b/platformio.ini @@ -31,6 +31,7 @@ env_default = sonoff ;env_default = sonoff-PT ;env_default = sonoff-RU ;env_default = sonoff-UK +;env_default = sonoff-TR ;env_default = sonoff-TW [common] ; ************************************************************ @@ -44,7 +45,7 @@ platform = espressif8266@1.5.0 ;platform = espressif8266@1.8.0 ; *** Esp8266 core for Arduino version latest beta ;platform = https://github.com/platformio/platform-espressif8266.git#feature/stage -; *** Esp8266 core for Arduino current version +; *** Esp8266 core for Arduino current version (located in %USERPROFILE%\.platformio\platforms\espressif8266) ;platform = espressif8266 framework = arduino @@ -321,6 +322,18 @@ upload_speed = ${common.upload_speed} upload_port = ${common.upload_port} extra_scripts = ${common.extra_scripts} +[env:sonoff-TR] +platform = ${common.platform} +framework = ${common.framework} +board = ${common.board} +board_build.flash_mode = ${common.board_build.flash_mode} +build_unflags = ${common.build_unflags} +build_flags = ${common.build_flags} -DMY_LANGUAGE=tr-TR +monitor_speed = ${common.monitor_speed} +upload_speed = ${common.upload_speed} +upload_port = ${common.upload_port} +extra_scripts = ${common.extra_scripts} + [env:sonoff-TW] platform = ${common.platform} framework = ${common.framework}