summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwestcity-YOLO <[email protected]>2025-10-16 23:57:50 +0800
committerR b b666 <[email protected]>2025-11-13 10:33:25 +0800
commit32d2cf17c7fb5adf491b130521be2db566f26244 (patch)
tree1fb17590017c81f6d060bc4bc3bcc49ed21110d5
parent0d78fa460ec2a29d025cf4118f29ad19887e15a2 (diff)
clang format ignore migration
-rw-r--r--bsp/Vango/.clang-format-ignore9
-rw-r--r--bsp/microchip/.clang-format-ignore (renamed from bsp/Vango/v85xx/Libraries/.ignore_format.yml)5
-rw-r--r--bsp/microchip/samd51-seeed-wio-terminal/.ignore_format.yml6
-rw-r--r--bsp/microchip/same54/.ignore_format.yml6
-rw-r--r--bsp/microchip/same70/.ignore_format.yml6
-rw-r--r--bsp/microchip/saml10/.ignore_format.yml6
-rw-r--r--bsp/mm32f103x/.clang-format-ignore (renamed from bsp/n32g452xx/.ignore_format.yml)6
-rw-r--r--bsp/mm32f103x/.ignore_format.yml4
-rw-r--r--bsp/mm32f327x/.clang-format-ignore (renamed from bsp/yichip/yc3121-pos/.ignore_format.yml)8
-rw-r--r--bsp/mm32f327x/.ignore_format.yml6
-rw-r--r--bsp/mm32f526x/.clang-format-ignore (renamed from bsp/microchip/samd51-adafruit-metro-m4/.ignore_format.yml)5
-rw-r--r--bsp/mm32f526x/.ignore_format.yml6
-rw-r--r--bsp/mm32l07x/.clang-format-ignore (renamed from bsp/Vango/v85xxp/Libraries/.ignore_format.yml)5
-rw-r--r--bsp/mm32l3xx/.clang-format-ignore (renamed from bsp/microchip/samc21/.ignore_format.yml)4
-rw-r--r--bsp/n32/.clang-format-ignore7
-rw-r--r--bsp/n32/libraries/.ignore_format.yml6
-rw-r--r--bsp/n32g452xx/.clang-format-ignore7
-rw-r--r--bsp/nxp/.clang-format-ignore17
-rw-r--r--bsp/renesas/.clang-format-ignore14
-rw-r--r--bsp/renesas/libraries/bsp-template/.ignore_format.yml9
-rw-r--r--bsp/rockchip/.clang-format-ignore9
-rw-r--r--bsp/rockchip/common/.ignore_format.yml6
-rw-r--r--bsp/stm32/.clang-format-ignore12
-rw-r--r--bsp/stm32/libraries/.ignore_format.yml23
-rw-r--r--bsp/stm32/libraries/templates/stm32l5xx/board/.ignore_format.yml7
-rw-r--r--bsp/stm32/stm32f072-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f091-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-atk-nano/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-atk-warshipv3/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-blue-pill/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-dofly-M3S/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-dofly-lyc8/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-fire-arbitrary/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-gizwits-gokitv21/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-hw100k-ibox/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-keysking-learning/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-onenet-nbiot/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f103-yf-ufun/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f107-uc-eval/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f207-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f302-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f334-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f401-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f405-smdz-breadfruit/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f407-armfly-v5/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f407-atk-explorer/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f407-lckfb-skystar/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f407-robomaster-c/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f407-rt-spark/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f407-st-discovery/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f410-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f411-atk-nano/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f411-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f411-weact-blackpill/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f412-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f413-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f427-robomaster-a/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f429-armfly-v6/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f429-atk-apollo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f429-fire-challenger/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f429-st-disco/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f446-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f469-st-disco/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f723-st-disco/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f746-st-disco/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f746-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f767-atk-apollo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f767-fire-challenger-v1/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f767-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32f769-st-disco/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32g070-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32g071-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32g431-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32g474-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32g491-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h503-st-nucleo/board/.ignore_format.yml7
-rw-r--r--bsp/stm32/stm32h563-st-nucleo/board/.ignore_format.yml7
-rw-r--r--bsp/stm32/stm32h723-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h730-esphosted-evb/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h743-armfly-v7/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h743-atk-apollo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h743-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h747-st-discovery/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h750-armfly-h7-tool/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h750-artpi/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h7r7-artpi2/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32h7s7-st-disco/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l010-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l053-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l412-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l431-BearPi/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l432-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l433-ali-startkit/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l433-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l452-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l475-atk-pandora/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l475-st-discovery/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l476-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l496-ali-developer/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l496-st-discovery/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l496-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l4r5-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l4r9-st-eval/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l4r9-st-sensortile-box/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32l552-st-nucleo/board/.ignore_format.yml7
-rw-r--r--bsp/stm32/stm32mp157a-st-discovery/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32mp157a-st-ev1/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32u575-st-nucleo/board/.ignore_format.yml7
-rw-r--r--bsp/stm32/stm32u585-iot02a/board/.ignore_format.yml7
-rw-r--r--bsp/stm32/stm32wb55-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32wl55-st-nucleo/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32wle5-yizhilian-lm401/board/.ignore_format.yml6
-rw-r--r--bsp/stm32/stm32wle5-yizhilian-lm402/board/.ignore_format.yml6
-rw-r--r--bsp/tae32f5300/.clang-format-ignore7
-rw-r--r--bsp/tae32f5300/.ignore_format.yml6
-rw-r--r--bsp/wch/.clang-format-ignore9
-rw-r--r--bsp/wch/arm/.ignore_format.yml7
-rw-r--r--bsp/wch/risc-v/.ignore_format.yml6
-rw-r--r--bsp/yichip/.clang-format-ignore7
-rw-r--r--bsp/yichip/yc3122-pos/Libraries/.ignore_format.yml9
120 files changed, 111 insertions, 672 deletions
diff --git a/bsp/Vango/.clang-format-ignore b/bsp/Vango/.clang-format-ignore
new file mode 100644
index 0000000000..190d126d84
--- /dev/null
+++ b/bsp/Vango/.clang-format-ignore
@@ -0,0 +1,9 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+
+/v85xx*/Libraries/CMSIS/
+/v85xx*/Libraries/VangoV85xx*_standard_peripheral/ \ No newline at end of file
diff --git a/bsp/Vango/v85xx/Libraries/.ignore_format.yml b/bsp/microchip/.clang-format-ignore
index 8d549f5012..6b8f5f2668 100644
--- a/bsp/Vango/v85xx/Libraries/.ignore_format.yml
+++ b/bsp/microchip/.clang-format-ignore
@@ -2,6 +2,5 @@
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
-dir_path:
-- CMSIS
-- VangoV85xx_standard_peripheral
+# 从 .ignore_format.yml 迁移的规则
+/sam*/bsp/
diff --git a/bsp/microchip/samd51-seeed-wio-terminal/.ignore_format.yml b/bsp/microchip/samd51-seeed-wio-terminal/.ignore_format.yml
deleted file mode 100644
index 988269df37..0000000000
--- a/bsp/microchip/samd51-seeed-wio-terminal/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- bsp
diff --git a/bsp/microchip/same54/.ignore_format.yml b/bsp/microchip/same54/.ignore_format.yml
deleted file mode 100644
index 988269df37..0000000000
--- a/bsp/microchip/same54/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- bsp
diff --git a/bsp/microchip/same70/.ignore_format.yml b/bsp/microchip/same70/.ignore_format.yml
deleted file mode 100644
index 988269df37..0000000000
--- a/bsp/microchip/same70/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- bsp
diff --git a/bsp/microchip/saml10/.ignore_format.yml b/bsp/microchip/saml10/.ignore_format.yml
deleted file mode 100644
index 988269df37..0000000000
--- a/bsp/microchip/saml10/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- bsp
diff --git a/bsp/n32g452xx/.ignore_format.yml b/bsp/mm32f103x/.clang-format-ignore
index 8b73f834c0..15a2bf11f4 100644
--- a/bsp/n32g452xx/.ignore_format.yml
+++ b/bsp/mm32f103x/.clang-format-ignore
@@ -1,7 +1,7 @@
+
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
-dir_path:
-- Libraries/N32_Std_Driver
-
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/ \ No newline at end of file
diff --git a/bsp/mm32f103x/.ignore_format.yml b/bsp/mm32f103x/.ignore_format.yml
deleted file mode 100644
index 69fcc99b1c..0000000000
--- a/bsp/mm32f103x/.ignore_format.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- Libraries
diff --git a/bsp/yichip/yc3121-pos/.ignore_format.yml b/bsp/mm32f327x/.clang-format-ignore
index 2a686aabbe..15a2bf11f4 100644
--- a/bsp/yichip/yc3121-pos/.ignore_format.yml
+++ b/bsp/mm32f327x/.clang-format-ignore
@@ -1,9 +1,7 @@
+
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
-file_path:
-
-
-dir_path:
-- Libraries
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/ \ No newline at end of file
diff --git a/bsp/mm32f327x/.ignore_format.yml b/bsp/mm32f327x/.ignore_format.yml
deleted file mode 100644
index 9aaf541688..0000000000
--- a/bsp/mm32f327x/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- Libraries
diff --git a/bsp/microchip/samd51-adafruit-metro-m4/.ignore_format.yml b/bsp/mm32f526x/.clang-format-ignore
index 988269df37..15a2bf11f4 100644
--- a/bsp/microchip/samd51-adafruit-metro-m4/.ignore_format.yml
+++ b/bsp/mm32f526x/.clang-format-ignore
@@ -1,6 +1,7 @@
+
# files format check exclude path, please follow the instructions below to modify;
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
-dir_path:
-- bsp
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/ \ No newline at end of file
diff --git a/bsp/mm32f526x/.ignore_format.yml b/bsp/mm32f526x/.ignore_format.yml
deleted file mode 100644
index 9aaf541688..0000000000
--- a/bsp/mm32f526x/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- Libraries
diff --git a/bsp/Vango/v85xxp/Libraries/.ignore_format.yml b/bsp/mm32l07x/.clang-format-ignore
index 637af7573f..3aefff5542 100644
--- a/bsp/Vango/v85xxp/Libraries/.ignore_format.yml
+++ b/bsp/mm32l07x/.clang-format-ignore
@@ -2,6 +2,5 @@
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
-dir_path:
-- CMSIS
-- VangoV85xxP_standard_peripheral
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/ \ No newline at end of file
diff --git a/bsp/microchip/samc21/.ignore_format.yml b/bsp/mm32l3xx/.clang-format-ignore
index 988269df37..3aefff5542 100644
--- a/bsp/microchip/samc21/.ignore_format.yml
+++ b/bsp/mm32l3xx/.clang-format-ignore
@@ -2,5 +2,5 @@
# If you need to exclude an entire folder, add the folder path in dir_path;
# If you need to exclude a file, add the path to the file in file_path.
-dir_path:
-- bsp
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/ \ No newline at end of file
diff --git a/bsp/n32/.clang-format-ignore b/bsp/n32/.clang-format-ignore
new file mode 100644
index 0000000000..bb5dde5216
--- /dev/null
+++ b/bsp/n32/.clang-format-ignore
@@ -0,0 +1,7 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+/libraries/N32G45x_Firmware_Library/ \ No newline at end of file
diff --git a/bsp/n32/libraries/.ignore_format.yml b/bsp/n32/libraries/.ignore_format.yml
deleted file mode 100644
index cb3af28372..0000000000
--- a/bsp/n32/libraries/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- N32G45x_Firmware_Library
diff --git a/bsp/n32g452xx/.clang-format-ignore b/bsp/n32g452xx/.clang-format-ignore
new file mode 100644
index 0000000000..9a30ae21ed
--- /dev/null
+++ b/bsp/n32g452xx/.clang-format-ignore
@@ -0,0 +1,7 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/N32_Std_Driver/ \ No newline at end of file
diff --git a/bsp/nxp/.clang-format-ignore b/bsp/nxp/.clang-format-ignore
new file mode 100644
index 0000000000..c17c346522
--- /dev/null
+++ b/bsp/nxp/.clang-format-ignore
@@ -0,0 +1,17 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+/imx/imxrt/imxrt1060-nxp-evk/board/board.c/
+/imx/imxrt/imxrt1060-nxp-evk/board/MCUX_Config/
+/imx/imxrt/imxrt1060-nxp-evk/xip/
+
+/imx/imxrt/libraries/MIMXRT1060/
+
+/lpc/lpc55sxx/Libraries/LPC55*/
+
+/mcx/mcxa/Libraries/MCXA153/
+/mcx/mcxc/Libraries/MCXC444/
+/mcx/mcxn/Libraries/MCXN947/ \ No newline at end of file
diff --git a/bsp/renesas/.clang-format-ignore b/bsp/renesas/.clang-format-ignore
index a07b05b3e7..316cff2eb7 100644
--- a/bsp/renesas/.clang-format-ignore
+++ b/bsp/renesas/.clang-format-ignore
@@ -1,4 +1,14 @@
-# clang-format ignore file
+# .clang-format-ignore File Description:
+# ----------------------------------------------------------------------------------------
+# 1. Used to specify which files or directories should be skipped by the clang-format tool.
+# 2. Follows syntax rules similar to .gitignore.
+# 3. Supports wildcard patterns and path matching.
+# 4. clang-format will recursively apply the .clang-format-ignore rules.
+
+# Renesas Vendor library
+<<<<<<< HEAD
/**/ra/
/**/ra_cfg/
-/**/ra_gen/ \ No newline at end of file
+/**/ra_gen/
+/libraries/bsp-template/
+/**/RTE/
diff --git a/bsp/renesas/libraries/bsp-template/.ignore_format.yml b/bsp/renesas/libraries/bsp-template/.ignore_format.yml
deleted file mode 100644
index af51bf92aa..0000000000
--- a/bsp/renesas/libraries/bsp-template/.ignore_format.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- ra
-- ra_gen
-- ra_cfg
-- RTE
diff --git a/bsp/rockchip/.clang-format-ignore b/bsp/rockchip/.clang-format-ignore
new file mode 100644
index 0000000000..70e26d6f65
--- /dev/null
+++ b/bsp/rockchip/.clang-format-ignore
@@ -0,0 +1,9 @@
+# .clang-format-ignore File Description:
+# ----------------------------------------------------------------------------------------
+# 1. Used to specify which files or directories should be skipped by the clang-format tool.
+# 2. Follows syntax rules similar to .gitignore.
+# 3. Supports wildcard patterns and path matching.
+# 4. clang-format will recursively apply the .clang-format-ignore rules.
+
+
+/common/rk_hal/ \ No newline at end of file
diff --git a/bsp/rockchip/common/.ignore_format.yml b/bsp/rockchip/common/.ignore_format.yml
deleted file mode 100644
index 1ee81ddd89..0000000000
--- a/bsp/rockchip/common/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- rk_hal
diff --git a/bsp/stm32/.clang-format-ignore b/bsp/stm32/.clang-format-ignore
new file mode 100644
index 0000000000..d432a648cb
--- /dev/null
+++ b/bsp/stm32/.clang-format-ignore
@@ -0,0 +1,12 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+# 忽略所有 STM32 HAL 库目录
+/libraries/STM32*_HAL/
+
+# 忽略所有 STM32 BSP 的 CubeMX 配置目录
+/stm32*/board/CubeMX_Config/
+
diff --git a/bsp/stm32/libraries/.ignore_format.yml b/bsp/stm32/libraries/.ignore_format.yml
deleted file mode 100644
index d048d41ed5..0000000000
--- a/bsp/stm32/libraries/.ignore_format.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- STM32F0xx_HAL
-- STM32F1xx_HAL
-- STM32F2xx_HAL
-- STM32F3xx_HAL
-- STM32F4xx_HAL
-- STM32F7xx_HAL
-- STM32G0xx_HAL
-- STM32G4xx_HAL
-- STM32H7xx_HAL
-- STM32L0xx_HAL
-- STM32L1xx_HAL
-- STM32L4xx_HAL
-- STM32L5xx_HAL
-- STM32MPxx_HAL
-- STM32U5xx_HAL
-- STM32H5xx_HAL
-- STM32WBxx_HAL
-- STM32WLxx_HAL
diff --git a/bsp/stm32/libraries/templates/stm32l5xx/board/.ignore_format.yml b/bsp/stm32/libraries/templates/stm32l5xx/board/.ignore_format.yml
deleted file mode 100644
index 4e3e46a59e..0000000000
--- a/bsp/stm32/libraries/templates/stm32l5xx/board/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
-- linker_scripts
diff --git a/bsp/stm32/stm32f072-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f072-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f072-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f091-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f091-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f091-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-atk-nano/board/.ignore_format.yml b/bsp/stm32/stm32f103-atk-nano/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-atk-nano/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-atk-warshipv3/board/.ignore_format.yml b/bsp/stm32/stm32f103-atk-warshipv3/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-atk-warshipv3/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-blue-pill/board/.ignore_format.yml b/bsp/stm32/stm32f103-blue-pill/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-blue-pill/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-dofly-M3S/board/.ignore_format.yml b/bsp/stm32/stm32f103-dofly-M3S/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-dofly-M3S/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-dofly-lyc8/board/.ignore_format.yml b/bsp/stm32/stm32f103-dofly-lyc8/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-dofly-lyc8/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-fire-arbitrary/board/.ignore_format.yml b/bsp/stm32/stm32f103-fire-arbitrary/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-fire-arbitrary/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-gizwits-gokitv21/board/.ignore_format.yml b/bsp/stm32/stm32f103-gizwits-gokitv21/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-gizwits-gokitv21/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-hw100k-ibox/board/.ignore_format.yml b/bsp/stm32/stm32f103-hw100k-ibox/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-hw100k-ibox/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-keysking-learning/board/.ignore_format.yml b/bsp/stm32/stm32f103-keysking-learning/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-keysking-learning/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-onenet-nbiot/board/.ignore_format.yml b/bsp/stm32/stm32f103-onenet-nbiot/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-onenet-nbiot/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f103-yf-ufun/board/.ignore_format.yml b/bsp/stm32/stm32f103-yf-ufun/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f103-yf-ufun/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f107-uc-eval/board/.ignore_format.yml b/bsp/stm32/stm32f107-uc-eval/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f107-uc-eval/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f207-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f207-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f207-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f302-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f302-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f302-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f334-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f334-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f334-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f401-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f401-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f401-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/board/.ignore_format.yml b/bsp/stm32/stm32f405-smdz-breadfruit/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f405-smdz-breadfruit/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f407-armfly-v5/board/.ignore_format.yml b/bsp/stm32/stm32f407-armfly-v5/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f407-armfly-v5/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f407-atk-explorer/board/.ignore_format.yml b/bsp/stm32/stm32f407-atk-explorer/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f407-atk-explorer/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f407-lckfb-skystar/board/.ignore_format.yml b/bsp/stm32/stm32f407-lckfb-skystar/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f407-lckfb-skystar/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f407-robomaster-c/board/.ignore_format.yml b/bsp/stm32/stm32f407-robomaster-c/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f407-robomaster-c/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f407-rt-spark/board/.ignore_format.yml b/bsp/stm32/stm32f407-rt-spark/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f407-rt-spark/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f407-st-discovery/board/.ignore_format.yml b/bsp/stm32/stm32f407-st-discovery/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f407-st-discovery/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f410-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f410-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f410-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f411-atk-nano/board/.ignore_format.yml b/bsp/stm32/stm32f411-atk-nano/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f411-atk-nano/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f411-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f411-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f411-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f411-weact-blackpill/board/.ignore_format.yml b/bsp/stm32/stm32f411-weact-blackpill/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f411-weact-blackpill/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f412-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f412-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f412-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f413-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f413-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f413-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f427-robomaster-a/board/.ignore_format.yml b/bsp/stm32/stm32f427-robomaster-a/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f427-robomaster-a/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f429-armfly-v6/board/.ignore_format.yml b/bsp/stm32/stm32f429-armfly-v6/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f429-armfly-v6/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f429-atk-apollo/board/.ignore_format.yml b/bsp/stm32/stm32f429-atk-apollo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f429-atk-apollo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f429-fire-challenger/board/.ignore_format.yml b/bsp/stm32/stm32f429-fire-challenger/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f429-fire-challenger/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f429-st-disco/board/.ignore_format.yml b/bsp/stm32/stm32f429-st-disco/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f429-st-disco/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f446-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f446-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f446-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f469-st-disco/board/.ignore_format.yml b/bsp/stm32/stm32f469-st-disco/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f469-st-disco/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f723-st-disco/board/.ignore_format.yml b/bsp/stm32/stm32f723-st-disco/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f723-st-disco/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f746-st-disco/board/.ignore_format.yml b/bsp/stm32/stm32f746-st-disco/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f746-st-disco/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f746-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f746-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f746-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f767-atk-apollo/board/.ignore_format.yml b/bsp/stm32/stm32f767-atk-apollo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f767-atk-apollo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/board/.ignore_format.yml b/bsp/stm32/stm32f767-fire-challenger-v1/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f767-fire-challenger-v1/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f767-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32f767-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f767-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32f769-st-disco/board/.ignore_format.yml b/bsp/stm32/stm32f769-st-disco/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32f769-st-disco/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32g070-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32g070-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32g070-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32g071-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32g071-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32g071-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32g431-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32g431-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32g431-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32g474-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32g474-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32g474-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32g491-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32g491-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32g491-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h503-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32h503-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 4e3e46a59e..0000000000
--- a/bsp/stm32/stm32h503-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
-- linker_scripts
diff --git a/bsp/stm32/stm32h563-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32h563-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 4e3e46a59e..0000000000
--- a/bsp/stm32/stm32h563-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
-- linker_scripts
diff --git a/bsp/stm32/stm32h723-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32h723-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h723-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h730-esphosted-evb/board/.ignore_format.yml b/bsp/stm32/stm32h730-esphosted-evb/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h730-esphosted-evb/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h743-armfly-v7/board/.ignore_format.yml b/bsp/stm32/stm32h743-armfly-v7/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h743-armfly-v7/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h743-atk-apollo/board/.ignore_format.yml b/bsp/stm32/stm32h743-atk-apollo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h743-atk-apollo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h743-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32h743-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h743-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h747-st-discovery/board/.ignore_format.yml b/bsp/stm32/stm32h747-st-discovery/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h747-st-discovery/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/board/.ignore_format.yml b/bsp/stm32/stm32h750-armfly-h7-tool/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h750-armfly-h7-tool/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h750-artpi/board/.ignore_format.yml b/bsp/stm32/stm32h750-artpi/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h750-artpi/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h7r7-artpi2/board/.ignore_format.yml b/bsp/stm32/stm32h7r7-artpi2/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h7r7-artpi2/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32h7s7-st-disco/board/.ignore_format.yml b/bsp/stm32/stm32h7s7-st-disco/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32h7s7-st-disco/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l010-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l010-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l010-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l053-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l053-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l053-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l412-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l412-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l412-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l431-BearPi/board/.ignore_format.yml b/bsp/stm32/stm32l431-BearPi/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l431-BearPi/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l432-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l432-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l432-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l433-ali-startkit/board/.ignore_format.yml b/bsp/stm32/stm32l433-ali-startkit/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l433-ali-startkit/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l433-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l433-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l433-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l452-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l452-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l452-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l475-atk-pandora/board/.ignore_format.yml b/bsp/stm32/stm32l475-atk-pandora/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l475-atk-pandora/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l475-st-discovery/board/.ignore_format.yml b/bsp/stm32/stm32l475-st-discovery/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l475-st-discovery/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l476-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l476-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l476-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l496-ali-developer/board/.ignore_format.yml b/bsp/stm32/stm32l496-ali-developer/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l496-ali-developer/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l496-st-discovery/board/.ignore_format.yml b/bsp/stm32/stm32l496-st-discovery/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l496-st-discovery/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l496-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l496-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l496-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l4r5-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l4r5-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l4r5-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l4r9-st-eval/board/.ignore_format.yml b/bsp/stm32/stm32l4r9-st-eval/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l4r9-st-eval/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l4r9-st-sensortile-box/board/.ignore_format.yml b/bsp/stm32/stm32l4r9-st-sensortile-box/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32l4r9-st-sensortile-box/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32l552-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32l552-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 4e3e46a59e..0000000000
--- a/bsp/stm32/stm32l552-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
-- linker_scripts
diff --git a/bsp/stm32/stm32mp157a-st-discovery/board/.ignore_format.yml b/bsp/stm32/stm32mp157a-st-discovery/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32mp157a-st-discovery/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32mp157a-st-ev1/board/.ignore_format.yml b/bsp/stm32/stm32mp157a-st-ev1/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32mp157a-st-ev1/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32u575-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32u575-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 4e3e46a59e..0000000000
--- a/bsp/stm32/stm32u575-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
-- linker_scripts
diff --git a/bsp/stm32/stm32u585-iot02a/board/.ignore_format.yml b/bsp/stm32/stm32u585-iot02a/board/.ignore_format.yml
deleted file mode 100644
index 4e3e46a59e..0000000000
--- a/bsp/stm32/stm32u585-iot02a/board/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
-- linker_scripts
diff --git a/bsp/stm32/stm32wb55-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32wb55-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32wb55-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32wl55-st-nucleo/board/.ignore_format.yml b/bsp/stm32/stm32wl55-st-nucleo/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32wl55-st-nucleo/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/board/.ignore_format.yml b/bsp/stm32/stm32wle5-yizhilian-lm401/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32wle5-yizhilian-lm401/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/stm32/stm32wle5-yizhilian-lm402/board/.ignore_format.yml b/bsp/stm32/stm32wle5-yizhilian-lm402/board/.ignore_format.yml
deleted file mode 100644
index 0d7f3e360c..0000000000
--- a/bsp/stm32/stm32wle5-yizhilian-lm402/board/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CubeMX_Config
diff --git a/bsp/tae32f5300/.clang-format-ignore b/bsp/tae32f5300/.clang-format-ignore
new file mode 100644
index 0000000000..15a2bf11f4
--- /dev/null
+++ b/bsp/tae32f5300/.clang-format-ignore
@@ -0,0 +1,7 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+/Libraries/ \ No newline at end of file
diff --git a/bsp/tae32f5300/.ignore_format.yml b/bsp/tae32f5300/.ignore_format.yml
deleted file mode 100644
index 9aaf541688..0000000000
--- a/bsp/tae32f5300/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- Libraries
diff --git a/bsp/wch/.clang-format-ignore b/bsp/wch/.clang-format-ignore
new file mode 100644
index 0000000000..420b37585a
--- /dev/null
+++ b/bsp/wch/.clang-format-ignore
@@ -0,0 +1,9 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+# 忽略所有 CH32F 系列标准外设驱动目录
+/arm/Libraries/CH32F*_StdPeriph_Driver/
+/risc-v/Libraries/CH32V10x_StdPeriph_Driver/ \ No newline at end of file
diff --git a/bsp/wch/arm/.ignore_format.yml b/bsp/wch/arm/.ignore_format.yml
deleted file mode 100644
index bec9d4504d..0000000000
--- a/bsp/wch/arm/.ignore_format.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- Libraries/CH32F10x_StdPeriph_Driver
-- Libraries/CH32F20x_StdPeriph_Driver
diff --git a/bsp/wch/risc-v/.ignore_format.yml b/bsp/wch/risc-v/.ignore_format.yml
deleted file mode 100644
index 25781d8c1c..0000000000
--- a/bsp/wch/risc-v/.ignore_format.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- Libraries/CH32V10x_StdPeriph_Driver
diff --git a/bsp/yichip/.clang-format-ignore b/bsp/yichip/.clang-format-ignore
new file mode 100644
index 0000000000..e4831e7027
--- /dev/null
+++ b/bsp/yichip/.clang-format-ignore
@@ -0,0 +1,7 @@
+
+# files format check exclude path, please follow the instructions below to modify;
+# If you need to exclude an entire folder, add the folder path in dir_path;
+# If you need to exclude a file, add the path to the file in file_path.
+
+# 从 .ignore_format.yml 迁移的规则
+/yc312*-pos/Libraries/
diff --git a/bsp/yichip/yc3122-pos/Libraries/.ignore_format.yml b/bsp/yichip/yc3122-pos/Libraries/.ignore_format.yml
deleted file mode 100644
index eaae820eee..0000000000
--- a/bsp/yichip/yc3122-pos/Libraries/.ignore_format.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-# If you need to exclude an entire folder, add the folder path in dir_path;
-# If you need to exclude a file, add the path to the file in file_path.
-
-dir_path:
-- CMSIS
-- core
-- sdk
-- startup