aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'driver_fw/Makefile')
-rw-r--r--driver_fw/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_fw/Makefile b/driver_fw/Makefile
index 84098e2..f6a20ae 100644
--- a/driver_fw/Makefile
+++ b/driver_fw/Makefile
@@ -39,6 +39,9 @@ SOURCES = main.c startup_stm32f030x6.s system_stm32f0xx.c base.c $(HAL_PATH)/Src
all: main.elf
+.clang:
+ echo flags = $(CFLAGS) > .clang
+
cmsis_exports.c: $(CMSIS_DEV_PATH)/Include/stm32f030x6.h $(CMSIS_PATH)/Include/core_cm0.h
python3 gen_cmsis_exports.py $^ > $@