Update platformio.ini

This commit is contained in:
Adrian Scillato 2018-05-11 13:34:21 -03:00 committed by GitHub
parent 1697ada1a3
commit 766e76288a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,8 @@ src_dir = sonoff
;env_default = sonoff-IT
;env_default = sonoff-NL
;env_default = sonoff-PL
;env_default = sonoff-PT
;env_default = sonoff-PT_PT
;env_default = sonoff-PT_BR
;env_default = sonoff-RU
;env_default = sonoff-TW
@ -74,8 +75,7 @@ upload_speed = 115200
upload_resetmethod = nodemcu
upload_port = COM5
;command to erase flash on command line:
; esptool.py --port COM5 erase_flash
;NOTE - command to erase flash from windows console: esptool.py --port COM18 erase_flash
; *** Upload file to OTA server using SCP
;upload_port = user@host:/path
@ -282,7 +282,7 @@ upload_speed = ${common.upload_speed}
upload_port = ${common.upload_port}
extra_scripts = ${common.extra_scripts}
[env:sonoff-PT]
[env:sonoff-PT_PT]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
@ -294,6 +294,18 @@ upload_speed = ${common.upload_speed}
upload_port = ${common.upload_port}
extra_scripts = ${common.extra_scripts}
[env:sonoff-PT_BR]
platform = ${common.platform}
framework = ${common.framework}
board = ${common.board}
board_flash_mode = ${common.board_flash_mode}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR
monitor_baud = ${common.monitor_baud}
upload_speed = ${common.upload_speed}
upload_port = ${common.upload_port}
extra_scripts = ${common.extra_scripts}
[env:sonoff-RU]
platform = ${common.platform}
framework = ${common.framework}