mirror of https://github.com/arendst/Tasmota.git
Merge pull request #8198 from Jason2866/patch-1
Minor fixes and optimizations in PlatformIO
This commit is contained in:
commit
7ca9659d3d
|
@ -87,17 +87,21 @@ extra_scripts = pio/strip-floats.py
|
||||||
pio/name-firmware.py
|
pio/name-firmware.py
|
||||||
pio/gzip-firmware.py
|
pio/gzip-firmware.py
|
||||||
|
|
||||||
[esp82xx_defaults]
|
[esp_defaults]
|
||||||
build_flags = -D NDEBUG
|
build_flags = -D_IR_ENABLE_DEFAULT_=false
|
||||||
-mtarget-align
|
|
||||||
-Wl,-Map,firmware.map
|
|
||||||
-DFP_IN_IROM
|
|
||||||
; new mechanism to set the IRremoteESP8266 supported protocols: none except HASH, NEC, RC5, RC6
|
|
||||||
-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
|
||||||
|
|
||||||
[irremoteesp8266_full]
|
[esp82xx_defaults]
|
||||||
|
build_flags = ${esp_defaults.build_flags}
|
||||||
|
-Wl,-Map,firmware.map
|
||||||
|
-D NDEBUG
|
||||||
|
-mtarget-align
|
||||||
|
-DFP_IN_IROM
|
||||||
|
|
||||||
|
|
||||||
|
[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
|
||||||
|
|
|
@ -54,7 +54,7 @@ build_flags = ${core_active.build_flags}
|
||||||
upload_port = COM5
|
upload_port = COM5
|
||||||
|
|
||||||
extra_scripts = ${scripts_defaults.extra_scripts}
|
extra_scripts = ${scripts_defaults.extra_scripts}
|
||||||
pio/obj-dump.py
|
; pio/obj-dump.py
|
||||||
|
|
||||||
; *** Upload file to OTA server using SCP
|
; *** Upload file to OTA server using SCP
|
||||||
;upload_port = user@host:/path
|
;upload_port = user@host:/path
|
||||||
|
@ -240,7 +240,7 @@ upload_resetmethod = ${common.upload_resetmethod}
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
extra_scripts = ${common.extra_scripts}
|
extra_scripts = ${common.extra_scripts}
|
||||||
|
|
||||||
build_flags =
|
build_flags = ${esp_defaults.build_flags}
|
||||||
-D BUFFER_LENGTH=128
|
-D BUFFER_LENGTH=128
|
||||||
-D MQTT_MAX_PACKET_SIZE=1200
|
-D MQTT_MAX_PACKET_SIZE=1200
|
||||||
-D uint32=uint32_t
|
-D uint32=uint32_t
|
||||||
|
|
|
@ -32,10 +32,10 @@ build_flags = ${common.build_flags} -DFIRMWARE_SENSORS
|
||||||
build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS
|
build_flags = ${common.build_flags} -DFIRMWARE_DISPLAYS
|
||||||
|
|
||||||
[env:tasmota-ir]
|
[env:tasmota-ir]
|
||||||
build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags} -DFIRMWARE_IR
|
build_flags = ${common.build_flags} ${irremoteesp_full.build_flags} -DFIRMWARE_IR
|
||||||
|
|
||||||
[env:tasmota-ircustom]
|
[env:tasmota-ircustom]
|
||||||
build_flags = ${common.build_flags} ${irremoteesp8266_full.build_flags}
|
build_flags = ${common.build_flags} ${irremoteesp_full.build_flags}
|
||||||
|
|
||||||
[env:tasmota-BG]
|
[env:tasmota-BG]
|
||||||
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
|
build_flags = ${common.build_flags} -DMY_LANGUAGE=bg-BG
|
||||||
|
|
|
@ -129,7 +129,7 @@ extra_scripts = ${common32.extra_scripts}
|
||||||
lib_extra_dirs = ${common32.lib_extra_dirs}
|
lib_extra_dirs = ${common32.lib_extra_dirs}
|
||||||
lib_ignore = ${common32.lib_ignore}
|
lib_ignore = ${common32.lib_ignore}
|
||||||
build_unflags = ${common32.build_unflags}
|
build_unflags = ${common32.build_unflags}
|
||||||
build_flags = ${common32.build_flags} ${irremoteesp8266_full.build_flags} -DFIRMWARE_IR
|
build_flags = ${common32.build_flags} ${irremoteesp_full.build_flags} -DFIRMWARE_IR
|
||||||
|
|
||||||
[env:tasmota32-ircustom]
|
[env:tasmota32-ircustom]
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
|
@ -148,7 +148,7 @@ extra_scripts = ${common32.extra_scripts}
|
||||||
lib_extra_dirs = ${common32.lib_extra_dirs}
|
lib_extra_dirs = ${common32.lib_extra_dirs}
|
||||||
lib_ignore = ${common32.lib_ignore}
|
lib_ignore = ${common32.lib_ignore}
|
||||||
build_unflags = ${common32.build_unflags}
|
build_unflags = ${common32.build_unflags}
|
||||||
build_flags = ${common32.build_flags} ${irremoteesp8266_full.build_flags}
|
build_flags = ${common32.build_flags} ${irremoteesp_full.build_flags}
|
||||||
|
|
||||||
[env:tasmota32-BG]
|
[env:tasmota32-BG]
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
|
|
Loading…
Reference in New Issue