summaryrefslogtreecommitdiff
path: root/lib/lvgl/scripts/code-format.cfg
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-06-01 15:41:47 +1000
committerjacqueline <me@jacqueline.id.au>2023-06-01 15:41:47 +1000
commitdd27c3530432ea0b09f01e604bf577f31d8ef841 (patch)
treebbf86cf81a78f0ff0b07f31f1c390db473f26fd3 /lib/lvgl/scripts/code-format.cfg
parent6fd588e970470b15936187980829916d0dbe77bb (diff)
downloadtangara-fw-dd27c3530432ea0b09f01e604bf577f31d8ef841.tar.gz
convert lvgl from submodule to a plain old directory
Diffstat (limited to 'lib/lvgl/scripts/code-format.cfg')
m---------lib/lvgl0
-rw-r--r--lib/lvgl/scripts/code-format.cfg42
2 files changed, 42 insertions, 0 deletions
diff --git a/lib/lvgl b/lib/lvgl
deleted file mode 160000
-Subproject 0732400e7b564dd0e7dc4a924619d8e19c5b23a
diff --git a/lib/lvgl/scripts/code-format.cfg b/lib/lvgl/scripts/code-format.cfg
new file mode 100644
index 00000000..159ef46c
--- /dev/null
+++ b/lib/lvgl/scripts/code-format.cfg
@@ -0,0 +1,42 @@
+--style=kr
+--indent=spaces=4
+--indent-classes
+--indent-switches
+--indent-cases
+--indent-preproc-block
+--indent-preproc-define
+--indent-col1-comments
+--pad-oper
+--unpad-paren
+--align-pointer=middle
+--align-reference=middle
+--convert-tabs
+--max-code-length=120
+--break-after-logical
+--break-closing-braces
+--attach-closing-while
+--min-conditional-indent=0
+--max-continuation-indent=120
+--mode=c
+--lineend=linux
+--suffix=none
+--preserve-date
+--formatted
+--ignore-exclude-errors
+--ignore-exclude-errors-x
+--exclude=assets
+--exclude=../src/core/lv_obj_style_gen.c
+--exclude=../src/core/lv_obj_style_gen.h
+--exclude=../src/extra/libs/gif/gifdec.c
+--exclude=../src/extra/libs/gif/gifdec.h
+--exclude=../src/extra/libs/png/lodepng.c
+--exclude=../src/extra/libs/png/lodepng.h
+--exclude=../src/extra/libs/qrcode/qrcodegen.c
+--exclude=../src/extra/libs/qrcode/qrcodegen.h
+--exclude=../src/extra/libs/sjpg/tjpgd.c
+--exclude=../src/extra/libs/sjpg/tjpgd.h
+--exclude=../src/extra/libs/sjpg/tjpgdcnf.h
+--exclude=../src/misc/lv_style_gen.c
+--exclude=../src/misc/lv_style_gen.h
+--exclude=../src/lv_conf_internal.h
+--exclude=../tests/src/test_cases/_test_template.c