Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit 6805bd4

Browse files
committed
Refs 3831. Fixes configuration issues.
1 parent 617ded9 commit 6805bd4

6 files changed

Lines changed: 60 additions & 67 deletions

File tree

examples/uros/Kconfig

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,62 @@ menuconfig UROS_EXAMPLES
55
Enable the uROS examples.
66

77
if 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+
1065
endif # UROS_EXAMPLES
1166

examples/uros/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include $(wildcard uros/*/Make.defs)
1+
include $(wildcard examples/uros/*/Make.defs)

examples/uros/publisher/Kconfig

Lines changed: 0 additions & 31 deletions
This file was deleted.

examples/uros/publisher/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ifeq ($(CONFIG_UROS_EXAMPLES_PUBLISHER),y)
2-
CONFIGURED_APPS += examples/publisher
2+
CONFIGURED_APPS += examples/uros/publisher
33
endif

examples/uros/subscriber/Kconfig

Lines changed: 0 additions & 31 deletions
This file was deleted.

examples/uros/subscriber/Make.defs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ifeq ($(CONFIG_UROS_EXAMPLES_SUBSCRIBER),y)
2-
CONFIGURED_APPS += examples/subscriber
2+
CONFIGURED_APPS += examples/uros/subscriber
33
endif

0 commit comments

Comments
 (0)