aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-04-27 16:53:56 -0400
committerPaul Selkirk <paul@psgd.org>2017-04-27 16:53:56 -0400
commitbf394f25dacac8e3e3add80ea326312cdd97ed00 (patch)
treef5ad564f6834796277ddb08cbe8986cfa475c2f6 /projects/hsm/Makefile
parent410e6bb67fb5df5d0e4c962deac3e5562e5dc48f (diff)
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.
Diffstat (limited to 'projects/hsm/Makefile')
-rw-r--r--projects/hsm/Makefile9
1 files changed, 4 insertions, 5 deletions
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)