Skip to content

Commit b295d5d

Browse files
dulibo1xiaoxiang781216
authored andcommitted
batterydump:move to system dir
Signed-off-by: dulibo1 <[email protected]>
1 parent 46768fc commit b295d5d

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

testing/batterydump/Kconfig renamed to system/batterydump/Kconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
# see the file kconfig-language.txt in the NuttX tools repository.
44
#
55
#
6-
config TESTING_BATTERYDUMP
7-
tristate "Battery dump for test"
6+
config SYSTEM_BATTERYDUMP
7+
tristate "Battery dump system tool"
88
default n
99
---help---
1010
Enable the battery dump
1111

12-
if TESTING_BATTERYDUMP
12+
if SYSTEM_BATTERYDUMP
1313

14-
config TESTING_BATTERYDUMP_PROGNAME
14+
config SYSTEM_BATTERYDUMP_PROGNAME
1515
string "Program name"
1616
default "batterydump"
1717
---help---
1818
This is the name of the program that will be used when the NSH ELF
1919
program is installed.
2020

21-
config TESTING_BATTERYDUMP_PRIORITY
21+
config SYSTEM_BATTERYDUMP_PRIORITY
2222
int "Battery dump task priority"
2323
default 100
2424

25-
config TESTING_BATTERYDUMP_STACKSIZE
25+
config SYSTEM_BATTERYDUMP_STACKSIZE
2626
int "Battery dump stack size"
2727
default DEFAULT_TASK_STACKSIZE
2828

testing/batterydump/Make.defs renamed to system/batterydump/Make.defs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/batterydump/Make.defs
2+
# apps/system/batterydump/Make.defs
33
#
44
# Licensed to the Apache Software Foundation (ASF) under one or more
55
# contributor license agreements. See the NOTICE file distributed with
@@ -18,6 +18,6 @@
1818
#
1919
############################################################################
2020

21-
ifneq ($(CONFIG_TESTING_BATTERYDUMP),)
22-
CONFIGURED_APPS += $(APPDIR)/testing/batterydump
21+
ifneq ($(CONFIG_SYSTEM_BATTERYDUMP),)
22+
CONFIGURED_APPS += $(APPDIR)/system/batterydump
2323
endif

testing/batterydump/Makefile renamed to system/batterydump/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/batterydump/Makefile
2+
# apps/system/batterydump/Makefile
33
#
44
# Licensed to the Apache Software Foundation (ASF) under one or more
55
# contributor license agreements. See the NOTICE file distributed with
@@ -20,10 +20,10 @@
2020

2121
include $(APPDIR)/Make.defs
2222

23-
PROGNAME = $(CONFIG_TESTING_BATTERYDUMP_PROGNAME)
24-
PRIORITY = $(CONFIG_TESTING_BATTERYDUMP_PRIORITY)
25-
STACKSIZE = $(CONFIG_TESTING_BATTERYDUMP_STACKSIZE)
26-
MODULE = $(CONFIG_TESTING_BATTERYDUMP)
23+
PROGNAME = $(CONFIG_SYSTEM_BATTERYDUMP_PROGNAME)
24+
PRIORITY = $(CONFIG_SYSTEM_BATTERYDUMP_PRIORITY)
25+
STACKSIZE = $(CONFIG_SYSTEM_BATTERYDUMP_STACKSIZE)
26+
MODULE = $(CONFIG_SYSTEM_BATTERYDUMP)
2727

2828
MAINSRC = batterydump.c
2929

testing/batterydump/batterydump.c renamed to system/batterydump/batterydump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/batterydump/batterydump.c
2+
* apps/system/batterydump/batterydump.c
33
*
44
* Licensed to the Apache Software Foundation (ASF) under one or more
55
* contributor license agreements. See the NOTICE file distributed with

0 commit comments

Comments
 (0)