Webcam compile time optimization

* Optimize compile time (1)
This commit is contained in:
Jason2866 2021-09-16 19:24:01 +02:00 committed by GitHub
parent d7e523bf63
commit b02560fd8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 17 additions and 3 deletions

View File

@ -59,7 +59,7 @@ build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_TASMOTA32
extends = env:tasmota32_base
board = esp32-cam
build_flags = ${env:tasmota32_base.build_flags} -DFIRMWARE_WEBCAM
lib_extra_dirs = lib/libesp32, lib/lib_basic
lib_extra_dirs = lib/libesp32
[env:tasmota32-odroidgo]
extends = env:tasmota32_base

View File

@ -34,8 +34,22 @@
#define USE_WEBCAM
#define ENABLE_RTSPSERVER
#define USE_SDCARD
#define USE_SPI
#define USE_SDCARD
#undef USE_I2C
#undef USE_HOME_ASSISTANT
#undef USE_COUNTER
#undef USE_IR_REMOTE
#undef USE_AC_ZERO_CROSS_DIMMER
#undef USE_PWM_DIMMER
#undef USE_TUYA_MCU
#undef USE_EMULATION_HUE
#undef USE_EMULATION_WEMO
#undef USE_ARILUX_RF
#undef USE_DS18x20
#undef USE_WS2812
#undef USE_ENERGY_SENSOR
#undef USE_BERRY // Disable Berry scripting language
#undef USE_MI_ESP32 // (ESP32 only) Disable support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
#endif // FIRMWARE_WEBCAM