summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-02-10 19:21:14 -0500
committerguo <[email protected]>2023-02-15 09:36:04 +0800
commitad79e294742e2486e42c44e11619ef3b756dabf4 (patch)
treeb6511d3301d84459d4be95dd40b75a63b5c744d3
parent5f080215a17a956fb53839093cb9d3429a581916 (diff)
format ch32 driver
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_common.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_common.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_flash.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_flash_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_gpio.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_log.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_rtc.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_spi.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f20x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_uart.h2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f10x.c2
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f20x.c2
26 files changed, 26 insertions, 26 deletions
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_common.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_common.c
index 1b6068b729..380a7e7d98 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_common.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_common.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_common.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_common.h
index e63f68bb3b..bc3095e1ee 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_common.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_common.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_flash.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_flash.h
index c422e91ffb..e20af1bdea 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_flash.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_flash.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_flash_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_flash_ch32f20x.c
index 44f4c5d96f..7beb5d7b53 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_flash_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_flash_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio.h
index f0e61e9dfc..af5bdccc3c 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f10x.c
index dfe48b0809..c093bbb20e 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f20x.c
index 8bdeb8db2d..f356944c5b 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_gpio_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c.h
index 5406d88075..e616dba2b6 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f10x.c
index 23ee2be882..3a59ba7f60 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f20x.c
index 17a398907d..64b9204196 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwi2c_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c
index f8344e8439..2a7671c278 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f20x.c
index 5602ee1979..564180a269 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f10x.c
index 2ce1631586..5fc4c604b0 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f20x.c
index 1c0248221c..1d2a03fa5c 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_iwdt_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_log.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_log.h
index e1b61708cc..2d44d4e901 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_log.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_log.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c
index 8c5d65ecff..646e593f49 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f20x.c
index 5726d0f7ff..791d9f148d 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc.h
index 5fe4a6cd70..9e015f714d 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c
index 3f6237d93f..173cdeb1ed 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f20x.c
index 6dec0ef02f..b1df196bd5 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_spi.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_spi.h
index 40c5566790..e9d4a903be 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_spi.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_spi.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f10x.c
index 1aa65bb323..6ed05b9905 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f20x.c
index 656dff87f4..769b5c12b8 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_spi_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_uart.h b/bsp/wch/arm/Libraries/ch32_drivers/drv_uart.h
index 89a0b2b032..effea1ff1c 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_uart.h
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_uart.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f10x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f10x.c
index bf4f9b012f..e00ed81778 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f10x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f10x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f20x.c b/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f20x.c
index bac66246d1..93d2bfb022 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f20x.c
+++ b/bsp/wch/arm/Libraries/ch32_drivers/drv_uart_ch32f20x.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2022, RT-Thread Development Team
+ * Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*