mirror of https://github.com/arendst/Tasmota.git
Update platformio.ini
This commit is contained in:
parent
47e62ce4b1
commit
0b98c8a54f
106
platformio.ini
106
platformio.ini
|
@ -11,16 +11,16 @@
|
|||
src_dir = sonoff
|
||||
|
||||
; *** Uncomment one of the lines below to build/upload only one environment
|
||||
env_default = sonoff
|
||||
;env_default = sonoff-DE_4MB
|
||||
;env_default = sonoff-EN_4MB
|
||||
;env_default = sonoff-ES_4MB
|
||||
;env_default = sonoff-minimal
|
||||
;env_default = sonoff-classic
|
||||
;env_default = sonoff-knx
|
||||
;env_default = sonoff-allsensors
|
||||
;env_default = sonoff-BG
|
||||
;env_default = sonoff-BR
|
||||
;env_default = sonoff-CN
|
||||
;env_default = sonoff-CZ
|
||||
;env_default = sonoff-DE
|
||||
;env_default = sonoff-EN
|
||||
;env_default = sonoff-ES
|
||||
;env_default = sonoff-FR
|
||||
;env_default = sonoff-GR
|
||||
|
@ -50,8 +50,20 @@ build_unflags = -Wall
|
|||
build_flags =
|
||||
-Wl,-Tesp8266.flash.1m0.ld
|
||||
-DVTABLES_IN_FLASH
|
||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
||||
-DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
; -DUSE_CONFIG_OVERRIDE
|
||||
-DUSE_KNX_NO_EMULATION
|
||||
|
||||
build_flags_4MB =
|
||||
-Wl,-Tesp8266.flash.4m1m.ld
|
||||
-DVTABLES_IN_FLASH
|
||||
-DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
; -DUSE_CONFIG_OVERRIDE
|
||||
-DUSE_KNX_NO_EMULATION
|
||||
|
||||
; *** Fix Esp/Arduino core 2.4.x induced Tasmota unused floating point includes
|
||||
extra_scripts = pio/strip-floats.py
|
||||
|
@ -60,11 +72,13 @@ extra_scripts = pio/strip-floats.py
|
|||
monitor_baud = 115200
|
||||
|
||||
; *** Upload Serial reset method for Wemos and NodeMCU
|
||||
;upload_speed = 115200
|
||||
upload_speed = 512000
|
||||
upload_speed = 115200
|
||||
;upload_speed = 512000
|
||||
upload_resetmethod = nodemcu
|
||||
upload_port = COM5
|
||||
|
||||
;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
|
||||
;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py
|
||||
|
@ -75,13 +89,38 @@ upload_port = COM5
|
|||
|
||||
; *********************************************************************
|
||||
|
||||
[env:sonoff]
|
||||
[env:sonoff-DE_4MB]
|
||||
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}
|
||||
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=de-DE
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-EN_4MB]
|
||||
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_4MB}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_resetmethod = ${common.upload_resetmethod}
|
||||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-ES_4MB]
|
||||
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_4MB} -DMY_LANGUAGE=es-AR
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_resetmethod = ${common.upload_resetmethod}
|
||||
|
@ -100,42 +139,6 @@ upload_speed = ${common.upload_speed}
|
|||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-classic]
|
||||
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} -DUSE_CLASSIC
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-knx]
|
||||
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} -DUSE_KNX_NO_EMULATION
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-allsensors]
|
||||
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} -DUSE_ALL_SENSORS
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-BG]
|
||||
platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
|
@ -196,6 +199,19 @@ upload_speed = ${common.upload_speed}
|
|||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-EN]
|
||||
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}
|
||||
monitor_baud = ${common.monitor_baud}
|
||||
upload_speed = ${common.upload_speed}
|
||||
upload_resetmethod = ${common.upload_resetmethod}
|
||||
upload_port = ${common.upload_port}
|
||||
extra_scripts = ${common.extra_scripts}
|
||||
|
||||
[env:sonoff-ES]
|
||||
platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
|
|
Loading…
Reference in New Issue