Important: unclear posts may not receive useful answers.
Before posting
- Get familiar with Markdown to format and structure your post
- Be sure to update lvgl from the latest version from the
master
branch.- Be sure you have checked the FAQ and read the relevant part of the documentation.
- If applicable use the Simulator to eliminate hardware related issues.
Delete this section if you read and applied the mentioned points.
Description
What MCU/Processor/Board and compiler are you using?
Using Renesas RA4M2
What LVGL version are you using?
It’s the latest version.
What do you want to achieve?
I want to display buffer or image using ssd1327.
but i can not find "lv_disp_drv_t "
What have you tried so far?
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
This is my code
void hal_entry(void)
{
/* TODO: add your own code here */
lv_init();
fsp_err_t err = R_SCI_I2C_Open(&g_i2c9_ctrl, &g_i2c9_cfg);
if(err == FSP_SUCCESS){
OLED_Init();
}
// To create a display buffer
lv_disp_t * disp = lv_disp_create(DISPLAY_WIDTH, DISPLAY_HEIGHT);
lv_disp_set_flush_cb(disp, dummy_flush_cb);
lv_disp_flush_ready(disp);
// Draw bufffers
lv_disp_set_draw_buffers(disp, buf, NULL, sizeof(buf), LV_DISP_RENDER_MODE_DIRECT);
// Display driver
while(1)
{
lv_task_handler();
lv_tick_inc(5);
R_BSP_SoftwareDelay(5, BSP_DELAY_UNITS_MILLISECONDS);
}
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
“lv_conf.h”, “lvgl folder” path is right??