mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Update platformio.ini
This commit is contained in:
parent
8eda46abba
commit
1bc3057c8a
@ -13,7 +13,7 @@ src_dir = sonoff
|
||||
; *** Uncomment one of the lines below to build/upload only one environment
|
||||
;env_default = sonoff-DE_4MB
|
||||
;env_default = sonoff-EN_4MB
|
||||
;env_default = sonoff-ES_4MB
|
||||
env_default = sonoff-ES_4MB
|
||||
;env_default = sonoff-minimal
|
||||
;env_default = sonoff-BG
|
||||
;env_default = sonoff-BR
|
||||
@ -49,6 +49,10 @@ framework = arduino
|
||||
board = esp01_1m
|
||||
board_build.flash_mode = dout
|
||||
|
||||
; set CPU frequency to 80MHz or 160MHz
|
||||
;board_build.f_cpu = 80000000L
|
||||
board_build.f_cpu = 160000000L
|
||||
|
||||
; *** Fix espressif8266@1.7.0 induced undesired all warnings
|
||||
build_unflags = -Wall
|
||||
|
||||
@ -60,15 +64,29 @@ build_flags =
|
||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
; -DUSE_CONFIG_OVERRIDE
|
||||
-DUSE_KNX_NO_EMULATION
|
||||
; VTABLES in Flash (default)
|
||||
-DVTABLES_IN_FLASH
|
||||
; VTABLES in Heap
|
||||
; -DVTABLES_IN_DRAM
|
||||
; VTABLES in IRAM
|
||||
; -DVTABLES_IN_IRAM
|
||||
|
||||
board_4MB = nodemcu
|
||||
build_flags_4MB =
|
||||
-Wl,-Tesp8266.flash.4m1m.ld
|
||||
; -Wl,-Tesp8266.flash.4m2m.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
|
||||
; VTABLES in Flash (default)
|
||||
-DVTABLES_IN_FLASH
|
||||
; VTABLES in Heap
|
||||
; -DVTABLES_IN_DRAM
|
||||
; VTABLES in IRAM
|
||||
; -DVTABLES_IN_IRAM
|
||||
|
||||
; *** Serial Monitor options
|
||||
monitor_speed = 115200
|
||||
@ -78,7 +96,7 @@ upload_speed = 115200
|
||||
upload_resetmethod = nodemcu
|
||||
upload_port = COM5
|
||||
|
||||
;NOTE - command to erase flash from windows console: esptool.py --port COM18 erase_flash
|
||||
;NOTE - command to erase flash from windows console: esptool.py --port COM31 erase_flash
|
||||
|
||||
|
||||
; *** Fix Esp/Arduino core 2.4.x induced Tasmota unused floating point includes
|
||||
@ -97,8 +115,9 @@ extra_scripts = pio/strip-floats.py
|
||||
[env:sonoff-DE_4MB]
|
||||
platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board = ${common.board_4MB}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=de-DE -DMODULE=WEMOS
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -110,8 +129,9 @@ extra_scripts = ${common.extra_scripts}
|
||||
[env:sonoff-EN_4MB]
|
||||
platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board = ${common.board_4MB}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_4MB} -DMODULE=WEMOS
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -123,8 +143,9 @@ extra_scripts = ${common.extra_scripts}
|
||||
[env:sonoff-ES_4MB]
|
||||
platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board = ${common.board_4MB}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags_4MB} -DMY_LANGUAGE=es-AR -DMODULE=WEMOS
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -138,6 +159,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DBE_MINIMAL
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -150,6 +172,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -162,6 +185,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-BR
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -174,6 +198,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-CN
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -186,6 +211,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=cs-CZ
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -198,6 +224,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=de-DE
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -210,6 +237,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags}
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -222,6 +250,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=es-AR
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -234,6 +263,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=fr-FR
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -246,6 +276,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=el-GR
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -258,6 +289,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=hu-HU
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -270,6 +302,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=it-IT
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -282,6 +315,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=nl-NL
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -294,6 +328,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pl-PL
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -306,6 +341,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=pt-PT
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -318,6 +354,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=ru-RU
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -330,6 +367,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=zh-TW
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
@ -342,6 +380,7 @@ platform = ${common.platform}
|
||||
framework = ${common.framework}
|
||||
board = ${common.board}
|
||||
board_build.flash_mode = ${common.board_build.flash_mode}
|
||||
board_build.f_cpu = ${common.board_build.f_cpu}
|
||||
build_unflags = ${common.build_unflags}
|
||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=uk-UK
|
||||
monitor_speed = ${common.monitor_speed}
|
||||
|
Loading…
x
Reference in New Issue
Block a user