mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add ttgo-esp32-poe support
This commit is contained in:
parent
e568d165bd
commit
a918817b20
@ -104,7 +104,6 @@ esp32_flags=
|
||||
-D HTTP_UPLOAD_BUFLEN=1024 ; lower http upload buffer
|
||||
-D MQTT_MAX_PACKET_SIZE=2048 ; longer PubSubClient messages
|
||||
; -- hasp-lvgl build options ------------------------
|
||||
-D HASP_USE_WIFI=1
|
||||
-D HASP_USE_MQTT=1
|
||||
-D HASP_USE_HTTP=1
|
||||
-D HASP_USE_MDNS=1
|
||||
@ -113,7 +112,6 @@ esp32_flags=
|
||||
-D HASP_USE_SPIFFS=1
|
||||
-D HASP_USE_EEPROM=1
|
||||
-D HASP_USE_GPIO=1
|
||||
-D HASP_USE_ETHERNET=0
|
||||
|
||||
stm32_flags=
|
||||
${env.build_flags}
|
||||
|
@ -1,8 +1,10 @@
|
||||
#include <Arduino.h>
|
||||
#include "ArduinoJson.h"
|
||||
#include "ArduinoLog.h"
|
||||
|
||||
#include "hasp_conf.h"
|
||||
#include "hasp_hal.h"
|
||||
#include "hasp_debug.h"
|
||||
|
||||
#if HASP_USE_ETHERNET > 0
|
||||
|
||||
|
@ -30,6 +30,9 @@ build_flags =
|
||||
-D TFT_BCKL=16 ; None, configurable via web UI (e.g. 21)
|
||||
-D TOUCH_CS=32 ; (can also be 22 or 16)
|
||||
; -- Options ----------------------------------------
|
||||
-D HASP_USE_TELNET=1
|
||||
-D HASP_USE_ETHERNET=1
|
||||
-D HASP_USE_WIFI=0
|
||||
|
||||
lib_ignore =
|
||||
GxTFT
|
||||
XPT2046_Touchscreen
|
Loading…
x
Reference in New Issue
Block a user