mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Refactor PlatformIO.ini
Deleting uneeded entrys. Moving and adding some entrys.
This commit is contained in:
parent
320251f112
commit
3d2914bf8e
@ -61,12 +61,10 @@ board = esp01_1m
|
||||
board_build.flash_mode = dout
|
||||
board_build.ldscript = eagle.flash.1m.ld
|
||||
|
||||
platform = ${core_active.platform}
|
||||
platform_packages = ${core_active.platform_packages}
|
||||
build_flags = ${core_active.build_flags}
|
||||
|
||||
; *** Fix espressif8266@1.7.0 induced undesired all warnings
|
||||
build_unflags = -Wall
|
||||
platform = ${core.platform}
|
||||
platform_packages = ${core.platform_packages}
|
||||
build_unflags = ${core.build_unflags}
|
||||
build_flags = ${core.build_flags}
|
||||
|
||||
board_build.f_cpu = 80000000L
|
||||
board_build.f_flash = 40000000L
|
||||
@ -84,12 +82,17 @@ extra_scripts = pio/strip-floats.py
|
||||
pio/override_copy.py
|
||||
|
||||
[esp_defaults]
|
||||
; *** Fix espressif8266@1.7.0 induced undesired all warnings
|
||||
build_unflags = -Wall
|
||||
build_flags = -D_IR_ENABLE_DEFAULT_=false
|
||||
-DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=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
|
||||
; *********************************************************************
|
||||
; *** Use custom settings from file user_config_override.h
|
||||
-DUSE_CONFIG_OVERRIDE
|
||||
; *********************************************************************
|
||||
|
||||
|
||||
[esp82xx_defaults]
|
||||
build_flags = ${esp_defaults.build_flags}
|
||||
@ -118,13 +121,10 @@ build_flags = -DUSE_IR_REMOTE_FULL
|
||||
-U_IR_ENABLE_DEFAULT_
|
||||
-DDECODE_PRONTO=false -DSEND_PRONTO=false
|
||||
|
||||
[core_active]
|
||||
platform = ${tasmota_core.platform}
|
||||
platform_packages = ${tasmota_core.platform_packages}
|
||||
build_flags = ${tasmota_core.build_flags}
|
||||
|
||||
[tasmota_core]
|
||||
[core]
|
||||
; *** Esp8266 Arduino core 2.7.1
|
||||
platform = espressif8266@2.5.3
|
||||
platform_packages =
|
||||
build_unflags = ${esp_defaults.build_unflags}
|
||||
build_flags = ${esp82xx_defaults.build_flags}
|
||||
|
Loading…
x
Reference in New Issue
Block a user