batterydump:move to system dir
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
This commit is contained in:
parent
8e938957c2
commit
893ac88f97
@ -3,26 +3,26 @@
|
|||||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
config TESTING_BATTERYDUMP
|
config SYSTEM_BATTERYDUMP
|
||||||
tristate "Battery dump for test"
|
tristate "Battery dump system tool"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enable the battery dump
|
Enable the battery dump
|
||||||
|
|
||||||
if TESTING_BATTERYDUMP
|
if SYSTEM_BATTERYDUMP
|
||||||
|
|
||||||
config TESTING_BATTERYDUMP_PROGNAME
|
config SYSTEM_BATTERYDUMP_PROGNAME
|
||||||
string "Program name"
|
string "Program name"
|
||||||
default "batterydump"
|
default "batterydump"
|
||||||
---help---
|
---help---
|
||||||
This is the name of the program that will be used when the NSH ELF
|
This is the name of the program that will be used when the NSH ELF
|
||||||
program is installed.
|
program is installed.
|
||||||
|
|
||||||
config TESTING_BATTERYDUMP_PRIORITY
|
config SYSTEM_BATTERYDUMP_PRIORITY
|
||||||
int "Battery dump task priority"
|
int "Battery dump task priority"
|
||||||
default 100
|
default 100
|
||||||
|
|
||||||
config TESTING_BATTERYDUMP_STACKSIZE
|
config SYSTEM_BATTERYDUMP_STACKSIZE
|
||||||
int "Battery dump stack size"
|
int "Battery dump stack size"
|
||||||
default DEFAULT_TASK_STACKSIZE
|
default DEFAULT_TASK_STACKSIZE
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/testing/batterydump/Make.defs
|
# apps/system/batterydump/Make.defs
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -18,6 +18,6 @@
|
|||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
ifneq ($(CONFIG_TESTING_BATTERYDUMP),)
|
ifneq ($(CONFIG_SYSTEM_BATTERYDUMP),)
|
||||||
CONFIGURED_APPS += $(APPDIR)/testing/batterydump
|
CONFIGURED_APPS += $(APPDIR)/system/batterydump
|
||||||
endif
|
endif
|
@ -1,5 +1,5 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# apps/testing/batterydump/Makefile
|
# apps/system/batterydump/Makefile
|
||||||
#
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
@ -20,10 +20,10 @@
|
|||||||
|
|
||||||
include $(APPDIR)/Make.defs
|
include $(APPDIR)/Make.defs
|
||||||
|
|
||||||
PROGNAME = $(CONFIG_TESTING_BATTERYDUMP_PROGNAME)
|
PROGNAME = $(CONFIG_SYSTEM_BATTERYDUMP_PROGNAME)
|
||||||
PRIORITY = $(CONFIG_TESTING_BATTERYDUMP_PRIORITY)
|
PRIORITY = $(CONFIG_SYSTEM_BATTERYDUMP_PRIORITY)
|
||||||
STACKSIZE = $(CONFIG_TESTING_BATTERYDUMP_STACKSIZE)
|
STACKSIZE = $(CONFIG_SYSTEM_BATTERYDUMP_STACKSIZE)
|
||||||
MODULE = $(CONFIG_TESTING_BATTERYDUMP)
|
MODULE = $(CONFIG_SYSTEM_BATTERYDUMP)
|
||||||
|
|
||||||
MAINSRC = batterydump.c
|
MAINSRC = batterydump.c
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* apps/testing/batterydump/batterydump.c
|
* apps/system/batterydump/batterydump.c
|
||||||
*
|
*
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
Loading…
Reference in New Issue
Block a user