Error of lv_disp_drv_t

lv_disp_drv_t my compiler showing error that the function dos not exist

18:48:12 **** Incremental Build of configuration Debug for project LVGL_Demo2 ****
make -j12 all
arm-none-eabi-gcc “…/hal_stm_lvgl/touchpad/touchpad.c” -mcpu=cortex-m4 -std=gnu11 -g -DDEBUG -DUSE_HAL_DRIVER -DSTM32F429xx -c -I…/Drivers/CMSIS/Include -I"D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2" -I…/Core/Inc -I…/Drivers/STM32F4xx_HAL_Driver/Inc -I…/Drivers/CMSIS/Device/ST/STM32F4xx/Include -I…/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"hal_stm_lvgl/touchpad/touchpad.d" -MT"hal_stm_lvgl/touchpad/touchpad.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o “hal_stm_lvgl/touchpad/touchpad.o”
arm-none-eabi-gcc “…/hal_stm_lvgl/tft/tft.c” -mcpu=cortex-m4 -std=gnu11 -g -DDEBUG -DUSE_HAL_DRIVER -DSTM32F429xx -c -I…/Drivers/CMSIS/Include -I"D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2" -I…/Core/Inc -I…/Drivers/STM32F4xx_HAL_Driver/Inc -I…/Drivers/CMSIS/Device/ST/STM32F4xx/Include -I…/Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"hal_stm_lvgl/tft/tft.d" -MT"hal_stm_lvgl/tft/tft.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o “hal_stm_lvgl/tft/tft.o”
In file included from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/lvgl.h:80,
from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/hal_stm_lvgl/tft/tft.h:13,
from …/hal_stm_lvgl/touchpad/touchpad.c:9:
D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/src/others/sysmon/lv_sysmon.h:69:2: warning: #warning “lv_sysmon: lv_sysmon is required. Enable it in lv_conf.h (LV_USE_SYSMON 1)” [-Wcpp]
69 | #warning “lv_sysmon: lv_sysmon is required. Enable it in lv_conf.h (LV_USE_SYSMON 1)”
| ^~~~~~~
In file included from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/lvgl.h:80,
from …/hal_stm_lvgl/tft/tft.c:10:
D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/src/others/sysmon/lv_sysmon.h:69:2: warning: #warning “lv_sysmon: lv_sysmon is required. Enable it in lv_conf.h (LV_USE_SYSMON 1)” [-Wcpp]
69 | #warning “lv_sysmon: lv_sysmon is required. Enable it in lv_conf.h (LV_USE_SYSMON 1)”
| ^~~~~~~
In file included from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/hal_stm_lvgl/tft/tft.h:13,
from …/hal_stm_lvgl/touchpad/touchpad.c:9:
D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/lvgl.h:123:2: warning: #warning “You are using the development version of LVGL which is not stable at this moment. For production use the release/v8.3 branch. To silence this warning add #define LV_USE_DEV_VERSION to lv_conf.h” [-Wcpp]
123 | #warning “You are using the development version of LVGL which is not stable at this moment. For production use the release/v8.3 branch. To silence this warning add #define LV_USE_DEV_VERSION to lv_conf.h”
| ^~~~~~~
In file included from …/hal_stm_lvgl/tft/tft.c:10:
D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/lvgl.h:123:2: warning: #warning “You are using the development version of LVGL which is not stable at this moment. For production use the release/v8.3 branch. To silence this warning add #define LV_USE_DEV_VERSION to lv_conf.h” [-Wcpp]
123 | #warning “You are using the development version of LVGL which is not stable at this moment. For production use the release/v8.3 branch. To silence this warning add #define LV_USE_DEV_VERSION to lv_conf.h”
| ^~~~~~~
…/hal_stm_lvgl/tft/tft.c:62:23: error: unknown type name ‘lv_disp_drv_t’; did you mean ‘lv_fs_drv_t’?
62 | static void tft_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_p);
| ^~~~~~~~~~~~~
| lv_fs_drv_t
…/hal_stm_lvgl/tft/tft.c:98:8: error: unknown type name ‘lv_disp_drv_t’
98 | static lv_disp_drv_t disp_drv;
| ^~~~~~~~~~~~~
…/hal_stm_lvgl/touchpad/touchpad.c:27:27: error: unknown type name ‘lv_indev_drv_t’; did you mean ‘lv_indev_data_t’?
27 | static bool touchpad_read(lv_indev_drv_t * drv, lv_indev_data_t *data);
| ^~~~~~~~~~~~~~
| lv_indev_data_t
…/hal_stm_lvgl/touchpad/touchpad.c: In function ‘touchpad_init’:
…/hal_stm_lvgl/touchpad/touchpad.c:50:10: error: unknown type name ‘lv_indev_drv_t’
50 | static lv_indev_drv_t indev_drv;
| ^~~~~~~~~~~~~~
…/hal_stm_lvgl/tft/tft.c:115:17: error: unknown type name ‘lv_disp_drv_t’; did you mean ‘lv_fs_drv_t’?
115 | void monitor_cb(lv_disp_drv_t * d, uint32_t t, uint32_t p)
| ^~~~~~~~~~~~~
| lv_fs_drv_t
…/hal_stm_lvgl/tft/tft.c: In function ‘tft_init’:
…/hal_stm_lvgl/tft/tft.c:127:9: error: unknown type name ‘lv_disp_draw_buf_t’
127 | static lv_disp_draw_buf_t buf;
| ^~~~~~~~~~~~~~~~~~
…/hal_stm_lvgl/touchpad/touchpad.c:51:3: warning: implicit declaration of function ‘lv_indev_drv_init’; did you mean ‘lv_fs_drv_init’? [-Wimplicit-function-declaration]
51 | lv_indev_drv_init(&indev_drv);
| ^~~~~~~~~~~~~~~~~
| lv_fs_drv_init
…/hal_stm_lvgl/touchpad/touchpad.c:52:12: error: request for member ‘read_cb’ in something not a structure or union
52 | indev_drv.read_cb = touchpad_read;
| ^
…/hal_stm_lvgl/tft/tft.c:128:2: warning: implicit declaration of function ‘lv_disp_draw_buf_init’; did you mean ‘lv_obj_draw_dsc_init’? [-Wimplicit-function-declaration]
128 | lv_disp_draw_buf_init(&buf, disp_buf1, disp_buf2, TFT_HOR_RES * 40);
| ^~~~~~~~~~~~~~~~~~~~~
| lv_obj_draw_dsc_init
…/hal_stm_lvgl/touchpad/touchpad.c:52:23: error: ‘touchpad_read’ undeclared (first use in this function); did you mean ‘touchpad_init’?
52 | indev_drv.read_cb = touchpad_read;
| ^~~~~~~~~~~~~
| touchpad_init
…/hal_stm_lvgl/touchpad/touchpad.c:52:23: note: each undeclared identifier is reported only once for each function it appears in
…/hal_stm_lvgl/touchpad/touchpad.c:53:12: error: request for member ‘type’ in something not a structure or union
53 | indev_drv.type = LV_INDEV_TYPE_POINTER;
| ^
…/hal_stm_lvgl/tft/tft.c:130:2: warning: implicit declaration of function ‘lv_disp_drv_init’; did you mean ‘lv_fs_drv_init’? [-Wimplicit-function-declaration]
130 | lv_disp_drv_init(&disp_drv);
| ^~~~~~~~~~~~~~~~
| lv_fs_drv_init
…/hal_stm_lvgl/tft/tft.c:137:10: error: request for member ‘draw_buf’ in something not a structure or union
137 | disp_drv.draw_buf = &buf;
| ^
…/hal_stm_lvgl/tft/tft.c:138:10: error: request for member ‘flush_cb’ in something not a structure or union
138 | disp_drv.flush_cb = tft_flush;
| ^
…/hal_stm_lvgl/tft/tft.c:138:22: error: ‘tft_flush’ undeclared (first use in this function); did you mean ‘x2_flush’?
138 | disp_drv.flush_cb = tft_flush;
| ^~~~~~~~~
| x2_flush
…/hal_stm_lvgl/tft/tft.c:138:22: note: each undeclared identifier is reported only once for each function it appears in
…/hal_stm_lvgl/tft/tft.c:139:10: error: request for member ‘monitor_cb’ in something not a structure or union
139 | disp_drv.monitor_cb = monitor_cb;
| ^
…/hal_stm_lvgl/tft/tft.c:139:24: error: ‘monitor_cb’ undeclared (first use in this function)
139 | disp_drv.monitor_cb = monitor_cb;
| ^~~~~~~~~~
…/hal_stm_lvgl/tft/tft.c:140:10: error: request for member ‘hor_res’ in something not a structure or union
140 | disp_drv.hor_res = 240;
| ^
…/hal_stm_lvgl/tft/tft.c:141:10: error: request for member ‘ver_res’ in something not a structure or union
141 | disp_drv.ver_res = 320;
| ^
…/hal_stm_lvgl/touchpad/touchpad.c:54:3: warning: implicit declaration of function ‘lv_indev_drv_register’; did you mean ‘lv_fs_drv_register’? [-Wimplicit-function-declaration]
54 | lv_indev_drv_register(&indev_drv);
| ^~~~~~~~~~~~~~~~~~~~~
| lv_fs_drv_register
…/hal_stm_lvgl/touchpad/touchpad.c: At top level:
…/hal_stm_lvgl/touchpad/touchpad.c:68:27: error: unknown type name ‘lv_indev_drv_t’; did you mean ‘lv_indev_data_t’?
68 | static bool touchpad_read(lv_indev_drv_t * drv, lv_indev_data_t *data)
| ^~~~~~~~~~~~~~
| lv_indev_data_t
…/hal_stm_lvgl/tft/tft.c:142:2: warning: implicit declaration of function ‘lv_disp_drv_register’; did you mean ‘lv_fs_drv_register’? [-Wimplicit-function-declaration]
142 | lv_disp_drv_register(&disp_drv);
| ^~~~~~~~~~~~~~~~~~~~
| lv_fs_drv_register
…/hal_stm_lvgl/touchpad/touchpad.c:94:13: warning: ‘touchpad_get_xy’ defined but not used [-Wunused-function]
94 | static bool touchpad_get_xy(int16_t *x, int16_t y)
| ^~~~~~~~~~~~~~~
…/hal_stm_lvgl/tft/tft.c: At top level:
…/hal_stm_lvgl/tft/tft.c:157:23: error: unknown type name ‘lv_disp_drv_t’; did you mean ‘lv_fs_drv_t’?
157 | static void tft_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_p)
| ^~~~~~~~~~~~~
| lv_fs_drv_t
…/hal_stm_lvgl/tft/tft.c: In function ‘LCD_Config’:
…/hal_stm_lvgl/tft/tft.c:249:3: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
249 | memset((void
)my_fb, 0x1234, TFT_HOR_RES * TFT_VER_RES);
| ^~~~~~
…/hal_stm_lvgl/tft/tft.c: In function ‘DMA_TransferComplete’:
…/hal_stm_lvgl/tft/tft.c:725:25: warning: passing argument 1 of ‘lv_disp_flush_ready’ from incompatible pointer type [-Wincompatible-pointer-types]
725 | lv_disp_flush_ready(&disp_drv);
| ^~~~~~~~~
| |
| int *
In file included from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/src/core/lv_obj_tree.h:19,
from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/src/core/lv_obj.h:149,
from D:/PROJECT/Custommers/Multischopes/STM32/LVGL_Demo2/lvgl/lvgl.h:35,
from …/hal_stm_lvgl/tft/tft.c:10:
d:\project\custommers\multischopes\stm32\lvgl_demo2\lvgl\src\core\lv_disp.h:293:63: note: expected ‘lv_disp_t *’ {aka ‘struct _lv_disp_t *’} but argument is of type ‘int *’
293 | LV_ATTRIBUTE_FLUSH_READY void lv_disp_flush_ready(lv_disp_t * disp);
| ~~~~^~
At top level:
…/hal_stm_lvgl/tft/tft.c:100:16: warning: ‘y1_flush’ defined but not used [-Wunused-variable]
100 | static int32_t y1_flush;
| ^
~
make: *** [hal_stm_lvgl/touchpad/subdir.mk:22: hal_stm_lvgl/touchpad/touchpad.o] Error 1
make: *** Waiting for unfinished jobs…
make: *** [hal_stm_lvgl/tft/subdir.mk:22: hal_stm_lvgl/tft/tft.o] Error 1
“make -j12 all” terminated with exit code 2. Build might be incomplete.

Did you find a solution for that? Stuck on it right now…