Explorar o código

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 <kylepengchn@163.com>
kylepengchn %!s(int64=3) %!d(string=hai) anos
pai
achega
851d16b18f

+ 1 - 1
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
  *

+ 1 - 1
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
  *

+ 1 - 1
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__