mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 13:16:32 +00:00
build process: simplify driver selection for BLE (#20138)
Co-authored-by: Radio Loge <radiologe@MacBook-Pro-von-Radio.local>
This commit is contained in:
parent
5b13ece33e
commit
8ee071b8b8
@ -105,8 +105,8 @@ lib_ignore = TTGO TWatch Library
|
||||
[env:tasmota32-mi32]
|
||||
extends = env:tasmota32_base
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
-DFIRMWARE_BLUETOOTH
|
||||
-DUSE_MI_EXT_GUI
|
||||
-DUSE_MI_ESP32
|
||||
-DOTA_URL='""'
|
||||
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_ssl
|
||||
lib_ignore = ESP8266Audio
|
||||
@ -119,8 +119,8 @@ lib_ignore = ESP8266Audio
|
||||
[env:tasmota32c3-mi32]
|
||||
extends = env:tasmota32c3
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
-DFIRMWARE_BLUETOOTH
|
||||
-DUSE_MI_EXT_GUI
|
||||
-DUSE_MI_ESP32
|
||||
-DOTA_URL='""'
|
||||
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_ssl
|
||||
lib_ignore = ESP8266Audio
|
||||
@ -133,8 +133,8 @@ lib_ignore = ESP8266Audio
|
||||
[env:tasmota32s3-mi32]
|
||||
extends = env:tasmota32s3
|
||||
build_flags = ${env:tasmota32_base.build_flags}
|
||||
-DFIRMWARE_BLUETOOTH
|
||||
-DUSE_MI_EXT_GUI
|
||||
-DUSE_MI_ESP32
|
||||
-DOTA_URL='""'
|
||||
lib_extra_dirs = lib/libesp32, lib/libesp32_div, lib/lib_basic, lib/lib_i2c, lib/lib_div, lib/lib_ssl
|
||||
lib_ignore = ESP8266Audio
|
||||
|
@ -184,9 +184,8 @@ board = esp32c6cdc
|
||||
build_unflags = ${env:arduino30.build_unflags}
|
||||
-mtarget-align
|
||||
build_flags = ${env:arduino30.build_flags}
|
||||
-DFIRMWARE_ARDUINO30
|
||||
-DFIRMWARE_BLUETOOTH
|
||||
-DUSE_MI_EXT_GUI
|
||||
-DUSE_MI_ESP32
|
||||
-DOTA_URL='""'
|
||||
monitor_filters = esp32_exception_decoder
|
||||
lib_ignore = ${env:arduino30.lib_ignore}
|
||||
|
@ -272,12 +272,16 @@
|
||||
|
||||
#define USE_SDCARD
|
||||
|
||||
#define USE_ADC
|
||||
#ifndef USE_BERRY_ULP // potential performance gains with ULP
|
||||
#define USE_ADC // so do not use common ADC funtions in that case
|
||||
#endif
|
||||
//#undef USE_BERRY // Disable Berry scripting language
|
||||
|
||||
#define USE_ETHERNET // Add support for ethernet (+20k code)
|
||||
#define USE_BLE_ESP32 // Enable full BLE driver
|
||||
#define USE_EQ3_ESP32
|
||||
#ifndef USE_MI_EXT_GUI
|
||||
#define USE_BLE_ESP32 // Enable full BLE driver
|
||||
#define USE_EQ3_ESP32
|
||||
#endif // USE_MI_EXT_GUI
|
||||
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
|
||||
|
||||
#endif // FIRMWARE_BLUETOOTH
|
||||
|
Loading…
x
Reference in New Issue
Block a user