mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Update platformio.ini
This commit is contained in:
parent
1697ada1a3
commit
766e76288a
@ -27,7 +27,8 @@ src_dir = sonoff
|
|||||||
;env_default = sonoff-IT
|
;env_default = sonoff-IT
|
||||||
;env_default = sonoff-NL
|
;env_default = sonoff-NL
|
||||||
;env_default = sonoff-PL
|
;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-RU
|
||||||
;env_default = sonoff-TW
|
;env_default = sonoff-TW
|
||||||
|
|
||||||
@ -74,8 +75,7 @@ upload_speed = 115200
|
|||||||
upload_resetmethod = nodemcu
|
upload_resetmethod = nodemcu
|
||||||
upload_port = COM5
|
upload_port = COM5
|
||||||
|
|
||||||
;command to erase flash on command line:
|
;NOTE - command to erase flash from windows console: esptool.py --port COM18 erase_flash
|
||||||
; esptool.py --port COM5 erase_flash
|
|
||||||
|
|
||||||
; *** Upload file to OTA server using SCP
|
; *** Upload file to OTA server using SCP
|
||||||
;upload_port = user@host:/path
|
;upload_port = user@host:/path
|
||||||
@ -282,7 +282,7 @@ 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}
|
||||||
|
|
||||||
[env:sonoff-PT]
|
[env:sonoff-PT_PT]
|
||||||
platform = ${common.platform}
|
platform = ${common.platform}
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
board = ${common.board}
|
board = ${common.board}
|
||||||
@ -294,6 +294,18 @@ 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}
|
||||||
|
|
||||||
|
[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]
|
[env:sonoff-RU]
|
||||||
platform = ${common.platform}
|
platform = ${common.platform}
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user