serial log on webserver
Some checks failed
ESP32 Build & Release / build (push) Failing after 15s

This commit is contained in:
2026-09-16 17:08:26 +02:00
parent dd04016fc3
commit 9c5f62b6de
7 changed files with 469 additions and 8 deletions

View File

@@ -1,4 +1,6 @@
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
#include "esp_lcd_panel_io.h"
#include "esp_lcd_panel_ops.h"
@@ -68,10 +70,13 @@ esp_err_t display_manager_init(void)
}
ESP_ERROR_CHECK(esp_lcd_panel_reset(s_panel));
vTaskDelay(pdMS_TO_TICKS(150)); /* Allow ST7789 internal charge pump to fully stabilize */
ESP_ERROR_CHECK(esp_lcd_panel_init(s_panel));
vTaskDelay(pdMS_TO_TICKS(20));
ESP_ERROR_CHECK(esp_lcd_panel_invert_color(s_panel, true));
ESP_ERROR_CHECK(esp_lcd_panel_mirror(s_panel, true, true));
ESP_ERROR_CHECK(esp_lcd_panel_disp_on_off(s_panel, true));
vTaskDelay(pdMS_TO_TICKS(50));
/* 2. Initialize LVGL port on Core 1 */
lvgl_port_cfg_t port_cfg = ESP_LVGL_PORT_INIT_CONFIG();