configs/stm32f103-minimum: Add framebuffer driver initialization for stm32f103-minimum board
This commit is contained in:
parent
84de1fed9b
commit
389cc49447
@ -73,6 +73,10 @@
|
||||
# include <nuttx/leds/userled.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_VIDEO_FB
|
||||
# include <nuttx/video/fb.h>
|
||||
#endif
|
||||
|
||||
#include "stm32f103_minimum.h"
|
||||
|
||||
/* Conditional logic in stm32f103_minimum.h will determine if certain features
|
||||
@ -153,6 +157,16 @@ int stm32_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_VIDEO_FB
|
||||
/* Initialize and register the framebuffer driver */
|
||||
|
||||
ret = fb_register(0, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: fb_register() failed: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MMCSD
|
||||
ret = stm32_mmcsd_initialize(MMCSD_MINOR);
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user