diff options
author | Paul Selkirk <paul@psgd.org> | 2016-06-13 15:49:09 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-06-13 15:49:09 -0400 |
commit | a5850b450733141f320a817c523b85dff49f52eb (patch) | |
tree | c99fe063f3d1274377be74baa85c748b766b40d4 /projects/rtos-test | |
parent | 1cb09aab17066f72c6f439e23741bcd23c8408de (diff) |
Only the HSM project needs the RTOS; most of the test projects can use the STM32 HAL code directly.
Diffstat (limited to 'projects/rtos-test')
-rw-r--r-- | projects/rtos-test/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/rtos-test/Makefile b/projects/rtos-test/Makefile index dd2cab5..9e58a41 100644 --- a/projects/rtos-test/Makefile +++ b/projects/rtos-test/Makefile @@ -1,5 +1,9 @@ TEST = thread-test semaphore-test mutex-test +CFLAGS += -I$(RTOS_DIR)/rtos -I$(RTOS_DIR)/rtx/TARGET_CORTEX_M + +LIBS += $(RTOS_DIR)/librtos.a + all: $(TEST:=.elf) %.elf: %.o $(BOARD_OBJS) $(LIBS) |