mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
apps/system: Clean up Kconfig menuing
This commit is contained in:
parent
4a2000e2ae
commit
6e462908ba
27 changed files with 45 additions and 117 deletions
|
|
@ -1244,4 +1244,7 @@
|
|||
calls (2015-04-05).
|
||||
* apps/modbus/tcp: Fix some complile problems when TCP is enabled
|
||||
(2015-04-06).
|
||||
* apps/system: Clean up Kconfig menus. The way it worked before, it was
|
||||
difficult to see what was enabled and what was not. menus replaced
|
||||
with menuconfig (2015-04-07).
|
||||
|
||||
|
|
|
|||
|
|
@ -3,106 +3,29 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
menu "Custom Free Memory Command"
|
||||
source "$APPSDIR/system/free/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "EMACS-like Command Line Editor"
|
||||
source "$APPSDIR/system/cle/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "CU Minimal Terminal"
|
||||
source "$APPSDIR/system/cu/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "FLASH Program Installation"
|
||||
source "$APPSDIR/system/install/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "FLASH Erase-all Command"
|
||||
source "$APPSDIR/system/flash_eraseall/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Intel HEX to binary conversion"
|
||||
source "$APPSDIR/system/hex2bin/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "I2C tool"
|
||||
source "$APPSDIR/system/i2c/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "INI File Parser"
|
||||
source "$APPSDIR/system/inifile/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "NxPlayer media player library / command Line"
|
||||
source "$APPSDIR/system/nxplayer/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "RAM test"
|
||||
source "$APPSDIR/system/ramtest/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "readline()"
|
||||
source "$APPSDIR/system/readline/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "P-Code Support"
|
||||
source "$APPSDIR/system/prun/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "PHY Tool"
|
||||
source "$APPSDIR/system/mdio/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Power Off"
|
||||
source "$APPSDIR/system/poweroff/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "RAMTRON"
|
||||
source "$APPSDIR/system/ramtron/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "SD Card"
|
||||
source "$APPSDIR/system/sdcard/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Sudoku"
|
||||
source "$APPSDIR/system/sudoku/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Sysinfo"
|
||||
source "$APPSDIR/system/sysinfo/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Temperature"
|
||||
source "$APPSDIR/system/lm75/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "VI Work-Alike Editor"
|
||||
source "$APPSDIR/system/vi/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Stack Monitor"
|
||||
source "$APPSDIR/system/stackmonitor/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "USB CDC/ACM Device Commands"
|
||||
source "$APPSDIR/system/cdcacm/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "USB Composite Device Commands"
|
||||
source "$APPSDIR/system/composite/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "USB Mass Storage Device Commands"
|
||||
source "$APPSDIR/system/usbmsc/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "USB Monitor"
|
||||
source "$APPSDIR/system/usbmonitor/Kconfig"
|
||||
endmenu
|
||||
|
||||
menu "Zmodem Commands"
|
||||
source "$APPSDIR/system/zmodem/Kconfig"
|
||||
endmenu
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_CDCACM
|
||||
bool "CDC/ACM class controls"
|
||||
menuconfig SYSTEM_CDCACM
|
||||
bool "USB CDC/ACM Device Commands"
|
||||
default n
|
||||
depends on CDCACM && !KERNEL_BUILD
|
||||
---help---
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_CLE
|
||||
bool "Tiny VI work-alike command line editor"
|
||||
menuconfig SYSTEM_CLE
|
||||
bool "EMACS-like Command Line Editor"
|
||||
default n
|
||||
---help---
|
||||
Enable support for NuttX tiny EMACS-like command line editor.
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_COMPOSITE
|
||||
bool "USB composite class controls"
|
||||
menuconfig SYSTEM_COMPOSITE
|
||||
bool "USB Composite Device Commands"
|
||||
default n
|
||||
depends on USBDEV_COMPOSITE && !KERNEL_BUILD
|
||||
---help---
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_CUTERM
|
||||
bool "CU serial terminal"
|
||||
menuconfig SYSTEM_CUTERM
|
||||
bool "CU minimal serial terminal"
|
||||
default n
|
||||
---help---
|
||||
Enable the CU serial terminal. This is a minimalistic
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
config SYSTEM_FLASH_ERASEALL
|
||||
bool "FLASH eraseall tool"
|
||||
bool "FLASH Erase-all Command"
|
||||
default n
|
||||
depends on MTD && NSH_BUILTIN_APPS && !BUILD_PROTECTED && !BUILD_KERNEL
|
||||
---help---
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
#
|
||||
|
||||
config SYSTEM_FREE
|
||||
bool "NSH free command replacement"
|
||||
bool "Custom Free Memory Command"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the NSH free replacement command.
|
||||
Enable support for the NSH 'free' replacement command.
|
||||
|
||||
if SYSTEM_FREE
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_HEX2BIN
|
||||
bool "Intel HEX Conversion"
|
||||
menuconfig SYSTEM_HEX2BIN
|
||||
bool "Intel HEX to binary conversion"
|
||||
default n
|
||||
---help---
|
||||
Enable support for a logic to convert Intel HEX format to binary.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
|
||||
config SYSTEM_I2CTOOL
|
||||
menuconfig SYSTEM_I2CTOOL
|
||||
bool "I2C tool"
|
||||
default n
|
||||
depends on I2C
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_INIFILE
|
||||
bool "INI file parser"
|
||||
menuconfig SYSTEM_INIFILE
|
||||
bool "INI File Parser"
|
||||
default n
|
||||
---help---
|
||||
Enable support for a simple INI file parser.
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
config SYSTEM_INSTALL
|
||||
bool "FLASH installation tool"
|
||||
bool "FLASH Program Installation"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the FLASH installation tool.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_LM75
|
||||
menuconfig SYSTEM_LM75
|
||||
bool "Temperature"
|
||||
default n
|
||||
depends on I2C_LM75
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
#
|
||||
|
||||
config SYSTEM_MDIO
|
||||
bool "MDIO tool"
|
||||
bool "PHY Tool"
|
||||
default n
|
||||
depends on NETDEV_PHY_IOCTL
|
||||
---help---
|
||||
Enable the MDIO tool
|
||||
Enable the PHY MDIO tool
|
||||
|
||||
if SYSTEM_MDIO
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -4,11 +4,12 @@
|
|||
#
|
||||
|
||||
config SYSTEM_NXPLAYER
|
||||
bool "NxPlayer library / command line support"
|
||||
bool "NxPlayer Media Player"
|
||||
default n
|
||||
depends on AUDIO
|
||||
---help---
|
||||
Enable support for the command line media player
|
||||
Enable support for the NxPlayer media player library and optional
|
||||
command line interface.
|
||||
|
||||
if SYSTEM_NXPLAYER
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
config SYSTEM_POWEROFF
|
||||
bool "Power-Off command"
|
||||
bool "Power-Off"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the NSH poweroff command. NOTE: This option
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_PRUN
|
||||
menuconfig SYSTEM_PRUN
|
||||
bool "Pascal P-Code interpreter"
|
||||
default n
|
||||
depends on INTERPRETERS_PCODE
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
config SYSTEM_RAMTRON
|
||||
bool "RAMTRON command"
|
||||
bool "RAMTRON"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the NSH RAMTRON command.
|
||||
|
|
|
|||
|
|
@ -3,13 +3,14 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_READLINE
|
||||
bool "readline() support"
|
||||
menuconfig SYSTEM_READLINE
|
||||
bool "readline() Support"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the readline() function.
|
||||
|
||||
if SYSTEM_READLINE
|
||||
|
||||
config READLINE_ECHO
|
||||
bool "Echo character input"
|
||||
default y
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
config SYSTEM_SDCARD
|
||||
bool "NSH sdcard command"
|
||||
bool "SD Card"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the NSH sdcard command.
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_STACKMONITOR
|
||||
bool "Stack monitor"
|
||||
menuconfig SYSTEM_STACKMONITOR
|
||||
bool "Stack Monitor"
|
||||
default n
|
||||
depends on STACK_COLORATION && !KERNEL_BUILD
|
||||
---help---
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_SUDOKU
|
||||
menuconfig SYSTEM_SUDOKU
|
||||
bool "Sudoku"
|
||||
default n
|
||||
select SYSTEM_READLINE
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_SYSINFO
|
||||
bool "NSH sysinfo command"
|
||||
menuconfig SYSTEM_SYSINFO
|
||||
bool "Sysinfo"
|
||||
default n
|
||||
---help---
|
||||
Enable support for the NSH sysinfo command.
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_USBMONITOR
|
||||
menuconfig SYSTEM_USBMONITOR
|
||||
bool "USB Monitor"
|
||||
default n
|
||||
depends on (USBDEV && USBDEV_TRACE) || (USBHOST && USBHOST_TRACE)
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_USBMSC
|
||||
bool "USB mass storage class controls"
|
||||
menuconfig SYSTEM_USBMSC
|
||||
bool "USB Mass Storage Device Commands"
|
||||
default n
|
||||
depends on USBMSC && !KERNEL_BUILD
|
||||
---help---
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_VI
|
||||
bool "Tiny VI work-alike text editor"
|
||||
menuconfig SYSTEM_VI
|
||||
bool "VI Work-Alike Text Editor"
|
||||
default n
|
||||
---help---
|
||||
Enable support for NuttX tiny VI work-alike editor.
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config SYSTEM_ZMODEM
|
||||
bool "Zmodem commands"
|
||||
menuconfig SYSTEM_ZMODEM
|
||||
bool "Zmodem Commands"
|
||||
default n
|
||||
---help---
|
||||
This selection enables the 'sz' and 'rz' NSH commands.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue