Added Waveshare ESP32-P4-WIFI6-Touch-LCD-7B third party board (#1243)

* Modify the MIPILCDDISPLAY class

* Added Waveshare ESP32-P4-WIFI6-Touch-LCD-7B third party board

* Add config,json for Waveshare ESP32-P4 series boards

* Fix some errors
This commit is contained in:
Y1hsiaochunnn
2025-10-09 12:00:22 +08:00
committed by GitHub
parent 549399b795
commit 6a28a98c8b
11 changed files with 335 additions and 8 deletions

View File

@@ -232,10 +232,6 @@ MipiLcdDisplay::MipiLcdDisplay(esp_lcd_panel_io_handle_t panel_io, esp_lcd_panel
bool mirror_x, bool mirror_y, bool swap_xy)
: LcdDisplay(panel_io, panel, width, height) {
// Set the display to on
ESP_LOGI(TAG, "Turning display on");
ESP_ERROR_CHECK(esp_lcd_panel_disp_on_off(panel_, true));
ESP_LOGI(TAG, "Initialize LVGL library");
lv_init();
@@ -262,7 +258,7 @@ MipiLcdDisplay::MipiLcdDisplay(esp_lcd_panel_io_handle_t panel_io, esp_lcd_panel
.flags = {
.buff_dma = true,
.buff_spiram =false,
.sw_rotate = false,
.sw_rotate = true,
},
};