Enable CONFIG_BOARD_POWEROFF=y. Now you can use the NSH shutdown command to terminate the NSH session

This commit is contained in:
Gregory Nutt 2015-07-04 08:17:40 -06:00
parent 149fc3f79e
commit 2760ca1cda

View File

@ -90,6 +90,7 @@ CONFIG_SIM_WALLTIME=y
# CONFIG_ARCH_HAVE_MPU is not set
# CONFIG_ARCH_NAND_HWECC is not set
# CONFIG_ARCH_HAVE_EXTCLK is not set
CONFIG_ARCH_HAVE_POWEROFF=y
# CONFIG_ARCH_STACKDUMP is not set
# CONFIG_ENDIAN_BIG is not set
# CONFIG_ARCH_IDLE_CUSTOM is not set
@ -139,7 +140,13 @@ CONFIG_NSH_MMCSDMINOR=0
#
# Board-Specific Options
#
# CONFIG_LIB_BOARDCTL is not set
CONFIG_LIB_BOARDCTL=y
CONFIG_BOARDCTL_POWEROFF=y
# CONFIG_BOARDCTL_TSCTEST is not set
# CONFIG_BOARDCTL_ADCTEST is not set
# CONFIG_BOARDCTL_PWMTEST is not set
# CONFIG_BOARDCTL_GRAPHICS is not set
# CONFIG_BOARDCTL_IOCTL is not set
#
# RTOS Features