From 87feae8a58bcda71b2e60a9156f678f3c4cec6d7 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 20 Nov 2022 16:53:33 +0100 Subject: add clang-tidy and clang-format --- nrf528xx/makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nrf528xx/makefile (limited to 'nrf528xx/makefile') diff --git a/nrf528xx/makefile b/nrf528xx/makefile new file mode 100644 index 0000000..ab7d624 --- /dev/null +++ b/nrf528xx/makefile @@ -0,0 +1,10 @@ +.PHONY: format + +SRCS := + +SRCS += $(wildcard *.c) +SRCS += $(wildcard *.h) + +format: + clang-format -i $(SRCS) + clang-tidy --fix-errors $(SRCS) -- cgit v1.2.3