mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Buffer size tweaks
This commit is contained in:
parent
fd7335485b
commit
e23a17c09e
@ -67,7 +67,7 @@ build_flags =
|
||||
; -- Shared library dependencies in all environments
|
||||
; Warning : don't put comments after github links => causes infinite download loop
|
||||
lib_deps =
|
||||
bxparks/AceButton@^1.8.0 ; GPIO button library
|
||||
bxparks/AceButton@^1.8.2 ; GPIO button library
|
||||
bblanchon/ArduinoJson@^6.17.2 ; Json(l) parser
|
||||
bblanchon/StreamUtils@1.6.0 ; for EEPromStream
|
||||
knolleary/PubSubClient@^2.8.0 ; MQTT client
|
||||
@ -95,7 +95,7 @@ build_flags =
|
||||
${env.build_flags}
|
||||
-D HTTP_UPLOAD_BUFLEN=1024 ; lower http upload buffer
|
||||
-D MQTT_MAX_PACKET_SIZE=2048 ; longer PubSubClient messages
|
||||
-D HASP_CONSOLE_BUFFER=220 ; maximum length of a console/telnet command
|
||||
-D HASP_CONSOLE_BUFFER=256 ; maximum length of a console/telnet command
|
||||
-D NO_GLOBAL_HTTPUPDATE ; dont instantiate httpUpdate
|
||||
; -- lvgl build options -----------------------------
|
||||
-D LV_MEM_SIZE=61440U ; 60kB lvgl memory
|
||||
@ -138,16 +138,16 @@ hspi =
|
||||
|
||||
[esp8266]
|
||||
build_flags=
|
||||
-D HTTP_UPLOAD_BUFLEN=640 ; lower http upload buffer
|
||||
-D HTTP_UPLOAD_BUFLEN=512 ; lower http upload buffer
|
||||
-D MQTT_MAX_PACKET_SIZE=1024 ; longer PubSubClient messages
|
||||
-D HASP_CONSOLE_BUFFER=220 ; maximum length of a console/telnet command
|
||||
-D HASP_CONSOLE_BUFFER=160 ; maximum length of a console/telnet command
|
||||
-D ATOMIC_FS_UPDATE ; enabled compressed ota updates
|
||||
-D NO_GLOBAL_HTTPUPDATE ; dont instantiate httpUpdate
|
||||
; -- lwIP Variant -----------------------------------
|
||||
;-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
||||
; -- lvgl build options -----------------------------
|
||||
-D LV_MEM_SIZE=10240U ; 10kB lvgl memory
|
||||
-D LV_MEM_SIZE=12288U ; 12kB lvgl memory
|
||||
; -- hasp-lvgl build options ------------------------
|
||||
;-D HASP_USE_TELNET=1
|
||||
;-D HASP_USE_SPIFFS=1
|
||||
|
Loading…
x
Reference in New Issue
Block a user