mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-03 20:27:58 +00:00
Rename CONFIG_LIB_BOARDCTL to CONFIG_BOARDCTL
since boardctl isn't a libc feature Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
967f526850
commit
d4d2f13f89
27 changed files with 36 additions and 36 deletions
|
|
@ -929,7 +929,7 @@ are not as expected:
|
|||
CONFIG_DISABLE_MQUEUE=n
|
||||
CONFIG_DISABLE_PTHREAD=n
|
||||
CONFIG_NX_BLOCKING=y
|
||||
CONFIG_LIB_BOARDCTL=y
|
||||
CONFIG_BOARDCTL=y
|
||||
```
|
||||
|
||||
## `nxterm` Display NuttShell (NSH) as NX Console
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
config EXAMPLES_ADC
|
||||
tristate "ADC example"
|
||||
default n
|
||||
depends on ADC && LIB_BOARDCTL
|
||||
depends on ADC && BOARDCTL
|
||||
---help---
|
||||
Enable the ADC example
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
* board_late_initialize() during bootupif CONFIG_BOARD_LATE_INITIALIZE
|
||||
* or 2).
|
||||
* via a call to boardctl() if the interface is enabled
|
||||
* (CONFIG_LIB_BOARDCTL=y).
|
||||
* (CONFIG_BOARDCTL=y).
|
||||
* If this task is running as an NSH built-in application, then that
|
||||
* initialization has probably already been performed otherwise we do it
|
||||
* here.
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
#undef NEED_BOARDINIT
|
||||
|
||||
#if defined(CONFIG_LIB_BOARDCTL) && !defined(CONFIG_NSH_ARCHINIT)
|
||||
#if defined(CONFIG_BOARDCTL) && !defined(CONFIG_NSH_ARCHINIT)
|
||||
# define NEED_BOARDINIT 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
config EXAMPLES_MODULE
|
||||
tristate "Module Example"
|
||||
default n
|
||||
depends on MODULE && LIB_BOARDCTL
|
||||
depends on MODULE && BOARDCTL
|
||||
select BOARDCTL_OS_SYMTAB
|
||||
---help---
|
||||
Enable the module example
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
config EXAMPLES_MOUNT
|
||||
tristate "File system mount example"
|
||||
default n
|
||||
select LIB_BOARDCTL if !EXAMPLES_MOUNT_BLOCKDEVICE
|
||||
select BOARDCTL if !EXAMPLES_MOUNT_BLOCKDEVICE
|
||||
select BOARDCTL_MKRD if !EXAMPLES_MOUNT_BLOCKDEVICE
|
||||
---help---
|
||||
Enable the file system mount example
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_NX
|
|||
tristate "NX graphics example"
|
||||
default n
|
||||
depends on NX
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
---help---
|
||||
Enable the NX graphics example
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ endif
|
|||
config EXAMPLES_NXDEMO_EXTERNINIT
|
||||
bool "External Device Initialization"
|
||||
default n
|
||||
depends on LIB_BOARDCTL
|
||||
depends on BOARDCTL
|
||||
select BOARDCTL_GRAPHICS
|
||||
---help---
|
||||
The driver for the graphics device on this platform requires some
|
||||
|
|
@ -67,7 +67,7 @@ config EXAMPLES_NXDEMO_EXTERNINIT
|
|||
FAR struct fb_vtable_s *board_graphics_setup(unsigned int devno);
|
||||
#endif
|
||||
|
||||
and must also define: CONFIG_LIB_BOARDCTL=y and
|
||||
and must also define: CONFIG_BOARDCTL=y and
|
||||
CONFIG_BOARDCTL_GRAPHICS=y so that the boardctl() interface
|
||||
will be available in order to access this function.
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_NXHELLO
|
|||
tristate "NX graphics \"Hello, World!\" example"
|
||||
default n
|
||||
depends on NX
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
---help---
|
||||
Enable the NX graphics \"Hello, World!\" example
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_NXIMAGE
|
|||
tristate "NX graphics image example"
|
||||
default n
|
||||
depends on NX
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
---help---
|
||||
Enable the X graphics image example
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_NXLINES
|
|||
tristate "NX graphics lines example"
|
||||
default n
|
||||
depends on NX
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
---help---
|
||||
Enable the X graphics lines example
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_NXTERM
|
|||
tristate "NxTerm example"
|
||||
default n
|
||||
depends on NXTERM
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
---help---
|
||||
Enable the NxTerm example
|
||||
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@
|
|||
# error "You must not disable loadable modules via CONFIG_BINFMT_DISABLE in your configuration file"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_LIB_BOARDCTL
|
||||
# error "This configuration requires CONFIG_LIB_BOARDCTL"
|
||||
#ifndef CONFIG_BOARDCTL
|
||||
# error "This configuration requires CONFIG_BOARDCTL"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_BOARDCTL_APP_SYMTAB
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_PWFB
|
|||
tristate "NX Per-Window Framebuffer Text Example"
|
||||
default n
|
||||
depends on NX
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
select NX_RAMBACKED
|
||||
---help---
|
||||
Enable the NX per-window framebuffer example
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ config EXAMPLES_PWLINES
|
|||
tristate "NX Per-Window Framebuffer Graphics Example"
|
||||
default n
|
||||
depends on NX
|
||||
select LIB_BOARDCTL
|
||||
select BOARDCTL
|
||||
select NX_RAMBACKED
|
||||
---help---
|
||||
Enable the NX per-window framebuffer example
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
config EXAMPLES_USBSERIAL
|
||||
tristate "USB serial test example"
|
||||
default n
|
||||
depends on LIB_BOARDCTL
|
||||
depends on BOARDCTL
|
||||
select BOARDCTL_USBDEVCTRL
|
||||
---help---
|
||||
Enable the USB serial test example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue