summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkylepengchn <[email protected]>2022-03-25 23:06:43 +0800
committerGitHub <[email protected]>2022-03-25 23:06:43 +0800
commit851d16b18f0448ee83e069edd5aaa3998e00e284 (patch)
tree70751899c58a935d9805679a84ba1cf69f2f86c4
parentc4b62a91617adec1734b9d7d695c152dc2c965fe (diff)
Soft spi (#5712)
* add soft-spi * add spi-bit-ops.c/h to components/drivers/spi * add a drv_soft_spi example for gd32303e-eval * use formatting.py scripts for scanning Signed-off-by: kyle <[email protected]>
-rw-r--r--bsp/gd32303e-eval/drivers/drv_soft_spi.c2
-rw-r--r--bsp/gd32303e-eval/drivers/drv_soft_spi.h2
-rw-r--r--components/drivers/spi/spi-bit-ops.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/bsp/gd32303e-eval/drivers/drv_soft_spi.c b/bsp/gd32303e-eval/drivers/drv_soft_spi.c
index bd24256a85..7fb053d0d3 100644
--- a/bsp/gd32303e-eval/drivers/drv_soft_spi.c
+++ b/bsp/gd32303e-eval/drivers/drv_soft_spi.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/bsp/gd32303e-eval/drivers/drv_soft_spi.h b/bsp/gd32303e-eval/drivers/drv_soft_spi.h
index 1db0a691e9..be297e1c5e 100644
--- a/bsp/gd32303e-eval/drivers/drv_soft_spi.h
+++ b/bsp/gd32303e-eval/drivers/drv_soft_spi.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
+ * Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
diff --git a/components/drivers/spi/spi-bit-ops.h b/components/drivers/spi/spi-bit-ops.h
index f56bb98e9c..f6dcd0d7ca 100644
--- a/components/drivers/spi/spi-bit-ops.h
+++ b/components/drivers/spi/spi-bit-ops.h
@@ -5,7 +5,7 @@
*
* Change Logs:
* Date Author Notes
- * 2021-10-11 kyle first version
+ * 2021-10-11 kyle first version
*/
#ifndef __SPI_BIT_OPS_H__