aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-10-31 23:05:05 -0400
committerPaul Selkirk <paul@psgd.org>2015-10-31 23:05:05 -0400
commit085e7317b3749c9f2a6339366a0b964b72b71973 (patch)
tree9a1a55b79064efc1c49aa2d157cf37ff5984b9ce /Makefile
parent9278e9bafd96105b64f9946eb94f5618f01649d3 (diff)
add new test cases, add gettimeofday
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 42acc00..e05586c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-SELF-TESTS = fmc-test led-test short-test uart-test fmc-probe
+SELF-TESTS = fmc-test led-test short-test uart-test fmc-perf
-LIBHAL-TESTS = test-hash test-aes-key-wrap test-pbkdf2 #test-ecdsa test-rsa
+LIBHAL-TESTS = cores test-bus test-hash test-aes-key-wrap test-pbkdf2 test-ecdsa #test-rsa
# put your *.o targets here, make should handle the rest!
SRCS = stm32f4xx_hal_msp.c stm32f4xx_it.c stm-fmc.c stm-init.c stm-uart.c
@@ -99,8 +99,8 @@ CFLAGS += -I libhal
%.mo: %.c
$(CC) -c $(CFLAGS) -Dmain=__main -o $@ $<
-vpath %.c libc
-%.bin: %.mo main.o syscalls.o printf.o $(OBJS) $(LIBS)
+vpath %.c libc libhal/utils
+%.bin: %.mo main.o syscalls.o printf.o gettimeofday.o $(OBJS) $(LIBS)
$(CC) $(CFLAGS) $^ -o $*.elf -L$(LDSCRIPT_INC) -T$(MCU_LINKSCRIPT) -g -Wl,-Map=$*.map
$(OBJCOPY) -O ihex $*.elf $*.hex
$(OBJCOPY) -O binary $*.elf $*.bin
@@ -122,3 +122,4 @@ distclean: clean
$(MAKE) -C $(STD_PERIPH_LIB) clean
$(MAKE) -C thirdparty/libtfm clean
$(MAKE) -C libhal clean
+