rgb_panel 示例中 运行组件里的lvgl的demos
Posted: Sun Oct 01, 2023 12:48 pm
我的板子是esp32s3r8n16,lcd是7寸800*480的,参照:https://github.com/espressif/esp-dev-ki ... mos,例程,只运行 idf.py -D SDKCONFIG_DEFAULTS="sdkconfig.defaults;sdkconfig.defaults.psram_octal_120m" reconfigure ,,,编译成功,烧入板上后,无限重启,报E
(717) lcd_panel.rgb: esp_lcd_new_rgb_panel(250): fb size must be even multiple of bounce buffer size,错误 .bounce_buffer_size_px =100*BSP_LCD_H_RES,反射的缓存高度设置100, void *buf1 = NULL;
void *buf2 = NULL;
int buffer_size;
buffer_size = BSP_LCD_H_RES * LVGL_BUFFER_HEIGHT;//也是100*宽
buf1 = heap_caps_malloc(buffer_size * sizeof(lv_color_t), LVGL_BUFFER_MALLOC);
(717) lcd_panel.rgb: esp_lcd_new_rgb_panel(250): fb size must be even multiple of bounce buffer size,错误 .bounce_buffer_size_px =100*BSP_LCD_H_RES,反射的缓存高度设置100, void *buf1 = NULL;
void *buf2 = NULL;
int buffer_size;
buffer_size = BSP_LCD_H_RES * LVGL_BUFFER_HEIGHT;//也是100*宽
buf1 = heap_caps_malloc(buffer_size * sizeof(lv_color_t), LVGL_BUFFER_MALLOC);