From bf394f25dacac8e3e3add80ea326312cdd97ed00 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Thu, 27 Apr 2017 16:53:56 -0400 Subject: Replace the RTOS with a simple cooperative tasker. There are no priorities and no preemption, so tasks run in a round-robin fashion, and explicitly yield control. --- projects/hsm/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'projects/hsm/Makefile') diff --git a/projects/hsm/Makefile b/projects/hsm/Makefile index 6f941cf..d08fa52 100644 --- a/projects/hsm/Makefile +++ b/projects/hsm/Makefile @@ -8,7 +8,7 @@ OBJS = mgmt-cli.o \ mgmt-keystore.c \ mgmt-masterkey.c \ mgmt-misc.c \ - mgmt-thread.c \ + mgmt-task.c \ log.o BOARD_OBJS = \ @@ -22,20 +22,19 @@ BOARD_OBJS = \ $(TOPLEVEL)/stm-keystore.o \ $(TOPLEVEL)/stm-sdram.o \ $(TOPLEVEL)/stm-flash.o \ - $(BOARD_DIR)/TOOLCHAIN_GCC_ARM/startup_stm32f429xx_rtos.o \ + $(BOARD_DIR)/TOOLCHAIN_GCC_ARM/startup_stm32f429xx.o \ $(BOARD_DIR)/system_stm32f4xx.o \ $(BOARD_DIR)/stm32f4xx_hal_msp.o \ - $(BOARD_DIR)/stm32f4xx_it_rtos.o + $(BOARD_DIR)/stm32f4xx_it.o \ + $(TOPLEVEL)/task.o CFLAGS += -DNUM_RPC_TASK=4 CFLAGS += -I$(LIBHAL_SRC) CFLAGS += -I$(LIBCLI_SRC) -CFLAGS += -I$(RTOS_DIR)/rtos -I$(RTOS_DIR)/rtx/TARGET_CORTEX_M LIBS += $(LIBHAL_BLD)/libhal.a $(LIBTFM_BLD)/libtfm.a LIBS += $(LIBCLI_BLD)/libcli.a -LIBS += $(RTOS_DIR)/librtos.a all: $(PROJ:=.elf) -- cgit v1.2.3