-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hi ,
I still meet errors if enable DAVE/2D. Part of error message as below:
Could you please confirm this issue?
C:/e2studio/workspace_2407/lv_port_renesas_ek-ra8d1/src/lvgl/src/misc/lv_math.h:169:31: note: in definition of macro 'LV_ABS'
169 | #define LV_ABS(x) ((x) > 0 ? (x) : (-(x)))
| ^
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:58:69: error: unknown type name 'lv_draw_border_dsc_t'
58 | void lv_draw_dave2d_border(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_border_dsc_t * dsc,
| ^~~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:64:68: error: unknown type name 'lv_draw_label_dsc_t'
64 | void lv_draw_dave2d_label(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_label_dsc_t * dsc, const lv_area_t * coords);
| ^~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:70:68: error: unknown type name 'lv_draw_image_dsc_t'
70 | void lv_draw_dave2d_layer(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_image_dsc_t * draw_dsc,
| ^~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.h:73:71: error: unknown type name 'lv_draw_triangle_dsc_t'
73 | void lv_draw_dave2d_triangle(lv_draw_dave2d_unit_t * draw_unit, const lv_draw_triangle_dsc_t * dsc);
| ^~~~~~~~~~~~~~~~~~~~~~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d.c:299:65: error: request for member 'grad' in something not a structure or union
299 | && ((dsc->grad.stops[0].color.blue == dsc->grad.stops[dsc->grad.stops_count - 1].color.blue)
| ^~
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d_fill.c:28:25: error: 'u->base_unit' is a pointer; did you mean to use '->'?
28 | x = 0 - u->base_unit.target_layer->buf_area.x1;
| ^
| ->
../src/lvgl/src/draw/renesas/dave2d/lv_draw_dave2d_arc.c:76:77: error: request for member 'start_angle' in something not a structure or union
76 | (LV_ABS(dsc->start_angle - (dsc->end_angle + 360)) > 180))) {