mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-19 16:56:34 +00:00
xsns_62_MI_ESP32.ino - initial commit
This commit is contained in:
parent
f594c72609
commit
e39f62204b
@ -242,6 +242,9 @@ upload_speed = 921600
|
|||||||
extra_scripts = ${common.extra_scripts}
|
extra_scripts = ${common.extra_scripts}
|
||||||
|
|
||||||
build_flags = ${esp_defaults.build_flags}
|
build_flags = ${esp_defaults.build_flags}
|
||||||
|
; NimBLE-Arduino uses arithmetic on void- and function-pointers, this is only a cosmetic warning suppression
|
||||||
|
-Wno-pointer-arith
|
||||||
|
|
||||||
-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
|
||||||
@ -251,7 +254,7 @@ build_flags = ${esp_defaults.build_flags}
|
|||||||
-D sint32_t=int32_t
|
-D sint32_t=int32_t
|
||||||
-D sint16_t=int16_t
|
-D sint16_t=int16_t
|
||||||
-D memcpy_P=memcpy
|
-D memcpy_P=memcpy
|
||||||
-D memcmp_P=memcmp
|
-D memcmp_P=memcmp
|
||||||
; -D USE_CONFIG_OVERRIDE
|
; -D USE_CONFIG_OVERRIDE
|
||||||
|
|
||||||
lib_extra_dirs =
|
lib_extra_dirs =
|
||||||
|
@ -566,9 +566,16 @@
|
|||||||
//#define USE_IBEACON // Add support for bluetooth LE passive scan of ibeacon devices (uses HM17 module)
|
//#define USE_IBEACON // Add support for bluetooth LE passive scan of ibeacon devices (uses HM17 module)
|
||||||
//#define USE_GPS // Add support for GPS and NTP Server for becoming Stratus 1 Time Source (+3k1 code, +132 bytes RAM)
|
//#define USE_GPS // Add support for GPS and NTP Server for becoming Stratus 1 Time Source (+3k1 code, +132 bytes RAM)
|
||||||
// #define USE_FLOG // Add support for GPS logging in OTA's Flash (Experimental) (+2k9 code, +8 bytes RAM)
|
// #define USE_FLOG // Add support for GPS logging in OTA's Flash (Experimental) (+2k9 code, +8 bytes RAM)
|
||||||
//#define USE_HM10 // Add support for HM-10 as a BLE-bridge for the LYWSD03 (+5k1 code)
|
#ifdef ESP8266
|
||||||
|
// #define USE_HM10 // Add support for HM-10 as a BLE-bridge (+9k3 code)
|
||||||
|
#endif // ESP8266
|
||||||
//#define USE_HRXL // Add support for MaxBotix HRXL-MaxSonar ultrasonic range finders (+0k7)
|
//#define USE_HRXL // Add support for MaxBotix HRXL-MaxSonar ultrasonic range finders (+0k7)
|
||||||
|
|
||||||
|
// -- built-in BLE of the ESP32 --------------------
|
||||||
|
#ifdef ESP32
|
||||||
|
// #define USE_MI_ESP32 // Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
|
||||||
|
#endif // ESP8266
|
||||||
|
|
||||||
// -- Power monitoring sensors --------------------
|
// -- Power monitoring sensors --------------------
|
||||||
#define USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code)
|
#define USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code)
|
||||||
#define USE_ENERGY_POWER_LIMIT // Add additional support for Energy Power Limit detection (+1k2 code)
|
#define USE_ENERGY_POWER_LIMIT // Add additional support for Energy Power Limit detection (+1k2 code)
|
||||||
|
1187
tasmota/xsns_62_MI_ESP32.ino
Normal file
1187
tasmota/xsns_62_MI_ESP32.ino
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user