Description
Hi all,
I got IDF v5.2 (master) & LVGL 8.3.7 to compile.
See https://github.com/hiruna/lvgl_esp32_drivers/tree/develop/lvgl_8.3.7_idf_5.2
I only have a SSD1306 128x64 OLED display and a 128x128 ST7735 LCD but focusing on the SSD1306 OLED for now.
Will add a branch for the lv_port_esp32
soon, the main.c needs some tweaking (Only included changes for the SSD1306 hello world, lv_demo_*
functions will need changes too):
static lv_disp_buf_t disp_buf;
-> static lv_disp_draw_buf_t disp_buf;
lv_disp_buf_init(&disp_buf, buf1, buf2, size_in_px);
-> lv_disp_draw_buf_init(&disp_buf, buf1, buf2, size_in_px);
disp_drv.buffer = &disp_buf;
-> disp_drv.draw_buf = &disp_buf;
lv_obj_t * label1 = lv_label_create(scr, NULL);
-> lv_obj_t * label1 = lv_label_create(scr);
lv_obj_align(label1, NULL, LV_ALIGN_CENTER, 0, 0);
-> lv_obj_align(label1, LV_ALIGN_CENTER, 0, 0);
Compilation & flashing succeeds but my OLED display shows garabge (pixel noise), I'm thinking something's wrong with the i2c_manager ?
Feel free to test this branch out and let me know how it is.