Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ htmljs/node_modules/
.DS_Store
.vscode/*.db
.vscode/.browse.c_cpp.db*
.pio/
15 changes: 10 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
; http://docs.platformio.org/page/projectconf.html

[platformio]
env_default = sonoff, sonoff-esp8285
default_envs = development
#sonoff OTA no longer supported
#env_default = classic, classic-spanish, classic-portuguese-br, classic-slovak, classic-tw, newui, newui-tw, newui-spanish, newui-portuguese-br, newui-slovak, newui-oled, thorrax, sonoff, sonoff-esp8285 , thorrax-classic

Expand All @@ -32,7 +32,9 @@ build_flags = -Wl,-Tesp8266.flash.4m2m.ld
monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}

upload_port = /dev/cu.wchusbserial1410
#upload_port not needed since platformio autoselects
#If autoselect fails, uncomment below and set port
#upload_port = /dev/cu.wchusbserial1410

[env:development-esp8285]
#board_build.flash_mode = dout
Expand All @@ -46,10 +48,13 @@ build_flags = -Wl,-Tesp8266.flash.1m64.ld -DBOARD=Sonoff -DUseClassicFrontEnd=tr
lib_deps = ${common_env_data.lib_deps_external}


monitor_speed = 115200
lib_deps = ${common_env_data.lib_deps_external}
#Duplicates
#monitor_speed = 115200
#lib_deps = ${common_env_data.lib_deps_external}

upload_port = /dev/cu.wchusbserial1410
#upload_port not needed since platformio autoselects
#If autoselect fails, uncomment below and set port
#upload_port = /dev/cu.wchusbserial1410


[env:classic]
Expand Down