使用STM32MP135x-DK进行lvgl9.1,显示屏设备节点使用的/dev/dri/card0 LV_USE_LINUX_FBDEV 0 LV_USE_LINUX_DRM 1 但是在编译时出现如下报错,但是在st sdk里面是能找到drm.h的 dx@dx:~/STM32MPU_workspace/Developer-Package/my_workspace/lv_port_linux/build$ source $HOME/STM32MPU_workspace/Developer-Package/SDK/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabidx@dx:~/STM32MPU_workspace/Developer-Package/my_workspace/lv_port_linux/build$ make[ 0%] Building C object lvgl/CMakeFiles/lvgl.dir/src/drivers/display/drm/lv_linux_drm.c.oIn file included from /home/dx/STM32MPU_workspace/Developer-Package/my_workspace/lv_port_linux/lvgl/src/drivers/display/drm/lv_linux_drm.c:21:/home/dx/STM32MPU_workspace/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory 40 | #include <drm.h> | ^~~~~~~compilation terminated.make[2]: *** [lvgl/CMakeFiles/lvgl.dir/build.make:1530: lvgl/CMakeFiles/lvgl.dir/src/drivers/display/drm/lv_linux_drm.c.o] Error 1make[1]: *** [CMakeFiles/Makefile2:162: lvgl/CMakeFiles/lvgl.dir/all] Error 2make: *** [Makefile:136: all] Error 2 |
|
STM32MP25x yocto编译报错
STM32MP13 操作 DDR 过慢的问题
STM32MP135DAF7系列运行DDR_Init_A7死机,调试发现是DDR初始化出错。
classB自检库上面没有MP1系列的范例,有针对MP1系列的自检解决方案或是应用笔记吗?
stm32mp135怎么只烧录bootfs,根文件系统保持不变?
学习笔记请大家提意见
ST MPU官方Distribution Package下载源是关闭了吗
TOUCHGFX中别人封装好的控件容器可以直接使用吗?
请教如何获取STM32MP1的Distribution Package软件开发包
STM32MP135无法用NFS开机挂载文件系统启动,报错root '/dev/nfs' doesn't exist