mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 12:46:34 +00:00
Beautify 2
This commit is contained in:
parent
8d51be770e
commit
2a2c79a0ec
137
platformio.ini
137
platformio.ini
@ -52,96 +52,95 @@ default_envs =
|
|||||||
; *********************************************************************
|
; *********************************************************************
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
description = Provide ESP8266 / ESP32 based devices with Web, MQTT and OTA firmware
|
description = Provide ESP8266 / ESP32 based devices with Web, MQTT and OTA firmware
|
||||||
src_dir = tasmota
|
src_dir = tasmota
|
||||||
lib_dir = lib/default
|
lib_dir = lib/default
|
||||||
build_cache_dir = .cache
|
build_cache_dir = .cache
|
||||||
extra_configs = platformio_tasmota32.ini
|
extra_configs = platformio_tasmota32.ini
|
||||||
platformio_tasmota_env.ini
|
platformio_tasmota_env.ini
|
||||||
platformio_tasmota_env32.ini
|
platformio_tasmota_env32.ini
|
||||||
platformio_override.ini
|
platformio_override.ini
|
||||||
default_envs = ${build_envs.default_envs}
|
default_envs = ${build_envs.default_envs}
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp01_1m
|
board = esp01_1m
|
||||||
board_build.flash_mode = dout
|
board_build.flash_mode = dout
|
||||||
board_build.ldscript = eagle.flash.1m.ld
|
board_build.ldscript = eagle.flash.1m.ld
|
||||||
|
|
||||||
platform = ${core.platform}
|
platform = ${core.platform}
|
||||||
platform_packages = ${core.platform_packages}
|
platform_packages = ${core.platform_packages}
|
||||||
build_unflags = ${core.build_unflags}
|
build_unflags = ${core.build_unflags}
|
||||||
build_flags = ${core.build_flags}
|
build_flags = ${core.build_flags}
|
||||||
|
|
||||||
board_build.f_cpu = 80000000L
|
board_build.f_cpu = 80000000L
|
||||||
board_build.f_flash = 40000000L
|
board_build.f_flash = 40000000L
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
upload_speed = 115200
|
upload_speed = 115200
|
||||||
; *** Upload Serial reset method for Wemos and NodeMCU
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
||||||
upload_resetmethod = nodemcu
|
upload_resetmethod = nodemcu
|
||||||
upload_port = COM5
|
upload_port = COM5
|
||||||
extra_scripts = ${scripts_defaults.extra_scripts}
|
extra_scripts = ${scripts_defaults.extra_scripts}
|
||||||
lib_ldf_mode = chain+
|
lib_ldf_mode = chain+
|
||||||
shared_libdeps_dir = lib
|
shared_libdeps_dir = lib
|
||||||
lib_extra_dirs =
|
lib_extra_dirs =
|
||||||
lib/lib_basic
|
lib/lib_basic
|
||||||
lib/lib_i2c
|
lib/lib_i2c
|
||||||
lib/lib_display
|
lib/lib_display
|
||||||
lib/lib_ssl
|
lib/lib_ssl
|
||||||
lib/lib_audio
|
lib/lib_audio
|
||||||
lib/lib_rf
|
lib/lib_rf
|
||||||
lib/lib_div
|
lib/lib_div
|
||||||
|
|
||||||
[scripts_defaults]
|
[scripts_defaults]
|
||||||
extra_scripts = pio/strip-floats.py
|
extra_scripts = pio/strip-floats.py
|
||||||
pio/name-firmware.py
|
pio/name-firmware.py
|
||||||
pio/gzip-firmware.py
|
pio/gzip-firmware.py
|
||||||
pio/override_copy.py
|
pio/override_copy.py
|
||||||
|
|
||||||
[esp_defaults]
|
[esp_defaults]
|
||||||
; *** remove undesired all warnings
|
; *** remove undesired all warnings
|
||||||
build_unflags = -Wall
|
build_unflags = -Wall
|
||||||
-Wdeprecated-declarations
|
-Wdeprecated-declarations
|
||||||
build_flags = -Wno-deprecated-declarations
|
build_flags = -Wno-deprecated-declarations
|
||||||
-D_IR_ENABLE_DEFAULT_=false
|
-D_IR_ENABLE_DEFAULT_=false
|
||||||
-DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true
|
-DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true
|
||||||
-DDECODE_RC5=true -DSEND_RC5=true -DDECODE_RC6=true -DSEND_RC6=true
|
-DDECODE_RC5=true -DSEND_RC5=true -DDECODE_RC6=true -DSEND_RC6=true
|
||||||
; new mechanism to set the IRremoteESP8266 supported protocols: none except HASH, NEC, RC5, RC6
|
; new mechanism to set the IRremoteESP8266 supported protocols: none except HASH, NEC, RC5, RC6
|
||||||
; *********************************************************************
|
; *********************************************************************
|
||||||
; *** Use custom settings from file user_config_override.h
|
; *** Use custom settings from file user_config_override.h
|
||||||
-DUSE_CONFIG_OVERRIDE
|
-DUSE_CONFIG_OVERRIDE
|
||||||
; *********************************************************************
|
; *********************************************************************
|
||||||
|
|
||||||
|
|
||||||
[esp82xx_defaults]
|
[esp82xx_defaults]
|
||||||
build_flags = ${esp_defaults.build_flags}
|
build_flags = ${esp_defaults.build_flags}
|
||||||
-Wl,-Map,firmware.map
|
-Wl,-Map,firmware.map
|
||||||
-D CORE_DEBUG_LEVEL=0
|
-D CORE_DEBUG_LEVEL=0
|
||||||
-D NDEBUG
|
-D NDEBUG
|
||||||
-mtarget-align
|
-mtarget-align
|
||||||
-DFP_IN_IROM
|
-DFP_IN_IROM
|
||||||
-DBEARSSL_SSL_BASIC
|
-DBEARSSL_SSL_BASIC
|
||||||
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
|
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
|
||||||
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
|
||||||
; lwIP 2 - Higher Bandwidth no Features
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
||||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
; VTABLES in Flash
|
||||||
; VTABLES in Flash
|
-DVTABLES_IN_FLASH
|
||||||
-DVTABLES_IN_FLASH
|
; remove the 4-bytes alignment for PSTR()
|
||||||
; remove the 4-bytes alignment for PSTR()
|
-DPSTR_ALIGN=1
|
||||||
-DPSTR_ALIGN=1
|
; restrict to minimal mime-types
|
||||||
; restrict to minimal mime-types
|
-DMIMETYPE_MINIMAL
|
||||||
-DMIMETYPE_MINIMAL
|
|
||||||
|
|
||||||
[irremoteesp_full]
|
[irremoteesp_full]
|
||||||
build_flags = -DUSE_IR_REMOTE_FULL
|
build_flags = -DUSE_IR_REMOTE_FULL
|
||||||
-U_IR_ENABLE_DEFAULT_
|
-U_IR_ENABLE_DEFAULT_
|
||||||
-DDECODE_PRONTO=false -DSEND_PRONTO=false
|
-DDECODE_PRONTO=false -DSEND_PRONTO=false
|
||||||
|
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4
|
; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4
|
||||||
platform = espressif8266@2.6.2
|
platform = espressif8266@2.6.2
|
||||||
platform_packages = framework-arduinoespressif8266@https://github.com/tasmota/Arduino/releases/download/2.7.4.5/esp8266-2.7.4.5.zip
|
platform_packages = framework-arduinoespressif8266@https://github.com/tasmota/Arduino/releases/download/2.7.4.5/esp8266-2.7.4.5.zip
|
||||||
platformio/tool-esptool @ 1.413.0
|
platformio/tool-esptool @ 1.413.0
|
||||||
build_unflags = ${esp_defaults.build_unflags}
|
build_unflags = ${esp_defaults.build_unflags}
|
||||||
build_flags = ${esp82xx_defaults.build_flags}
|
build_flags = ${esp82xx_defaults.build_flags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user