Skip to content

Commit 923ed91

Browse files
authored
optimize env tasmota32-zbbrdgpro (arendst#22323)
* remove IR Remote from zigbee bridgg * remove shutters support * add lib ignores to zigbee bridge env * remove ENERGY_SENSOR from zigbee bridge 32 env
1 parent 9c24258 commit 923ed91

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

platformio_tasmota_env32.ini

+7
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ build_flags = ${env:tasmota32_base.build_flags}
257257
-DFIRMWARE_IR
258258
-DOTA_URL='"http://ota.tasmota.com/tasmota32/release/tasmota32-ir.bin"'
259259
lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_ssl
260+
lib_ignore = ${env:tasmota32_base.lib_ignore}
261+
Micro-RTSP
260262

261263
[env:tasmota32-zbbrdgpro]
262264
extends = env:tasmota32_base
@@ -271,6 +273,11 @@ custom_files_upload = ${env:tasmota32_base.custom_files_upload}
271273
tasmota/berry/zigbee/sonoff_zb_pro_flasher.be
272274
tools/fw_SonoffZigbeeBridgePro_cc2652/SonoffZBPro_coord_20220219.hex
273275
lib_extra_dirs = lib/lib_basic, lib/lib_ssl, lib/libesp32
276+
lib_ignore = ${env:tasmota32_base.lib_ignore}
277+
Micro-RTSP
278+
IRremoteESP8266
279+
TasmotaModbus
280+
ESP Mail Client
274281
custom_sdkconfig = CONFIG_D0WD_PSRAM_CLK_IO=5
275282
CONFIG_D0WD_PSRAM_CS_IO=18
276283

tasmota/include/tasmota_configurations_ESP32.h

+3
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,9 @@
515515

516516
#define USE_ENHANCED_GUI_WIFI_SCAN
517517

518+
#undef USE_ENERGY_SENSOR // Disable support for energy sensors
519+
#undef USE_SHUTTER // Disable support for shutter
520+
#undef USE_IR_REMOTE // Disable support for IR Remote
518521
#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code)
519522
#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer (+2k code)
520523
#undef USE_SONOFF_IFAN // Disable support for Sonoff iFan02 and iFan03 (+2k code)

0 commit comments

Comments
 (0)