Prechádzať zdrojové kódy

feat:clang format ignore migration

ache 2 mesiacov pred
rodič
commit
36bf8f656b
40 zmenil súbory, kde vykonal 50 pridanie a 191 odobranie
  1. 2 0
      bsp/Infineon/.clang-format-ignore
  2. 0 6
      bsp/Infineon/psoc6-evaluationkit-062S2/libs/.ignore_format.yml
  3. 2 0
      bsp/acm32/.clang-format-ignore
  4. 0 6
      bsp/acm32/acm32f0x0-nucleo/.ignore_format.yml
  5. 0 6
      bsp/acm32/acm32f4xx-nucleo/.ignore_format.yml
  6. 6 0
      bsp/apm32/.clang-format-ignore
  7. 0 10
      bsp/apm32/libraries/.ignore_format.yml
  8. 2 0
      bsp/at32/.clang-format-ignore
  9. 0 6
      bsp/at32/libraries/.ignore_format.yml
  10. 3 0
      bsp/bouffalo_lab/.clang-format-ignore
  11. 0 7
      bsp/bouffalo_lab/libraries/bl_mcu_sdk/.ignore_format.yml
  12. 7 0
      bsp/core-v-mcu/.clang-format-ignore
  13. 0 8
      bsp/core-v-mcu/Libraries/core_v_hal_libraries/.ignore_format.yml
  14. 0 8
      bsp/core-v-mcu/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/.ignore_format.yml
  15. 2 0
      bsp/cvitek/.clang-format-ignore
  16. 0 6
      bsp/cvitek/drivers/.ignore_format.yml
  17. 3 0
      bsp/essemi/.clang-format-ignore
  18. 0 4
      bsp/essemi/es32f0654/.ignore_format.yml
  19. 0 4
      bsp/essemi/es32f369x/.ignore_format.yml
  20. 0 4
      bsp/essemi/es32vf2264/.ignore_format.yml
  21. 2 0
      bsp/fm33lc026/.clang-format-ignore
  22. 0 6
      bsp/fm33lc026/.ignore_format.yml
  23. 2 0
      bsp/ft32/.clang-format-ignore
  24. 0 6
      bsp/ft32/libraries/.ignore_format.yml
  25. 0 9
      bsp/gd32/arm/libraries/.ignore_format.yml
  26. 2 0
      bsp/hc32/.clang-format-ignore
  27. 0 9
      bsp/hc32/libraries/.ignore_format.yml
  28. 2 0
      bsp/hc32l136/.clang-format-ignore
  29. 0 9
      bsp/hc32l136/.ignore_format.yml
  30. 2 0
      bsp/hc32l196/.clang-format-ignore
  31. 0 7
      bsp/hc32l196/.ignore_format.yml
  32. 2 0
      bsp/hk32/.clang-format-ignore
  33. 0 9
      bsp/hk32/.ignore_format.yml
  34. 3 0
      bsp/hpmicro/.clang-format-ignore
  35. 0 27
      bsp/hpmicro/.ignore_format.yml
  36. 4 0
      bsp/ht32/.clang-format-ignore
  37. 0 8
      bsp/ht32/libraries/.ignore_format.yml
  38. 4 11
      bsp/renesas/.clang-format-ignore
  39. 0 6
      bsp/renesas/libraries/.ignore_format.yml
  40. 0 9
      bsp/renesas/ra4m1-ek/.ignore_format.yml

+ 2 - 0
bsp/Infineon/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file  
+/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/

+ 0 - 6
bsp/Infineon/psoc6-evaluationkit-062S2/libs/.ignore_format.yml

@@ -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:
-- TARGET_RTT-062S2

+ 2 - 0
bsp/acm32/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file  
+/**/libraries/ 

+ 0 - 6
bsp/acm32/acm32f0x0-nucleo/.ignore_format.yml

@@ -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

+ 0 - 6
bsp/acm32/acm32f4xx-nucleo/.ignore_format.yml

@@ -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

+ 6 - 0
bsp/apm32/.clang-format-ignore

@@ -0,0 +1,6 @@
+# clang-format ignore file 
+/libraries/APM32F0xx_Library/ 
+/libraries/APM32F10x_Library/ 
+/libraries/APM32F4xx_Library/ 
+/libraries/APM32E10x_Library/ 
+/libraries/APM32S10x_Library/ 

+ 0 - 10
bsp/apm32/libraries/.ignore_format.yml

@@ -1,10 +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:
-- APM32F0xx_Library
-- APM32F10x_Library
-- APM32F4xx_Library
-- APM32E10x_Library
-- APM32S10x_Library

+ 2 - 0
bsp/at32/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file  
+/libraries/CMSIS/ 

+ 0 - 6
bsp/at32/libraries/.ignore_format.yml

@@ -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:
-- CMSIS

+ 3 - 0
bsp/bouffalo_lab/.clang-format-ignore

@@ -0,0 +1,3 @@
+# clang-format ignore file  
+/libraries/bl_mcu_sdk/drivers/
+/libraries/bl_mcu_sdk/tools/

+ 0 - 7
bsp/bouffalo_lab/libraries/bl_mcu_sdk/.ignore_format.yml

@@ -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:
-- drivers
-- tools

+ 7 - 0
bsp/core-v-mcu/.clang-format-ignore

