File tree Expand file tree Collapse file tree 5 files changed +513
-0
lines changed Expand file tree Collapse file tree 5 files changed +513
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ##############################################################################
2
+ # apps/testing/iob/CMakeLists.txt
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more contributor
5
+ # license agreements. See the NOTICE file distributed with this work for
6
+ # additional information regarding copyright ownership. The ASF licenses this
7
+ # file to you under the Apache License, Version 2.0 (the "License"); you may not
8
+ # use this file except in compliance with the License. You may obtain a copy of
9
+ # the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations under
17
+ # the License.
18
+ #
19
+ # ##############################################################################
20
+
21
+ if (CONFIG_TESTING_IOB )
22
+ nuttx_add_application (
23
+ NAME
24
+ ${CONFIG_TESTING_IOB_PROGNAME}
25
+ PRIORITY
26
+ ${CONFIG_TESTING_IOB_PRIORITY}
27
+ STACKSIZE
28
+ ${CONFIG_TESTING_IOB_STACKSIZE}
29
+ MODULE
30
+ ${CONFIG_TESTING_IOB}
31
+ SRCS
32
+ iob_main.c )
33
+ endif ()
Original file line number Diff line number Diff line change
1
+ #
2
+ # For a description of the syntax of this configuration file,
3
+ # see the file kconfig-language.txt in the NuttX tools repository.
4
+ #
5
+
6
+ config TESTING_IOB
7
+ tristate "\"Test iob\" testing"
8
+ default n
9
+ depends on MM_IOB
10
+ ---help---
11
+ Enable the \"Test iob!\" testing.
12
+
13
+ if TESTING_IOB
14
+
15
+ config TESTING_IOB_PROGNAME
16
+ string "Program name"
17
+ default "iob"
18
+ ---help---
19
+ This is the name of the program that will be used when the NSH ELF
20
+ program is iob.
21
+
22
+ config TESTING_IOB_PRIORITY
23
+ int "Iob task priority"
24
+ default 100
25
+
26
+ config TESTING_IOB_STACKSIZE
27
+ int "Iob stack size"
28
+ default DEFAULT_TASK_STACKSIZE
29
+
30
+ endif
Original file line number Diff line number Diff line change
1
+ ############################################################################
2
+ # apps/testing/iob/Make.defs
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more
5
+ # contributor license agreements. See the NOTICE file distributed with
6
+ # this work for additional information regarding copyright ownership. The
7
+ # ASF licenses this file to you under the Apache License, Version 2.0 (the
8
+ # "License"); you may not use this file except in compliance with the
9
+ # License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations
17
+ # under the License.
18
+ #
19
+ ############################################################################
20
+
21
+ ifneq ($(CONFIG_TESTING_IOB),)
22
+ CONFIGURED_APPS += $(APPDIR)/testing/iob
23
+ endif
Original file line number Diff line number Diff line change
1
+ # ###########################################################################
2
+ # apps/testing/iob/Makefile
3
+ #
4
+ # Licensed to the Apache Software Foundation (ASF) under one or more
5
+ # contributor license agreements. See the NOTICE file distributed with
6
+ # this work for additional information regarding copyright ownership. The
7
+ # ASF licenses this file to you under the Apache License, Version 2.0 (the
8
+ # "License"); you may not use this file except in compliance with the
9
+ # License. You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
+ # License for the specific language governing permissions and limitations
17
+ # under the License.
18
+ #
19
+ # ###########################################################################
20
+
21
+ include $(APPDIR ) /Make.defs
22
+
23
+ # Iob ! built-in application info
24
+
25
+ PROGNAME = $(CONFIG_TESTING_IOB_PROGNAME )
26
+ PRIORITY = $(CONFIG_TESTING_IOB_PRIORITY )
27
+ STACKSIZE = $(CONFIG_TESTING_IOB_STACKSIZE )
28
+ MODULE = $(CONFIG_TESTING_IOB )
29
+
30
+ # Iob! Example
31
+
32
+ MAINSRC = iob_main.c
33
+
34
+ CFLAGS += -I$(TOPDIR ) /mm/iob
35
+
36
+ include $(APPDIR ) /Application.mk
You can’t perform that action at this time.
0 commit comments