Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl().

This commit is contained in:
Gregory Nutt
2015-03-31 16:20:21 -06:00
parent 6abae1202f
commit ded2001121
15 changed files with 125 additions and 39 deletions
+4 -3
View File
@@ -675,9 +675,10 @@ config NXSTART_EXTERNINIT
---help---
Define to support external display initialization by platform-
specific code. This this option is defined, then nx_start() will
call up_nxdrvinit(CONFIG_NXSTART_DEVNO) to initialize the graphics
device. This option is necessary if display is used that cannot be
initialized using the standard LCD or framebuffer interfaces.
call board_graphics_setup(CONFIG_NXSTART_DEVNO) to initialize the
graphics device. This option is necessary if display is used that
cannot be initialized using the standard LCD or framebuffer
interfaces.
config NXSTART_SERVERPRIO
int "NX Server priority"