I need help to port LVGL on ambiq apollo 3p Free rtos


What MCU/Processor/Board and compiler are you using?

I’m using Ambiq Apollo 3p

What LVGL version are you using?


What do you want to achieve?

i want to port this framework on this controller

What have you tried so far?

from 3 days i’m trying to port it. it stuck on lv_task_handler().

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*/

void my_flush_cb(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p)
am_util_debug_printf(“%d %d %d %d\n\r”, area->x1, area->y1, area->x2, area->y2);
int y2 = 9;
dev_set_row_col(area->x1, area->x2, area->y1, y2);
dev_sh8601a_data_write((uint8_t )color_p, (area->x2 - area->x1)(y2 - area->y1)*2, false);

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

The call of lv_disp_flush_ready!
It should be

lv_disp_flush_ready (disp);

I’m using normal lv_example_bar_1 and also i did some changes in my_flush_cb function