Add ttgo-esp32-poe support

This commit is contained in:
fvanroie 2020-11-11 20:15:56 +01:00
parent e568d165bd
commit a918817b20
3 changed files with 6 additions and 3 deletions

View File

@ -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}

View File

@ -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

View File

@ -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