freertos cdc_msc_hid makefile compile

This commit is contained in:
hathach
2019-05-01 16:01:44 +07:00
parent 6b5a0237d8
commit 8a5bd30fa6
6 changed files with 9 additions and 7 deletions
@@ -20,7 +20,10 @@ SRC_C += \
lib/FreeRTOS/Source/queue.c \
lib/FreeRTOS/Source/tasks.c \
lib/FreeRTOS/Source/timers.c \
lib/FreeRTOS/Source/portable/GCC/$(FREERTOS_PORT)/port.c \
lib/FreeRTOS/Source/portable/MemMang/heap_4.c \
lib/FreeRTOS/Source/portable/GCC/$(FREERTOS_PORT)/port.c \
# FreeRTOS (lto + Os) linker issue
LDFLAGS += -Wl,--undefined=vTaskSwitchContext
include ../../rules.mk