mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Add support for the poweroff on calypso phones
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4520 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/************************************************************************
|
||||
* arch/power.h
|
||||
*
|
||||
* Supposed to be empty
|
||||
*
|
||||
************************************************************************/
|
||||
@@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# configs/c5471evm/nsh/appconfig
|
||||
# configs/compal_e88/nsh_highram/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
@@ -33,22 +33,11 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
# NSH shell
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
|
||||
# NSH library
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
|
||||
# Networking support
|
||||
|
||||
ifeq ($(CONFIG_NET),y)
|
||||
CONFIGURED_APPS += netutils/uiplib
|
||||
CONFIGURED_APPS += netutils/dhcpc
|
||||
CONFIGURED_APPS += netutils/resolv
|
||||
CONFIGURED_APPS += netutils/tftpc
|
||||
CONFIGURED_APPS += netutils/webclient
|
||||
endif
|
||||
|
||||
CONFIGURED_APPS += examples/hello examples/poweroff
|
||||
# Path to example in apps/examples
|
||||
CONFIGURED_APPS += examples/hello
|
||||
CONFIGURED_APPS += vsn/poweroff
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
############################################################################
|
||||
# configs/c5471evm/nsh/defconfig
|
||||
#
|
||||
# Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
# Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@@ -428,6 +428,10 @@ CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
|
||||
#
|
||||
# Settings for examples/hello
|
||||
CONFIG_EXAMPLES_HELLO_BUILTIN=y
|
||||
|
||||
#
|
||||
# Settings for examples/wget
|
||||
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/************************************************************************
|
||||
* arch/power.h
|
||||
*
|
||||
* Supposed to be empty
|
||||
*
|
||||
************************************************************************/
|
||||
@@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# configs/c5471evm/nsh/appconfig
|
||||
# configs/compal_e99/nsh_compalram/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
@@ -33,22 +33,11 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Path to example in apps/examples containing the user_start entry point
|
||||
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
|
||||
# NSH library
|
||||
# NSH shell
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
|
||||
# Networking support
|
||||
|
||||
ifeq ($(CONFIG_NET),y)
|
||||
CONFIGURED_APPS += netutils/uiplib
|
||||
CONFIGURED_APPS += netutils/dhcpc
|
||||
CONFIGURED_APPS += netutils/resolv
|
||||
CONFIGURED_APPS += netutils/tftpc
|
||||
CONFIGURED_APPS += netutils/webclient
|
||||
endif
|
||||
|
||||
CONFIGURED_APPS += examples/hello examples/poweroff
|
||||
# Path to example in apps/examples
|
||||
CONFIGURED_APPS += examples/hello
|
||||
CONFIGURED_APPS += vsn/poweroff
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
############################################################################
|
||||
# configs/c5471evm/nsh/defconfig
|
||||
# configs/compal_e99/nsh_compalram/defconfig
|
||||
#
|
||||
# Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
# Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@@ -396,6 +396,10 @@ CONFIG_NET_BROADCAST=n
|
||||
CONFIG_NET_DHCP_LIGHT=n
|
||||
CONFIG_NET_RESOLV_ENTRIES=4
|
||||
|
||||
#
|
||||
# Settings for examples/hello
|
||||
CONFIG_EXAMPLES_HELLO_BUILTIN=y
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
CONFIG_EXAMPLE_UIP_NOMAC=y
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# configs/c5471evm/nsh/appconfig
|
||||
# configs/compal_e99/nsh_highram/appconfig
|
||||
#
|
||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
@@ -34,9 +34,11 @@
|
||||
############################################################################
|
||||
|
||||
# NSH shell
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
CONFIGURED_APPS += system/readline
|
||||
CONFIGURED_APPS += nshlib
|
||||
CONFIGURED_APPS += examples/nsh
|
||||
|
||||
|
||||
# Path to example in apps/examples
|
||||
CONFIGURED_APPS += examples/ostest
|
||||
CONFIGURED_APPS += examples/hello
|
||||
CONFIGURED_APPS += vsn/poweroff
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
############################################################################
|
||||
# configs/c5471evm/nsh/defconfig
|
||||
# configs/compal_e99/nsh_highram/defconfig
|
||||
#
|
||||
# Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
# Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@@ -428,6 +428,10 @@ CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_NSH_BUILTIN_APPS=y
|
||||
|
||||
#
|
||||
# Settings for examples/hello
|
||||
CONFIG_EXAMPLES_HELLO_BUILTIN=y
|
||||
|
||||
#
|
||||
# Settings for examples/wget
|
||||
# CONFIG_EXAMPLE_WGET_URL - The URL of the file to get
|
||||
@@ -473,7 +477,3 @@ CONFIG_PTHREAD_STACK_MIN=256
|
||||
CONFIG_PTHREAD_STACK_DEFAULT=4096
|
||||
CONFIG_HEAP_BASE=
|
||||
CONFIG_HEAP_SIZE=
|
||||
|
||||
# Application configuration
|
||||
CONFIG_EXAMPLES_OSTEST_BUILTIN=y
|
||||
CONFIG_APPS_DIR="../apps"
|
||||
|
||||
Reference in New Issue
Block a user