Fix typos/spelling. SAMV71-XULT: Update README, add support for fb_driver.
This commit is contained in:
parent
cf37eb34d5
commit
b90b4d40b6
@ -129,7 +129,7 @@ static int lpc17_putcmap(FAR struct fb_vtable_s *vtable,
|
||||
static int lpc17_getcursor(FAR struct fb_vtable_s *vtable,
|
||||
FAR struct fb_cursorattrib_s *attrib);
|
||||
static int lpc17_setcursor(FAR struct fb_vtable_s *vtable,
|
||||
FAR struct fb_setcursor_s *setttings);
|
||||
FAR struct fb_setcursor_s *settings);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
@ -414,10 +414,10 @@ static int lpc17_getcursor(FAR struct fb_vtable_s *vtable,
|
||||
|
||||
#ifdef CONFIG_FB_HWCURSOR
|
||||
static int lpc17_setcursor(FAR struct fb_vtable_s *vtable,
|
||||
FAR struct fb_setcursor_s *setttings)
|
||||
FAR struct fb_setcursor_s *settings)
|
||||
{
|
||||
lcdinfo("vtable=%p setttings=%p\n", vtable, setttings);
|
||||
if (vtable && setttings)
|
||||
lcdinfo("vtable=%p settings=%p\n", vtable, settings);
|
||||
if (vtable && settings)
|
||||
{
|
||||
lcdinfo("flags: %02x\n", settings->flags);
|
||||
if ((flags & FB_CUR_SETPOSITION) != 0)
|
||||
|
@ -1706,12 +1706,6 @@ NOTES:
|
||||
System Type -> Toolchain:
|
||||
CONFIG_ARMV7M_TOOLCHAIN_GNU_EABIW=y : GNU ARM EABI toolchain
|
||||
|
||||
NOTE: As of this writing, there are issues with using this tool at
|
||||
the -Os level of optimization. This has not been proven to be a
|
||||
compiler issue (as least not one that might not be fixed with a
|
||||
well placed volatile qualifier). However, in any event, it is
|
||||
recommend that you use not more that -O2 optimization.
|
||||
|
||||
Configuration sub-directories
|
||||
-----------------------------
|
||||
|
||||
|
@ -56,6 +56,7 @@
|
||||
#include <nuttx/fs/nxffs.h>
|
||||
#include <nuttx/binfmt/elf.h>
|
||||
#include <nuttx/i2c/i2c_master.h>
|
||||
#include <nuttx/video/fb.h>
|
||||
|
||||
#include "sam_twihs.h"
|
||||
#include "samv71-xult.h"
|
||||
@ -551,6 +552,16 @@ int sam_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_VIDEO_FB
|
||||
/* Initialize and register the LCD framebuffer driver */
|
||||
|
||||
ret = fb_register(0, 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: fb_register() failed: %d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* If we got here then perhaps not all initialization was successful, but
|
||||
* at least enough succeeded to bring-up NSH with perhaps reduced
|
||||
* capabilities.
|
||||
|
@ -184,7 +184,8 @@ static ssize_t fb_read(FAR struct file *filep, FAR char *buffer, size_t len)
|
||||
* Name: fb_write
|
||||
****************************************************************************/
|
||||
|
||||
static ssize_t fb_write(FAR struct file *filep, FAR const char *buffer, size_t len)
|
||||
static ssize_t fb_write(FAR struct file *filep, FAR const char *buffer,
|
||||
size_t len)
|
||||
{
|
||||
FAR struct inode *inode;
|
||||
FAR struct fb_chardev_s *fb;
|
||||
|
Loading…
Reference in New Issue
Block a user