Browse Source

[bsp][qemu]修复qemu-a9使能lcd缺失依赖问题.

Rbb666 11 months ago
parent
commit
b171877139
2 changed files with 2 additions and 0 deletions
  1. 1 0
      bsp/qemu-vexpress-a9/drivers/Kconfig
  2. 1 0
      bsp/qemu-vexpress-a9/drivers/drv_clcd.h

+ 1 - 0
bsp/qemu-vexpress-a9/drivers/Kconfig

@@ -35,6 +35,7 @@ endif
 
 config BSP_DRV_CLCD
     bool "CLCD driver"
+    select RT_USING_LCD
     default n
 
 config BSP_DRV_MOUSE

+ 1 - 0
bsp/qemu-vexpress-a9/drivers/drv_clcd.h

@@ -11,6 +11,7 @@
 #define DRV_CLCD_H__
 
 #include <rtthread.h>
+#include <rtdevice.h>
 
 #ifndef BSP_LCD_WIDTH
 #define BSP_LCD_WIDTH   640