[drivers] Specifies the name of the drivers driver file

https://github.com/RT-Thread/rt-thread/pull/9420
This commit is contained in:
CXSforHPU
2024-09-14 05:40:40 +08:00
committed by GitHub
parent 57d002b25e
commit bb91502465
219 changed files with 400 additions and 398 deletions
@@ -79,8 +79,8 @@ static const struct _cy_sdio_pin_and_name_config _sdcard_config =
};
#include <dfs_fs.h>
#include <drivers/mmcsd_core.h>
#include <drivers/gpt.h>
#include <drivers/dev_mmcsd_core.h>
#include <drivers/dev_gpt.h>
struct rthw_sdio
{
struct rt_device parent;
+1 -1
View File
@@ -12,7 +12,7 @@
#define __DRV_SPI__
#include <rtthread.h>
#include <drivers/spi.h>
#include "drivers/dev_spi.h"
#include "drv_gpio.h"
@@ -9,8 +9,8 @@
*/
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
@@ -9,7 +9,7 @@
*/
#include "board.h"
#include <drivers/watchdog.h>
#include "drivers/dev_watchdog.h"
#ifdef RT_USING_WDT
@@ -10,8 +10,8 @@
#include <rtthread.h>
#include <board.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
@@ -10,7 +10,7 @@
#include <rtthread.h>
#include <rtdevice.h>
#include <drivers/spi.h>
#include "drivers/dev_spi.h"
#include "board.h"
#include "drv_spi.h"
@@ -28,8 +28,8 @@
#endif
#if defined(TINA_USING_SPI_FLASH) && defined(RT_USING_SFUD)
#include "spi_flash.h"
#include <spi_flash_sfud.h>
#include "dev_spi_flash.h"
#include <dev_spi_flash_sfud.h>
rt_spi_flash_device_t spi_device;
int rt_hw_spi_flash_with_sfud_init(void)
{
@@ -9,8 +9,8 @@
*/
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
@@ -9,8 +9,8 @@
*/
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
@@ -9,8 +9,8 @@
*/
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
@@ -9,8 +9,8 @@
*/
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
@@ -9,8 +9,8 @@
*/
#include <rtthread.h>
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH)
+2 -2
View File
@@ -15,8 +15,8 @@
#include "rtdevice.h"
#include <rthw.h>
#include <string.h>
#include <drivers/mmcsd_core.h>
#include <drivers/sdio.h>
#include <drivers/dev_mmcsd_core.h>
#include <drivers/dev_sdio.h>
#include "drv_common.h"
#include "board.h"
+1 -1
View File
@@ -13,7 +13,7 @@
#include "board.h"
#include <rtthread.h>
#include <drivers/spi.h>
#include "drivers/dev_spi.h"
struct apm32_spi_config
{
+2 -2
View File
@@ -14,8 +14,8 @@
#include "rtdevice.h"
#include <rthw.h>
#include <string.h>
#include <drivers/mmcsd_core.h>
#include <drivers/sdio.h>
#include <drivers/dev_mmcsd_core.h>
#include <drivers/dev_sdio.h>
#include "drv_common.h"
#define SDCARD_INSTANCE_TYPE sdio_type
+1 -1
View File
@@ -12,7 +12,7 @@
#define __DRV_SPI__
#include <rtthread.h>
#include <drivers/spi.h>
#include "drivers/dev_spi.h"
#include "drv_common.h"
#include "drv_dma.h"
+1 -1
View File
@@ -8,7 +8,7 @@
* 2022-05-16 shelton first version
*/
#include <drivers/watchdog.h>
#include "drivers/dev_watchdog.h"
#include "drv_common.h"
#ifdef RT_USING_WDT
@@ -22,7 +22,7 @@
#endif
#ifdef RT_USING_SDIO
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#include "at91_mci.h"
#endif
+1 -1
View File
@@ -10,7 +10,7 @@
#include <rtthread.h>
#include <rthw.h>
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#include <at91sam926x.h>
#include "at91_mci.h"
@@ -22,7 +22,7 @@
#endif
#ifdef RT_USING_SDIO
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#include "at91_mci.h"
#endif
+1 -1
View File
@@ -10,7 +10,7 @@
#include <rtthread.h>
#include <rthw.h>
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#include <at91sam9g45.h>
#include "at91_mci.h"
+1 -1
View File
@@ -12,7 +12,7 @@
#include "rtconfig.h"
#include "rtdef.h"
#include "rthw.h"
#include "serial.h"
#include "drivers/dev_serial.h"
#include <signal.h>
#include <sys/platform.h>
+1 -1
View File
@@ -12,7 +12,7 @@
#include <rtthread.h>
#include "application.h"
#include "board.h"
#include "serial.h"
#include "drivers/dev_serial.h"
#include "finsh.h"
extern "asm" int rtt_heap_start;
@@ -13,8 +13,8 @@
#include "drv_common.h"
#include "board.h"
#include "drivers/mmcsd_core.h"
#include "drivers/sdio.h"
#include "drivers/dev_mmcsd_core.h"
#include "drivers/dev_sdio.h"
#define SDIO_BUFF_SIZE 1024
#define SDIO_ALIGN_LEN 32
@@ -9,7 +9,7 @@
*/
#include <rtthread.h>
#include <wlan_dev.h>
#include "dev_wlan.h"
#define DBG_TAG "drv.wifi"
#define DBG_LVL DBG_LOG
@@ -303,7 +303,7 @@ static rt_err_t drv_wlan_softap(struct rt_wlan_device *wlan, struct rt_ap_info *
}
if (ret < 0)
return RT_ERROR;
return -RT_ERROR;
return RT_EOK;
}
@@ -20,8 +20,8 @@
#endif
#include <rtdbg.h>
#include <drivers/mmcsd_core.h>
#include <drivers/sdio.h>
#include <drivers/dev_mmcsd_core.h>
#include <drivers/dev_sdio.h>
#include "drv_sdh.h"
#if defined(BL808)
+2 -2
View File
@@ -21,8 +21,8 @@
#define DBG_LEVEL DBG_INFO
#include <rtdbg.h>
#include <drivers/mmcsd_core.h>
#include <drivers/sdio.h>
#include <drivers/dev_mmcsd_core.h>
#include <drivers/dev_sdio.h>
#include "drv_sdhci.h"
+1 -1
View File
@@ -22,7 +22,7 @@
#endif
#ifdef RT_USING_SDIO
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#endif
int main(void)
+1 -1
View File
@@ -11,7 +11,7 @@
#include <rtthread.h>
#include <rthw.h>
#include <string.h>
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#include <dm36x.h>
#include "mmcsd.h"
#include "edma.h"
+2 -2
View File
@@ -14,9 +14,9 @@
#if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h"
#include "dev_spi_flash.h"
#include "drv_spiflash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
int rt_hw_spi_flash_init(void)
+2 -2
View File
@@ -14,9 +14,9 @@
#if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h"
#include "dev_spi_flash.h"
#include "drv_spiflash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
int rt_hw_spi_flash_init(void)
+2 -2
View File
@@ -14,9 +14,9 @@
#if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h"
#include "dev_spi_flash.h"
#include "drv_spiflash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#include "drv_spi.h"
int rt_hw_spi_flash_init(void)
+1 -1
View File
@@ -17,7 +17,7 @@
#include <MK64F12.h>
#include <drivers/serial.h>
#include <drivers/dev_serial.h>
void rt_hw_uart_init(void);
+2 -2
View File
@@ -16,8 +16,8 @@
#ifdef BSP_USE_QSPI
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
#define _QSPI_DEVICE_NAME "qspiflash"
static int
+1 -1
View File
@@ -14,7 +14,7 @@
#include "ft_debug.h"
#include "ft_types.h"
#include "ft_generic_timer.h"
#include <drivers/mmcsd_core.h>
#include <drivers/dev_mmcsd_core.h>
#include "interrupt.h"
#include "rtconfig.h"
#include "ft_cache.h"
+2 -2
View File
@@ -21,8 +21,8 @@
#ifdef BSP_USE_SPI
#include "spi_flash.h"
#include "spi_flash_sfud.h"
#include "dev_spi_flash.h"
#include "dev_spi_flash_sfud.h"
static int rt_hw_spi_flash_init(void)
{
@@ -10,10 +10,10 @@
*/
#include <board.h>
#include "drv_spi.h"
#include "spi_flash.h"
#include "dev_spi_flash.h"
#ifdef RT_USING_SFUD
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#endif
#include <rthw.h>
@@ -19,9 +19,9 @@
#ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h"
#include "dev_spi_flash.h"
#ifdef RT_USING_SFUD
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#endif
#define SPI_BUS_NAME "spi1"
@@ -13,7 +13,7 @@
#include <sfud.h>
#ifdef RT_USING_SFUD
#include <spi_flash_sfud.h>
#include <dev_spi_flash_sfud.h>
#endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME
@@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h"
#include "dev_spi_flash.h"
#ifdef RT_USING_SFUD
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#endif
#define SPI_BUS_NAME "spi3"
@@ -12,7 +12,7 @@
#include <sfud.h>
#ifdef RT_USING_SFUD
#include <spi_flash_sfud.h>
#include <dev_spi_flash_sfud.h>
#endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME
@@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h"
#include "dev_spi_flash.h"
#ifdef RT_USING_SFUD
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#endif
#define SPI_BUS_NAME "spi1"
@@ -12,7 +12,7 @@
#include <sfud.h>
#ifdef RT_USING_SFUD
#include <spi_flash_sfud.h>
#include <dev_spi_flash_sfud.h>
#endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME
@@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h"
#include "dev_spi_flash.h"
#ifdef RT_USING_SFUD
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#endif
#define SPI_BUS_NAME "spi1"
@@ -12,7 +12,7 @@
#include <sfud.h>
#ifdef RT_USING_SFUD
#include <spi_flash_sfud.h>
#include <dev_spi_flash_sfud.h>
#endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME
+1 -1
View File
@@ -11,7 +11,7 @@
#include <fal.h>
#include <sfud.h>
#ifdef RT_USING_SFUD
#include <spi_flash_sfud.h>
#include <dev_spi_flash_sfud.h>
#endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME
+2 -2
View File
@@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h"
#include "dev_spi_flash.h"
#ifdef RT_USING_SFUD
#include "spi_flash_sfud.h"
#include "dev_spi_flash_sfud.h"
#endif
#if defined(HC32F4A0) || defined(HC32F448)
+1 -1
View File
@@ -12,7 +12,7 @@
#define __DRV_SPI__
#include <rtthread.h>
#include <drivers/spi.h>
#include "drivers/dev_spi.h"
#include <hk32f0xx.h>
struct hk32_spi_config
+1 -1
View File
@@ -9,7 +9,7 @@
#include <rtthread.h>
#if defined(RT_USING_SPI_MSD) && defined(RT_USING_DFS_ELMFAT)
#include <spi_msd.h>
#include <dev_spi_msd.h>
#include <dfs_fs.h>
int mnt_init(void)
{
+1
View File
@@ -17,6 +17,7 @@
#include "drv_lcd.h"
#include <board.h>
#include <gpiohs.h>
#include <drivers/dev_spi.h>
#include <spi.h>
#include <drv_io_config.h>
#include <rthw.h>

Some files were not shown because too many files have changed in this diff Show More