diff options
author | Paul Selkirk <paul@psgd.org> | 2020-02-26 11:09:07 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2020-02-26 11:09:53 -0500 |
commit | 2e735d03c8a6f434c8f2b1a118f4b3b824e76a7a (patch) | |
tree | 824b0dd31c7afe0930faa9533c4e0fe96067b419 /projects/hsm/Makefile | |
parent | 39f2d7ec4f35191884978db447bd97638b283d1d (diff) | |
parent | 4b30c58d7062079ad14a990b552a7e8837345f07 (diff) |
Merge branch 'modexpng' to 'master'
Diffstat (limited to 'projects/hsm/Makefile')
-rw-r--r-- | projects/hsm/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/projects/hsm/Makefile b/projects/hsm/Makefile index 37c552d..a2b7c0d 100644 --- a/projects/hsm/Makefile +++ b/projects/hsm/Makefile @@ -16,6 +16,8 @@ CFLAGS += -DNUM_RPC_TASK=4 CFLAGS += -I$(LIBHAL_SRC) CFLAGS += -I$(LIBCLI_SRC) +CFLAGS += -I$(LIBTFM_BLD) +CFLAGS += -Wno-missing-field-initializers LIBS += $(LIBHAL_BLD)/libhal.a $(LIBTFM_BLD)/libtfm.a LIBS += $(LIBCLI_BLD)/libcli.a @@ -32,6 +34,14 @@ ifdef DO_TASK_METRICS CFLAGS += -DDO_TASK_METRICS endif +ifdef DO_TIMING +CFLAGS += -DDO_TIMING +CFLAGS += -I../cli-test +CFLAGS += -DCLI_STACK_SIZE=65536 +OBJS += ../cli-test/mgmt-timing.o $(TOPLEVEL)/stm-dwt.o +LDFLAGS += -lm +endif + all: $(PROJ:=.elf) %.elf: %.o $(BOARD_OBJS) $(OBJS) $(LIBS) |