From 2a6ce07104f4090736123c4997f47568efb58b18 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 6 Jul 2019 15:37:36 +0900 Subject: More logic works now --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c772a3e..ea9ee6b 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ LIBS = #LIBS += -lrdimon CFLAGS += -DSTM32F103xB -DHSE_VALUE=8000000 -DLSE_VALUE=32768 +CFLAGS += -DCOMPILE_TIME=$(shell date +%s) -DTARGET_DATE=$(shell date -d 'Aug 17 00:00:00 CEST 2019' +%s) LDFLAGS += -Tstm32_flash.ld CFLAGS += -I$(CMSIS_DEV_PATH)/Include -I$(CMSIS_PATH)/Include -I$(HAL_PATH)/Inc -Iconfig -Wno-unused -I../common -- cgit