File tree 29 files changed +103
-30
lines changed
29 files changed +103
-30
lines changed Original file line number Diff line number Diff line change 1
1
# ##############################################################################
2
- # apps/testing /cpuload/CMakeLists.txt
2
+ # apps/system /cpuload/CMakeLists.txt
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
20
20
#
21
21
# ##############################################################################
22
22
23
- if (CONFIG_TESTING_CPULOAD )
23
+ if (CONFIG_SYSTEM_CPULOAD )
24
24
nuttx_add_application(
25
25
NAME
26
26
cpuload
@@ -29,7 +29,7 @@ if(CONFIG_TESTING_CPULOAD)
29
29
STACKSIZE
30
30
${CONFIG_DEFAULT_TASK_STACKSIZE}
31
31
MODULE
32
- ${CONFIG_TESTING_CPULOAD }
32
+ ${CONFIG_SYSTEM_CPULOAD }
33
33
SRCS
34
34
cpuload_main.c)
35
35
endif ()
Original file line number Diff line number Diff line change 3
3
# see the file kconfig-language.txt in the NuttX tools repository.
4
4
#
5
5
6
- config TESTING_CPULOAD
6
+ config SYSTEM_CPULOAD
7
7
tristate "cpuload test"
8
8
default n
Original file line number Diff line number Diff line change 1
1
############################################################################
2
- # apps/testing /cpuload/Make.defs
2
+ # apps/system /cpuload/Make.defs
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
20
20
#
21
21
############################################################################
22
22
23
- ifneq ($(CONFIG_TESTING_CPULOAD ),)
24
- CONFIGURED_APPS += $(APPDIR)/testing/cpuload
23
+ ifneq ($(CONFIG_SYSTEM_CPULOAD ),)
24
+ CONFIGURED_APPS += $(APPDIR)/testing/sched/ cpuload
25
25
endif
Original file line number Diff line number Diff line change 1
1
# ###########################################################################
2
- # apps/testing /cpuload/Makefile
2
+ # apps/system /cpuload/Makefile
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
@@ -25,7 +25,7 @@ include $(APPDIR)/Make.defs
25
25
PROGNAME = cpuload
26
26
PRIORITY = 253
27
27
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE )
28
- MODULE = $(CONFIG_TESTING_CPULOAD )
28
+ MODULE = $(CONFIG_SYSTEM_CPULOAD )
29
29
30
30
MAINSRC = cpuload_main.c
31
31
Original file line number Diff line number Diff line change 1
1
/****************************************************************************
2
- * apps/testing/cpuload/cpuload_main.c
2
+ * apps/testing/sched/ cpuload/cpuload_main.c
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*
Original file line number Diff line number Diff line change 1
1
# ##############################################################################
2
- # apps/testing/atomic/CMakeLists.txt
2
+ # apps/testing/libc/ atomic/CMakeLists.txt
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
############################################################################
2
- # apps/testing/atomic/Make.defs
2
+ # apps/testing/libc/ atomic/Make.defs
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
21
21
############################################################################
22
22
23
23
ifneq ($(CONFIG_TESTING_ATOMIC),)
24
- CONFIGURED_APPS += $(APPDIR)/testing/atomic
24
+ CONFIGURED_APPS += $(APPDIR)/testing/sched/ atomic
25
25
endif
Original file line number Diff line number Diff line change 1
1
# ###########################################################################
2
- # apps/testing/atomic/Makefile
2
+ # apps/testing/libc/ atomic/Makefile
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
Original file line number Diff line number Diff line change 1
1
/****************************************************************************
2
- * apps/testing/atomic/atomic_main.c
2
+ * apps/testing/libc/ atomic/atomic_main.c
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*
Original file line number Diff line number Diff line change
1
+ /Kconfig
Original file line number Diff line number Diff line change
1
+ # ##############################################################################
2
+ # apps/testing/sched/CMakeLists.txt
3
+ #
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
6
+ # Licensed to the Apache Software Foundation (ASF) under one or more contributor
7
+ # license agreements. See the NOTICE file distributed with this work for
8
+ # additional information regarding copyright ownership. The ASF licenses this
9
+ # file to you under the Apache License, Version 2.0 (the "License"); you may not
10
+ # use this file except in compliance with the License. You may obtain a copy of
11
+ # the License at
12
+ #
13
+ # http://www.apache.org/licenses/LICENSE-2.0
14
+ #
15
+ # Unless required by applicable law or agreed to in writing, software
16
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18
+ # License for the specific language governing permissions and limitations under
19
+ # the License.
20
+ #
21
+ # ##############################################################################
22
+
23
+ nuttx_add_subdirectory()
24
+ nuttx_generate_kconfig(MENUDESC "sched" )
Original file line number Diff line number Diff line change
1
+ ############################################################################
2
+ # apps/testing/sched/Make.defs
3
+ #
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
6
+ # Licensed to the Apache Software Foundation (ASF) under one or more
7
+ # contributor license agreements. See the NOTICE file distributed with
8
+ # this work for additional information regarding copyright ownership. The
9
+ # ASF licenses this file to you under the Apache License, Version 2.0 (the
10
+ # "License"); you may not use this file except in compliance with the
11
+ # License. You may obtain a copy of the License at
12
+ #
13
+ # http://www.apache.org/licenses/LICENSE-2.0
14
+ #
15
+ # Unless required by applicable law or agreed to in writing, software
16
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18
+ # License for the specific language governing permissions and limitations
19
+ # under the License.
20
+ #
21
+ ############################################################################
22
+
23
+ include $(wildcard $(APPDIR)/testing/sched/*/Make.defs)
Original file line number Diff line number Diff line change
1
+ # ###########################################################################
2
+ # apps/testing/sched/Makefile
3
+ #
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
6
+ # Licensed to the Apache Software Foundation (ASF) under one or more
7
+ # contributor license agreements. See the NOTICE file distributed with
8
+ # this work for additional information regarding copyright ownership. The
9
+ # ASF licenses this file to you under the Apache License, Version 2.0 (the
10
+ # "License"); you may not use this file except in compliance with the
11
+ # License. You may obtain a copy of the License at
12
+ #
13
+ # http://www.apache.org/licenses/LICENSE-2.0
14
+ #
15
+ # Unless required by applicable law or agreed to in writing, software
16
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18
+ # License for the specific language governing permissions and limitations
19
+ # under the License.
20
+ #
21
+ # ###########################################################################
22
+
23
+ MENUDESC = "sched"
24
+
25
+ include $(APPDIR ) /Directory.mk
Original file line number Diff line number Diff line change 1
1
# ##############################################################################
2
- # apps/testing/getprime/CMakeLists.txt
2
+ # apps/testing/sched/ getprime/CMakeLists.txt
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
############################################################################
2
- # apps/testing/getprime/Make.defs
2
+ # apps/testing/sched/ getprime/Make.defs
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
21
21
############################################################################
22
22
23
23
ifneq ($(CONFIG_TESTING_GETPRIME),)
24
- CONFIGURED_APPS += $(APPDIR)/testing/getprime
24
+ CONFIGURED_APPS += $(APPDIR)/testing/sched/ getprime
25
25
endif
Original file line number Diff line number Diff line change 1
1
# ###########################################################################
2
- # apps/testing/getprime/Makefile
2
+ # apps/testing/sched/ getprime/Makefile
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
Original file line number Diff line number Diff line change 1
1
/****************************************************************************
2
- * apps/testing/getprime/getprime_main.c
2
+ * apps/testing/sched/ getprime/getprime_main.c
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*
Original file line number Diff line number Diff line change 1
1
# ##############################################################################
2
- # apps/testing/smp/CMakeLists.txt
2
+ # apps/testing/sched/ smp/CMakeLists.txt
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
############################################################################
2
- # apps/testing/smp/Make.defs
2
+ # apps/testing/sched/ smp/Make.defs
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
21
21
############################################################################
22
22
23
23
ifneq ($(CONFIG_TESTING_SMP),)
24
- CONFIGURED_APPS += $(APPDIR)/testing/smp
24
+ CONFIGURED_APPS += $(APPDIR)/testing/sched/ smp
25
25
endif
Original file line number Diff line number Diff line change 1
1
# ###########################################################################
2
- # apps/testing/smp/Makefile
2
+ # apps/testing/sched/ smp/Makefile
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
Original file line number Diff line number Diff line change 1
1
/****************************************************************************
2
- * apps/testing/smp/smp_main.c
2
+ * apps/testing/sched/ smp/smp_main.c
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*
Original file line number Diff line number Diff line change 1
1
# ##############################################################################
2
- # apps/testing/timerjitter/CMakeLists.txt
2
+ # apps/testing/sched/ timerjitter/CMakeLists.txt
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
############################################################################
2
- # apps/testing/timerjitter/Make.defs
2
+ # apps/testing/sched/ timerjitter/Make.defs
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
21
21
############################################################################
22
22
23
23
ifneq ($(CONFIG_TESTING_TIMERJITTER),)
24
- CONFIGURED_APPS += $(APPDIR)/testing/timerjitter
24
+ CONFIGURED_APPS += $(APPDIR)/testing/sched/ timerjitter
25
25
endif
Original file line number Diff line number Diff line change 1
1
# ###########################################################################
2
- # apps/testing/timerjitter/Makefile
2
+ # apps/testing/sched/ timerjitter/Makefile
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
Original file line number Diff line number Diff line change 1
1
/****************************************************************************
2
- * apps/testing/timerjitter/timerjitter.c
2
+ * apps/testing/sched/ timerjitter/timerjitter.c
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*
You can’t perform that action at this time.
0 commit comments