This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,62 @@ menuconfig UROS_EXAMPLES
55 Enable the uROS examples.
66
77if UROS_EXAMPLES
8- source "/root/apps/examples/uros/publisher/Kconfig"
9- source "/root/apps/examples/uros/subscriber/Kconfig"
8+
9+ config UROS_EXAMPLES_PUBLISHER
10+ bool "uROS Publisher"
11+ default n
12+ depends on UROS
13+ ---help---
14+ Enable the publisher uROS example
15+
16+ if UROS_EXAMPLES_PUBLISHER
17+
18+ config UROS_EXAMPLES_PUBLISHER_PROGNAME
19+ string "Program name"
20+ default "publisher"
21+ depends on BUILD_KERNEL
22+ ---help---
23+ This is the name of the program that will be use when the NSH ELF
24+ program is installed.
25+
26+ #config UROS_EXAMPLES_PUBLISHER_PRIORITY
27+ # int "Publisher task priority"
28+ # default 100
29+ #
30+ #config UROS_EXAMPLES_PUBLISHER_STACKSIZE
31+ # int "Publisher stack size"
32+ # default 2048
33+
34+ endif
35+
36+
37+ config UROS_EXAMPLES_SUBSCRIBER
38+ bool "uROS Subscriber"
39+ default n
40+ depends on UROS
41+ ---help---
42+ Enable the subscriber uROS example
43+
44+ if UROS_EXAMPLES_SUBSCRIBER
45+
46+ config UROS_EXAMPLES_SUBSCRIBER_PROGNAME
47+ string "Program name"
48+ default "subscriber"
49+ depends on BUILD_KERNEL
50+ ---help---
51+ This is the name of the program that will be use when the NSH ELF
52+ program is installed.
53+
54+ #config UROS_EXAMPLES_SUBSCRIBER_PRIORITY
55+ # int "Subscriber task priority"
56+ # default 100
57+ #
58+ #config UROS_EXAMPLES_SUBSCRIBER_STACKSIZE
59+ # int "Subscriber stack size"
60+ # default 2048
61+
62+ endif
63+
64+
1065endif # UROS_EXAMPLES
1166
Original file line number Diff line number Diff line change 1- include $(wildcard uros/*/Make.defs)
1+ include $(wildcard examples/ uros/*/Make.defs)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11ifeq ($(CONFIG_UROS_EXAMPLES_PUBLISHER),y)
2- CONFIGURED_APPS += examples/publisher
2+ CONFIGURED_APPS += examples/uros /publisher
33endif
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11ifeq ($(CONFIG_UROS_EXAMPLES_SUBSCRIBER),y)
2- CONFIGURED_APPS += examples/subscriber
2+ CONFIGURED_APPS += examples/uros /subscriber
33endif
You can’t perform that action at this time.
0 commit comments