Added lvgl support to generate images. Made basic example, grayscale background + text displayed everytime we call /api/display/image.png

This commit is contained in:
2026-03-14 18:41:00 -04:00
parent a9d5aa83dc
commit 6384e93020
19 changed files with 10019 additions and 5 deletions

View File

@@ -343,8 +343,14 @@ internal esp_err_t connect_wifi(const char *ssid, const char *password,
ESP_ERROR_CHECK(esp_wifi_set_config(WIFI_IF_STA, &wifi_config));
ESP_ERROR_CHECK(esp_wifi_start());
// Reverting to MIN_MODEM because MAX_MODEM causes disconnects on many routers
// Set Power Save mode based on sdkconfig selection
#if defined(CONFIG_CALENDINK_WIFI_PS_MAX_MODEM)
ESP_ERROR_CHECK(esp_wifi_set_ps(WIFI_PS_MAX_MODEM));
#elif defined(CONFIG_CALENDINK_WIFI_PS_NONE)
ESP_ERROR_CHECK(esp_wifi_set_ps(WIFI_PS_NONE));
#else
ESP_ERROR_CHECK(esp_wifi_set_ps(WIFI_PS_MIN_MODEM));
#endif
ESP_ERROR_CHECK(esp_wifi_connect());