From 58c4759d01d18ec722f39e7c4743b8acb9488f19 Mon Sep 17 00:00:00 2001 From: Theodore Ateba Date: Sat, 24 Dec 2022 23:00:36 +0000 Subject: [PATCH] Add script for AVR style check. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15911 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- tools/style/style_avr_demos.sh | 2 ++ tools/style/style_avr_lld.sh | 2 ++ tools/style/style_avr_testhal.sh | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 tools/style/style_avr_demos.sh create mode 100644 tools/style/style_avr_lld.sh create mode 100644 tools/style/style_avr_testhal.sh diff --git a/tools/style/style_avr_demos.sh b/tools/style/style_avr_demos.sh new file mode 100644 index 000000000..4eac060ff --- /dev/null +++ b/tools/style/style_avr_demos.sh @@ -0,0 +1,2 @@ +#!/bin/bash +find ../../demos/AVR -name "*.[ch]" -exec perl stylecheck.pl "{}" \; diff --git a/tools/style/style_avr_lld.sh b/tools/style/style_avr_lld.sh new file mode 100644 index 000000000..e5de137cb --- /dev/null +++ b/tools/style/style_avr_lld.sh @@ -0,0 +1,2 @@ +#!/bin/bash +find ../../os/hal/ports/AVR/ -name "*.[ch]" -exec perl stylecheck.pl "{}" \; diff --git a/tools/style/style_avr_testhal.sh b/tools/style/style_avr_testhal.sh new file mode 100644 index 000000000..582473cb7 --- /dev/null +++ b/tools/style/style_avr_testhal.sh @@ -0,0 +1,2 @@ +#!/bin/bash +find ../../testhal/AVR -name "*.[ch]" -exec perl stylecheck.pl "{}" \;