MUI: WiFi map tile download: heltec V4 adaptations (#10011)
* rotated MUI * mui-maps heltec-v4 adaptations --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
committed by
Ben Meadors
co-authored by
Ben Meadors
parent
99abfebc4a
commit
aec98b61b9
+1
-1
@@ -126,7 +126,7 @@ lib_deps =
|
|||||||
[device-ui_base]
|
[device-ui_base]
|
||||||
lib_deps =
|
lib_deps =
|
||||||
# renovate: datasource=git-refs depName=meshtastic/device-ui packageName=https://github.com/meshtastic/device-ui gitBranch=master
|
# renovate: datasource=git-refs depName=meshtastic/device-ui packageName=https://github.com/meshtastic/device-ui gitBranch=master
|
||||||
https://github.com/meshtastic/device-ui/archive/f36d2a953524e372b78c5b4147ec55f38716964e.zip
|
https://github.com/meshtastic/device-ui/archive/03fbf26f5d6095f2c7c77ee2d064af01669ac38c.zip
|
||||||
|
|
||||||
; Common libs for environmental measurements in telemetry module
|
; Common libs for environmental measurements in telemetry module
|
||||||
[environmental_base]
|
[environmental_base]
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
|
|
||||||
DeviceScreen *deviceScreen = nullptr;
|
DeviceScreen *deviceScreen = nullptr;
|
||||||
|
|
||||||
|
#ifndef TFT_TASK_STACK_SIZE
|
||||||
|
#define TFT_TASK_STACK_SIZE 16384
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ARCH_ESP32
|
#ifdef ARCH_ESP32
|
||||||
// Get notified when the system is entering light sleep
|
// Get notified when the system is entering light sleep
|
||||||
CallbackObserver<DeviceScreen, void *> tftSleepObserver =
|
CallbackObserver<DeviceScreen, void *> tftSleepObserver =
|
||||||
@@ -127,7 +131,7 @@ void tftSetup(void)
|
|||||||
#ifdef ARCH_ESP32
|
#ifdef ARCH_ESP32
|
||||||
tftSleepObserver.observe(¬ifyLightSleep);
|
tftSleepObserver.observe(¬ifyLightSleep);
|
||||||
endSleepObserver.observe(¬ifyLightSleepEnd);
|
endSleepObserver.observe(¬ifyLightSleepEnd);
|
||||||
xTaskCreatePinnedToCore(tft_task_handler, "tft", 10240, NULL, 1, NULL, 0);
|
xTaskCreatePinnedToCore(tft_task_handler, "tft", TFT_TASK_STACK_SIZE, NULL, 1, NULL, 0);
|
||||||
#elif defined(ARCH_PORTDUINO)
|
#elif defined(ARCH_PORTDUINO)
|
||||||
std::thread *tft_task = new std::thread([] { tft_task_handler(); });
|
std::thread *tft_task = new std::thread([] { tft_task_handler(); });
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -68,7 +68,10 @@ build_flags =
|
|||||||
-D INPUTDRIVER_BUTTON_TYPE=0
|
-D INPUTDRIVER_BUTTON_TYPE=0
|
||||||
-D HAS_SCREEN=1
|
-D HAS_SCREEN=1
|
||||||
-D HAS_TFT=1
|
-D HAS_TFT=1
|
||||||
-D RAM_SIZE=1860
|
-D MAP_TILES_GREY ; required for 2MB PSRAM
|
||||||
|
-D RAM_SIZE=1432
|
||||||
|
-D STBI_ARENA_SIZE=450000
|
||||||
|
-D LV_CACHE_DEF_SIZE=0
|
||||||
-D LV_LVGL_H_INCLUDE_SIMPLE
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
-D LV_CONF_INCLUDE_SIMPLE
|
-D LV_CONF_INCLUDE_SIMPLE
|
||||||
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
||||||
|
|||||||
Reference in New Issue
Block a user