Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions system/uorb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,22 @@ if(CONFIG_UORB)
uorb)
endif()

if(CONFIG_UORB_GENERATOR)
nuttx_add_application(
NAME
uorb_generator
PRIORITY
${CONFIG_UORB_PRIORITY}
STACKSIZE
${CONFIG_UORB_STACKSIZE}
MODULE
${CONFIG_UORB}
SRCS
generator.c
DEPENDS
uorb)
endif()

if(CONFIG_UORB_TEST)
nuttx_add_application(
NAME
Expand Down
4 changes: 4 additions & 0 deletions system/uorb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ config UORB_LISTENER
bool "uorb listener"
default n

config UORB_GENERATOR
bool "uorb generator"
default n

config UORB_TESTS
bool "uorb unit tests"
default n
Expand Down
5 changes: 5 additions & 0 deletions system/uorb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ MAINSRC += listener.c
PROGNAME += uorb_listener
endif

ifneq ($(CONFIG_UORB_GENERATOR),)
MAINSRC += generator.c
PROGNAME += uorb_generator
endif

ifneq ($(CONFIG_UORB_TESTS),)
CSRCS += test/utility.c
MAINSRC += test/unit_test.c
Expand Down
Loading
Loading