File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,12 @@ if(CONFIG_CRYPTO_MBEDTLS)
73
73
# Library Configuration
74
74
# ############################################################################
75
75
76
+ set_property (
77
+ TARGET nuttx
78
+ APPEND
79
+ PROPERTY NUTTX_INCLUDE_DIRECTORIES ${INCDIR} )
80
+
76
81
nuttx_add_library (mbedtls STATIC )
77
- nuttx_export_header (TARGET mbedtls INCLUDE_DIRECTORIES ${MBEDTLS_DIR} /include )
78
82
target_sources (mbedtls PRIVATE ${CSRCS} )
79
83
target_include_directories (mbedtls PRIVATE ${INCDIR} )
80
84
target_compile_definitions (mbedtls PRIVATE unix )
Original file line number Diff line number Diff line change 20
20
21
21
if (CONFIG_UORB )
22
22
23
+ set_property (
24
+ TARGET nuttx
25
+ APPEND
26
+ PROPERTY NUTTX_INCLUDE_DIRECTORIES ${NUTTX_APPS_DIR} /system/uorb )
27
+
23
28
nuttx_add_library (uorb STATIC )
24
29
25
30
file (GLOB_RECURSE CSRCS "sensor/*.c" )
26
31
list (APPEND CSRCS uORB/uORB.c )
27
32
28
33
if (CONFIG_UORB_LISTENER )
29
- nuttx_add_application (NAME uorb_listener SRCS listener.c DEPENDS uorb )
34
+ nuttx_add_application (
35
+ NAME
36
+ uorb_listener
37
+ PRIORITY
38
+ ${CONFIG_UORB_PRIORITY}
39
+ STACKSIZE
40
+ ${CONFIG_UORB_STACKSIZE}
41
+ MODULE
42
+ ${CONFIG_UORB}
43
+ SRCS
44
+ listener.c
45
+ DEPENDS
46
+ uorb )
30
47
endif ()
31
48
32
49
if (CONFIG_UORB_TEST )
33
50
nuttx_add_application (
34
51
NAME
35
52
uorb_unit_test
53
+ PRIORITY
54
+ ${CONFIG_UORB_PRIORITY}
55
+ STACKSIZE
56
+ ${CONFIG_UORB_STACKSIZE}
57
+ MODULE
58
+ ${CONFIG_UORB}
36
59
SRCS
37
- test /utility.c
38
60
test /unit_test.c
61
+ test /utility.c
39
62
DEPENDS
40
63
uorb )
41
64
endif ()
You can’t perform that action at this time.
0 commit comments