Skip to content

Commit e0e8579

Browse files
authored
Added uors_app_folder to C_includes. Changed uros_app_folder to wildcard in C_sources. (#3)
1 parent 13ce2a9 commit e0e8579

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

microros_olimex_e407_extensions/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ FreeRTOS-Plus-POSIX/source/FreeRTOS_POSIX_pthread.c \
161161
Src/custom_memory_manager.c \
162162
Src/libatomic.c \
163163
Src/allocators.c \
164-
$(UROS_APP_FOLDER)/app.c
164+
$(wildcard $(UROS_APP_FOLDER)/*.c)
165165

166166
# Removing heap4 manager while being polite with STM32CubeMX
167167
TMPVAR := $(C_SOURCES)
@@ -249,7 +249,8 @@ C_INCLUDES = \
249249
-IFreeRTOS-Plus-POSIX/include/portable/empty_portable \
250250
-IFreeRTOS-Plus-POSIX/include/portable \
251251
-Iinclude \
252-
-Iinclude/private
252+
-Iinclude/private \
253+
-I$(UROS_APP_FOLDER)
253254

254255
MICROROS_INCLUDES += $(shell find $(UROS_DIR)/install -name 'include' | sed -E "s/(.*)/-I\1/")
255256
MICROROS_INCLUDES += -I$(EXTENSIONS_DIR)/include

0 commit comments

Comments
 (0)