Преглед изворни кода

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

Rbb666 пре 1 година
родитељ
комит
b171877139
2 измењених фајлова са 2 додато и 0 уклоњено
  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