add hdmi menuconfig

This commit is contained in:
bigmagic 2020-10-27 12:58:37 +08:00
parent c97f33d11d
commit 3532ad3e3a
3 changed files with 6 additions and 1 deletions

View File

@ -530,4 +530,5 @@ CONFIG_BSP_USING_WDT=y
#
# Board Peripheral Drivers
#
# CONFIG_BSP_USING_HDMI is not set
CONFIG_BSP_USING_HDMI=y
CONFIG_BSP_USING_HDMI_DISPLAY=y

View File

@ -13,6 +13,7 @@
#include "mbox.h"
#include "drv_hdmi.h"
#ifdef BSP_USING_HDMI
#define LCD_WIDTH (800)
#define LCD_HEIGHT (480)
#define LCD_DEPTH (32)
@ -305,3 +306,4 @@ int hdmi_fb_init(void)
}
INIT_DEVICE_EXPORT(hdmi_fb_init);
#endif /*BSP_USING_HDMI */

View File

@ -183,5 +183,7 @@
/* Board Peripheral Drivers */
#define BSP_USING_HDMI
#define BSP_USING_HDMI_DISPLAY
#endif