aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'stm32f091/makefile')
-rw-r--r--stm32f091/makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/stm32f091/makefile b/stm32f091/makefile
index 10ede8c..a359853 100644
--- a/stm32f091/makefile
+++ b/stm32f091/makefile
@@ -15,6 +15,9 @@ SHARED_FLAGS += -Wa,--defsym,CALL_ARM_SYSTEM_INIT=1
SHARED_FLAGS += -I./lib/STM32-base-STM32Cube/CMSIS/ARM/inc
SHARED_FLAGS += -I./lib/STM32-base-STM32Cube/CMSIS/STM32F0xx/inc
SHARED_FLAGS += -I./lib/STM32-base/startup
+SHARED_FLAGS += -I./lib/FreeRTOS-Kernel/include
+SHARED_FLAGS += -I./lib/FreeRTOS-Kernel/portable/GCC/ARM_CM0/
+SHARED_FLAGS += -I.
SHARED_FLAGS += -ffunction-sections
SHARED_FLAGS += -fdata-sections
SHARED_FLAGS += -mlittle-endian
@@ -34,6 +37,16 @@ LFLAGS += $(SHARED_FLAGS)
AFLAGS += $(SHARED_FLAGS)
OBJS += $(patsubst %.c,%.o, $(wildcard *.c))
+OBJS += lib/FreeRTOS-Kernel/croutine.o \
+ lib/FreeRTOS-Kernel/event_groups.o \
+ lib/FreeRTOS-Kernel/list.o \
+ lib/FreeRTOS-Kernel/queue.o \
+ lib/FreeRTOS-Kernel/stream_buffer.o \
+ lib/FreeRTOS-Kernel/tasks.o \
+ lib/FreeRTOS-Kernel/timers.o \
+ lib/FreeRTOS-Kernel/portable/GCC/ARM_CM0/port.o \
+ lib/FreeRTOS-Kernel/portable/MemMang/heap_4.o
+
OBJS += ./lib/STM32-base/startup/STM32F0xx/STM32F091xC.o
OBJS += ./lib/STM32-base-STM32Cube/CMSIS/STM32F0xx/src/system_stm32f0xx.o