@@ -0,0 +1,7 @@
+# clang-format ignore file  
+/Libraries/core_v_hal_libraries/bmsis/
+/Libraries/core_v_hal_libraries/core_v_hal/
+/Libraries/core_v_hal_libraries/core_v_udma_driver/
+/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/core-v-mcu.c
+/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/crt0.S
+/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/vectors.S

+ 0 - 8
bsp/core-v-mcu/Libraries/core_v_hal_libraries/.ignore_format.yml

@@ -1,8 +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:
-- bmsis
-- core_v_hal
-- core_v_udma_driver

+ 0 - 8
bsp/core-v-mcu/Libraries/core_v_hal_libraries/bmsis/core-v-mcu/source/.ignore_format.yml

@@ -1,8 +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:
-- core-v-mcu.c
-- crt0.S
-- vectors.S

+ 2 - 0
bsp/cvitek/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file  
+/drivers/libraries/

+ 0 - 6
bsp/cvitek/drivers/.ignore_format.yml

@@ -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

+ 3 - 0
bsp/essemi/.clang-format-ignore

@@ -0,0 +1,3 @@
+# clang-format ignore file  
+/**/libraries/ 
+

+ 0 - 4
bsp/essemi/es32f0654/.ignore_format.yml

@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- libraries

+ 0 - 4
bsp/essemi/es32f369x/.ignore_format.yml

@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- libraries

+ 0 - 4
bsp/essemi/es32vf2264/.ignore_format.yml

@@ -1,4 +0,0 @@
-# files format check exclude path, please follow the instructions below to modify;
-
-dir_path:
-- libraries

+ 2 - 0
bsp/fm33lc026/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file 
+/libraries/ 

+ 0 - 6
bsp/fm33lc026/.ignore_format.yml

@@ -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

+ 2 - 0
bsp/ft32/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file  
+/libraries/FT32F0xx/ 

+ 0 - 6
bsp/ft32/libraries/.ignore_format.yml

@@ -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:
-- FT32F0xx

+ 0 - 9
bsp/gd32/arm/libraries/.ignore_format.yml

@@ -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:
-- GD32F10x_Firmware_Library
-- GD32F20x_Firmware_Library
-- GD32F30x_Firmware_Library
-- GD32F4xx_Firmware_Library

+ 2 - 0
bsp/hc32/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file  
+/libraries/hc32_drivers/

+ 0 - 9
bsp/hc32/libraries/.ignore_format.yml

@@ -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:
-- hc32f4a0_ddl
-- hc32f460_ddl
-- hc32f448_ddl
-- hc32f472_ddl

+ 2 - 0
bsp/hc32l136/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file 
+/Libraries/

+ 0 - 9
bsp/hc32l136/.ignore_format.yml

@@ -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.
-
-file_path:
-
-
-dir_path:
-- libraries

+ 2 - 0
bsp/hc32l196/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file 
+/Libraries/ 

+ 0 - 7
bsp/hc32l196/.ignore_format.yml

@@ -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

+ 2 - 0
bsp/hk32/.clang-format-ignore

@@ -0,0 +1,2 @@
+# clang-format ignore file 
+/libraries/ 

+ 0 - 9
bsp/hk32/.ignore_format.yml

@@ -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.
-
-file_path:
-
-
-dir_path:
-- libraries

+ 3 - 0
bsp/hpmicro/.clang-format-ignore

@@ -0,0 +1,3 @@
+# clang-format ignore file 
+/**/startup/ 
+/libraries/hpm_sdk/ 

+ 0 - 27
bsp/hpmicro/.ignore_format.yml

@@ -1,27 +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:
-  - hpm6200evk/startup
-  - hpm6200evk/board
-  - hpm6300evk/startup
-  - hpm6300evk/board
-  - hpm6750evk/startup
-  - hpm6750evk/board
-  - hpm6750evk2/startup
-  - hpm6750evk2/board
-  - hpm6750evkmini/startup
-  - hpm6750evkmini/board
-  - hpm5300evk/startup
-  - hpm5300evk/board
-  - hpm5301evklite/startup
-  - hpm5301evklite/board
-  - hpm6800evk/startup
-  - hpm6800evk/board
-  - hpm6e00evk/startup
-  - hpm6e00evk/board
-  - hpm6p00evk/startup
-  - hpm6p00evk/board
-  - hpm5e00evk/startup
-  - hpm5e00evk/board

+ 4 - 0
bsp/ht32/.clang-format-ignore

@@ -0,0 +1,4 @@
+# clang-format ignore file  
+/libraries/HT32_STD_1xxxx_FWLib/ 
+/libraries/HT32_STD_5xxxx_FWLib/ 
+/libraries/usbd_library/ 

+ 0 - 8
bsp/ht32/libraries/.ignore_format.yml

@@ -1,8 +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:
-- HT32_STD_1xxxx_FWLib
-- HT32_STD_5xxxx_FWLib
-- usbd_library

+ 4 - 11
bsp/renesas/.clang-format-ignore

@@ -1,11 +1,4 @@
-# .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
-**/ra/
-**/ra_cfg/
-**/ra_gen/
+# clang-format ignore file  
+/**/ra/
+/**/ra_cfg/
+/**/ra_gen/

+ 0 - 6
bsp/renesas/libraries/.ignore_format.yml

@@ -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-template

+ 0 - 9
bsp/renesas/ra4m1-ek/.ignore_format.yml

@@ -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