From beaff00ee905a507727195e67ab828a19516047c Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 12 May 2019 13:42:25 +0900 Subject: Add .clang logic --- center_fw/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'center_fw') diff --git a/center_fw/Makefile b/center_fw/Makefile index 2123b18..9839afe 100644 --- a/center_fw/Makefile +++ b/center_fw/Makefile @@ -52,6 +52,9 @@ LDFLAGS += -L$(CMSIS_PATH)/Lib/GCC -larm_cortexM0l_math all: main.elf +.clang: + echo flags = $(CFLAGS) > .clang + cmsis_exports.c: $(CMSIS_DEV_PATH)/Include/stm32f030x6.h $(CMSIS_PATH)/Include/core_cm0.h python3 tools/gen_cmsis_exports.py $^ > $@ -- cgit