mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 01:53:35 +08:00
Various fixes for running the NxWM unit test on the STM3240G-EVAL
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4711 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -240,6 +240,10 @@ CONFIG_NX_NPLANES
|
||||
Some YUV color formats requires support for multiple planes, one for each
|
||||
color component. Unless you have such special hardware, this value should be
|
||||
undefined or set to 1.
|
||||
CONFIG_NX_WRITEONLY
|
||||
Define if the underlying graphics device does not support read operations.
|
||||
Automatically defined if CONFIG_NX_LCDDRIVER and CONFIG_LCD_NOGETRUN are
|
||||
defined.
|
||||
CONFIG_NX_DISABLE_1BPP, CONFIG_NX_DISABLE_2BPP,
|
||||
CONFIG_NX_DISABLE_4BPP, CONFIG_NX_DISABLE_8BPP,
|
||||
CONFIG_NX_DISABLE_16BPP, CONFIG_NX_DISABLE_24BPP, and
|
||||
@@ -331,10 +335,6 @@ CONFIG_NXCONSOLE_BPP
|
||||
Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP)
|
||||
CONFIG_NXCONSOLE_CURSORCHAR
|
||||
The bitmap code to use as the cursor. Default '_'
|
||||
CONFIG_NXCONSOLE_NOGETRUN
|
||||
NxConsole needs to know if it can read from the LCD or not. If reading
|
||||
from the LCD is supported, then NxConsole can do more efficient
|
||||
scrolling. Default: Supported
|
||||
CONFIG_NXCONSOLE_MXCHARS
|
||||
NxConsole needs to remember every character written to the console so
|
||||
that it can redraw the window. This setting determines the size of some
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
static int nxcon_fill(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]);
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxcon_move(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset);
|
||||
@@ -73,7 +73,7 @@ static int nxcon_bitmap(FAR struct nxcon_state_s *priv,
|
||||
static const struct nxcon_operations_s g_nxops =
|
||||
{
|
||||
nxcon_fill,
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
nxcon_move,
|
||||
#endif
|
||||
nxcon_bitmap
|
||||
@@ -123,7 +123,7 @@ static int nxcon_fill(FAR struct nxcon_state_s *priv,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxcon_move(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset)
|
||||
|
||||
@@ -99,7 +99,7 @@ struct nxcon_operations_s
|
||||
int (*fill)(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]);
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
int (*move)(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset);
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
* only.
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifdef CONFIG_NX_WRITEONLY
|
||||
static inline void nxcon_movedisplay(FAR struct nxcon_state_s *priv,
|
||||
int bottom, int scrollheight)
|
||||
{
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
static int nxtkcon_fill(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]);
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxtkcon_move(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset);
|
||||
@@ -73,7 +73,7 @@ static int nxtkcon_bitmap(FAR struct nxcon_state_s *priv,
|
||||
static const struct nxcon_operations_s g_nxtkops =
|
||||
{
|
||||
nxtkcon_fill,
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
nxtkcon_move,
|
||||
#endif
|
||||
nxtkcon_bitmap
|
||||
@@ -123,7 +123,7 @@ static int nxtkcon_fill(FAR struct nxcon_state_s *priv,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxtkcon_move(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset)
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
static int nxtool_fill(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
nxgl_mxpixel_t wcolor[CONFIG_NX_NPLANES]);
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxtool_move(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset);
|
||||
@@ -73,7 +73,7 @@ static int nxtool_bitmap(FAR struct nxcon_state_s *priv,
|
||||
static const struct nxcon_operations_s g_nxtoolops =
|
||||
{
|
||||
nxtool_fill,
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
nxtool_move,
|
||||
#endif
|
||||
nxtool_bitmap
|
||||
@@ -123,7 +123,7 @@ static int nxtool_fill(FAR struct nxcon_state_s *priv,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NXCONSOLE_NOGETRUN
|
||||
#ifndef CONFIG_NX_WRITEONLY
|
||||
static int nxtool_move(FAR struct nxcon_state_s *priv,
|
||||
FAR const struct nxgl_rect_s *rect,
|
||||
FAR const struct nxgl_point_s *offset)
|
||||
|
||||
Reference in New Issue
Block a user