diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 5387a8a..3472d99 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -16,7 +16,5 @@ jobs: clang-format-version: '17' # only check core, embedded base covered internally check-path: "Core/" - # massive regex to exclude anything CubeMX generated, could require tweaking. Uses posix extended - exclude-regex: "/stm32.*|main.(c|h)|freertos.*|FreeRTOS.*|sys.*|(system|startup)_stm32.*/ig" # use the clang-format from embedded base format-filepath: "./Drivers/Embedded-Base/clang-format" diff --git a/Core/.clang-format-ignore b/Core/.clang-format-ignore new file mode 100644 index 0000000..fab9147 --- /dev/null +++ b/Core/.clang-format-ignore @@ -0,0 +1,4 @@ +FreeRTOS* +stm32* +sys* +./Startup/* \ No newline at end of file