[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
219 changed files with 400 additions and 398 deletions

View File

@ -79,8 +79,8 @@ static const struct _cy_sdio_pin_and_name_config _sdcard_config =
}; };
#include <dfs_fs.h> #include <dfs_fs.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/gpt.h> #include <drivers/dev_gpt.h>
struct rthw_sdio struct rthw_sdio
{ {
struct rt_device parent; struct rt_device parent;

View File

@ -12,7 +12,7 @@
#define __DRV_SPI__ #define __DRV_SPI__
#include <rtthread.h> #include <rtthread.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include "drv_gpio.h" #include "drv_gpio.h"

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -9,7 +9,7 @@
*/ */
#include "board.h" #include "board.h"
#include <drivers/watchdog.h> #include "drivers/dev_watchdog.h"
#ifdef RT_USING_WDT #ifdef RT_USING_WDT

View File

@ -10,8 +10,8 @@
#include <rtthread.h> #include <rtthread.h>
#include <board.h> #include <board.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -10,7 +10,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include "board.h" #include "board.h"
#include "drv_spi.h" #include "drv_spi.h"

View File

@ -28,8 +28,8 @@
#endif #endif
#if defined(TINA_USING_SPI_FLASH) && defined(RT_USING_SFUD) #if defined(TINA_USING_SPI_FLASH) && defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include <spi_flash_sfud.h> #include <dev_spi_flash_sfud.h>
rt_spi_flash_device_t spi_device; rt_spi_flash_device_t spi_device;
int rt_hw_spi_flash_with_sfud_init(void) int rt_hw_spi_flash_with_sfud_init(void)
{ {

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)

View File

@ -15,8 +15,8 @@
#include "rtdevice.h" #include "rtdevice.h"
#include <rthw.h> #include <rthw.h>
#include <string.h> #include <string.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "drv_common.h" #include "drv_common.h"
#include "board.h" #include "board.h"

View File

@ -13,7 +13,7 @@
#include "board.h" #include "board.h"
#include <rtthread.h> #include <rtthread.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
struct apm32_spi_config struct apm32_spi_config
{ {

View File

@ -14,8 +14,8 @@
#include "rtdevice.h" #include "rtdevice.h"
#include <rthw.h> #include <rthw.h>
#include <string.h> #include <string.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "drv_common.h" #include "drv_common.h"
#define SDCARD_INSTANCE_TYPE sdio_type #define SDCARD_INSTANCE_TYPE sdio_type

View File

@ -12,7 +12,7 @@
#define __DRV_SPI__ #define __DRV_SPI__
#include <rtthread.h> #include <rtthread.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include "drv_common.h" #include "drv_common.h"
#include "drv_dma.h" #include "drv_dma.h"

View File

@ -8,7 +8,7 @@
* 2022-05-16 shelton first version * 2022-05-16 shelton first version
*/ */
#include <drivers/watchdog.h> #include "drivers/dev_watchdog.h"
#include "drv_common.h" #include "drv_common.h"
#ifdef RT_USING_WDT #ifdef RT_USING_WDT

View File

@ -22,7 +22,7 @@
#endif #endif
#ifdef RT_USING_SDIO #ifdef RT_USING_SDIO
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "at91_mci.h" #include "at91_mci.h"
#endif #endif

View File

@ -10,7 +10,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rthw.h> #include <rthw.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <at91sam926x.h> #include <at91sam926x.h>
#include "at91_mci.h" #include "at91_mci.h"

View File

@ -22,7 +22,7 @@
#endif #endif
#ifdef RT_USING_SDIO #ifdef RT_USING_SDIO
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "at91_mci.h" #include "at91_mci.h"
#endif #endif

View File

@ -10,7 +10,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rthw.h> #include <rthw.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <at91sam9g45.h> #include <at91sam9g45.h>
#include "at91_mci.h" #include "at91_mci.h"

View File

@ -12,7 +12,7 @@
#include "rtconfig.h" #include "rtconfig.h"
#include "rtdef.h" #include "rtdef.h"
#include "rthw.h" #include "rthw.h"
#include "serial.h" #include "drivers/dev_serial.h"
#include <signal.h> #include <signal.h>
#include <sys/platform.h> #include <sys/platform.h>

View File

@ -12,7 +12,7 @@
#include <rtthread.h> #include <rtthread.h>
#include "application.h" #include "application.h"
#include "board.h" #include "board.h"
#include "serial.h" #include "drivers/dev_serial.h"
#include "finsh.h" #include "finsh.h"
extern "asm" int rtt_heap_start; extern "asm" int rtt_heap_start;

View File

@ -13,8 +13,8 @@
#include "drv_common.h" #include "drv_common.h"
#include "board.h" #include "board.h"
#include "drivers/mmcsd_core.h" #include "drivers/dev_mmcsd_core.h"
#include "drivers/sdio.h" #include "drivers/dev_sdio.h"
#define SDIO_BUFF_SIZE 1024 #define SDIO_BUFF_SIZE 1024
#define SDIO_ALIGN_LEN 32 #define SDIO_ALIGN_LEN 32

View File

@ -9,7 +9,7 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include <wlan_dev.h> #include "dev_wlan.h"
#define DBG_TAG "drv.wifi" #define DBG_TAG "drv.wifi"
#define DBG_LVL DBG_LOG #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) if (ret < 0)
return RT_ERROR; return -RT_ERROR;
return RT_EOK; return RT_EOK;
} }

View File

@ -20,8 +20,8 @@
#endif #endif
#include <rtdbg.h> #include <rtdbg.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "drv_sdh.h" #include "drv_sdh.h"
#if defined(BL808) #if defined(BL808)

View File

@ -21,8 +21,8 @@
#define DBG_LEVEL DBG_INFO #define DBG_LEVEL DBG_INFO
#include <rtdbg.h> #include <rtdbg.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "drv_sdhci.h" #include "drv_sdhci.h"

View File

@ -22,7 +22,7 @@
#endif #endif
#ifdef RT_USING_SDIO #ifdef RT_USING_SDIO
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#endif #endif
int main(void) int main(void)

View File

@ -11,7 +11,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rthw.h> #include <rthw.h>
#include <string.h> #include <string.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <dm36x.h> #include <dm36x.h>
#include "mmcsd.h" #include "mmcsd.h"
#include "edma.h" #include "edma.h"

View File

@ -14,9 +14,9 @@
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "drv_spiflash.h" #include "drv_spiflash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
int rt_hw_spi_flash_init(void) int rt_hw_spi_flash_init(void)

View File

@ -14,9 +14,9 @@
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "drv_spiflash.h" #include "drv_spiflash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
int rt_hw_spi_flash_init(void) int rt_hw_spi_flash_init(void)

View File

@ -14,9 +14,9 @@
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "drv_spiflash.h" #include "drv_spiflash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
int rt_hw_spi_flash_init(void) int rt_hw_spi_flash_init(void)

View File

@ -17,7 +17,7 @@
#include <MK64F12.h> #include <MK64F12.h>
#include <drivers/serial.h> #include <drivers/dev_serial.h>
void rt_hw_uart_init(void); void rt_hw_uart_init(void);

View File

@ -16,8 +16,8 @@
#ifdef BSP_USE_QSPI #ifdef BSP_USE_QSPI
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#define _QSPI_DEVICE_NAME "qspiflash" #define _QSPI_DEVICE_NAME "qspiflash"
static int static int

View File

@ -14,7 +14,7 @@
#include "ft_debug.h" #include "ft_debug.h"
#include "ft_types.h" #include "ft_types.h"
#include "ft_generic_timer.h" #include "ft_generic_timer.h"
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "interrupt.h" #include "interrupt.h"
#include "rtconfig.h" #include "rtconfig.h"
#include "ft_cache.h" #include "ft_cache.h"

View File

@ -21,8 +21,8 @@
#ifdef BSP_USE_SPI #ifdef BSP_USE_SPI
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
static int rt_hw_spi_flash_init(void) static int rt_hw_spi_flash_init(void)
{ {

View File

@ -10,10 +10,10 @@
*/ */
#include <board.h> #include <board.h>
#include "drv_spi.h" #include "drv_spi.h"
#include "spi_flash.h" #include "dev_spi_flash.h"
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include <rthw.h> #include <rthw.h>

View File

@ -19,9 +19,9 @@
#ifdef BSP_USING_SPI_FLASH #ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h" #include "dev_spi_flash.h"
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#define SPI_BUS_NAME "spi1" #define SPI_BUS_NAME "spi1"

View File

@ -13,7 +13,7 @@
#include <sfud.h> #include <sfud.h>
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include <spi_flash_sfud.h> #include <dev_spi_flash_sfud.h>
#endif #endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME #ifndef FAL_USING_NOR_FLASH_DEV_NAME

View File

@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH #ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h" #include "dev_spi_flash.h"
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#define SPI_BUS_NAME "spi3" #define SPI_BUS_NAME "spi3"

View File

@ -12,7 +12,7 @@
#include <sfud.h> #include <sfud.h>
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include <spi_flash_sfud.h> #include <dev_spi_flash_sfud.h>
#endif #endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME #ifndef FAL_USING_NOR_FLASH_DEV_NAME

View File

@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH #ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h" #include "dev_spi_flash.h"
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#define SPI_BUS_NAME "spi1" #define SPI_BUS_NAME "spi1"

View File

@ -12,7 +12,7 @@
#include <sfud.h> #include <sfud.h>
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include <spi_flash_sfud.h> #include <dev_spi_flash_sfud.h>
#endif #endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME #ifndef FAL_USING_NOR_FLASH_DEV_NAME

View File

@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH #ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h" #include "dev_spi_flash.h"
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#define SPI_BUS_NAME "spi1" #define SPI_BUS_NAME "spi1"

View File

@ -12,7 +12,7 @@
#include <sfud.h> #include <sfud.h>
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include <spi_flash_sfud.h> #include <dev_spi_flash_sfud.h>
#endif #endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME #ifndef FAL_USING_NOR_FLASH_DEV_NAME

View File

@ -11,7 +11,7 @@
#include <fal.h> #include <fal.h>
#include <sfud.h> #include <sfud.h>
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include <spi_flash_sfud.h> #include <dev_spi_flash_sfud.h>
#endif #endif
#ifndef FAL_USING_NOR_FLASH_DEV_NAME #ifndef FAL_USING_NOR_FLASH_DEV_NAME

View File

@ -18,9 +18,9 @@
#ifdef BSP_USING_SPI_FLASH #ifdef BSP_USING_SPI_FLASH
#include "spi_flash.h" #include "dev_spi_flash.h"
#ifdef RT_USING_SFUD #ifdef RT_USING_SFUD
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#if defined(HC32F4A0) || defined(HC32F448) #if defined(HC32F4A0) || defined(HC32F448)

View File

@ -12,7 +12,7 @@
#define __DRV_SPI__ #define __DRV_SPI__
#include <rtthread.h> #include <rtthread.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include <hk32f0xx.h> #include <hk32f0xx.h>
struct hk32_spi_config struct hk32_spi_config

View File

@ -9,7 +9,7 @@
#include <rtthread.h> #include <rtthread.h>
#if defined(RT_USING_SPI_MSD) && defined(RT_USING_DFS_ELMFAT) #if defined(RT_USING_SPI_MSD) && defined(RT_USING_DFS_ELMFAT)
#include <spi_msd.h> #include <dev_spi_msd.h>
#include <dfs_fs.h> #include <dfs_fs.h>
int mnt_init(void) int mnt_init(void)
{ {

View File

@ -17,6 +17,7 @@
#include "drv_lcd.h" #include "drv_lcd.h"
#include <board.h> #include <board.h>
#include <gpiohs.h> #include <gpiohs.h>
#include <drivers/dev_spi.h>
#include <spi.h> #include <spi.h>
#include <drv_io_config.h> #include <drv_io_config.h>
#include <rthw.h> #include <rthw.h>

View File

@ -10,11 +10,12 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <spi.h>
#ifdef RT_USING_SPI #ifdef RT_USING_SPI
#include "drv_spi.h" #include "drv_spi.h"
#include <drv_io_config.h> #include <drv_io_config.h>
#include <spi.h> #include <drivers/dev_spi.h>
#include "dmalock.h" #include "dmalock.h"
#include <sysctl.h> #include <sysctl.h>
#include <gpiohs.h> #include <gpiohs.h>

View File

@ -10,11 +10,11 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include <rthw.h> #include <rthw.h>
#include "drv_spi.h" #include "drv_spi.h"
#include "ls1c_public.h" #include "ls1c_public.h"
#include "spi_msd.h" #include "dev_spi_msd.h"
#include "dfs_fs.h" #include "dfs_fs.h"
#include "../libraries/ls1c_pin.h" #include "../libraries/ls1c_pin.h"

View File

@ -13,7 +13,7 @@
#ifdef RT_USING_WDT #ifdef RT_USING_WDT
#include <drivers/watchdog.h> #include "drivers/dev_watchdog.h"
#include "drv_wdt.h" #include "drv_wdt.h"
#include "ls1c_wdog.h" #include "ls1c_wdog.h"

View File

@ -11,7 +11,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <stdbool.h> #include <stdbool.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include "ls1c.h" #include "ls1c.h"
#include "ls1c_gpio.h" #include "ls1c_gpio.h"
#include "ls1c_spi.h" #include "ls1c_spi.h"

View File

@ -18,7 +18,7 @@
#include <ctype.h> #include <ctype.h>
#include <stdint.h> #include <stdint.h>
#include <rtthread.h> #include <rtthread.h>
#include <drivers/spi.h> #include "drivers/dev_spi.h"
#include "drv_spi.h" #include "drv_spi.h"
#ifdef RT_USING_SPI #ifdef RT_USING_SPI

View File

@ -30,7 +30,7 @@
#include "xintc_l.h" #include "xintc_l.h"
#ifdef RT_USING_UART1 #ifdef RT_USING_UART1
#include "serial.h" #include "drivers/dev_serial.h"
#endif #endif
#define TIMER_CNTR_0 0 #define TIMER_CNTR_0 0

View File

@ -10,7 +10,7 @@
#include <rthw.h> #include <rthw.h>
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <s3c24x0.h> #include <s3c24x0.h>
#define S3C_PCLK 50000000 #define S3C_PCLK 50000000

View File

@ -12,7 +12,7 @@
#include <sep4020.h> #include <sep4020.h>
#include <board.h> #include <board.h>
#include <serial.h> #include <drivers/dev_serial.h>
#ifdef RT_USING_FINSH #ifdef RT_USING_FINSH
#include <finsh.h> #include <finsh.h>
#endif #endif

View File

@ -17,7 +17,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <sep4020.h> #include <sep4020.h>
#include <serial.h> #include <drivers/dev_serial.h>
void rt_hw_serial_putc(const char c); void rt_hw_serial_putc(const char c);

View File

@ -10,7 +10,7 @@
*/ */
#include <board.h> #include <board.h>
#include <drivers/watchdog.h> #include "drivers/dev_watchdog.h"
#ifdef RT_USING_WDT #ifdef RT_USING_WDT
#ifdef BSP_USING_WDT #ifdef BSP_USING_WDT

View File

@ -15,8 +15,8 @@
#if defined(BSP_USING_SDH) #if defined(BSP_USING_SDH)
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "NuMicro.h" #include "NuMicro.h"

View File

@ -15,8 +15,8 @@
#if defined(BSP_USING_SDH) #if defined(BSP_USING_SDH)
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "NuMicro.h" #include "NuMicro.h"

View File

@ -15,8 +15,8 @@
#if defined(BSP_USING_SDH) #if defined(BSP_USING_SDH)
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "NuMicro.h" #include "NuMicro.h"

View File

@ -15,8 +15,8 @@
#if defined(BSP_USING_SDH) #if defined(BSP_USING_SDH)
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <drivers/sdio.h> #include <drivers/dev_sdio.h>
#include "NuMicro.h" #include "NuMicro.h"
#include "drv_common.h" #include "drv_common.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -16,8 +16,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -21,8 +21,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -21,8 +21,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -15,8 +15,8 @@
#if defined(BOARD_USING_STORAGE_SPIFLASH) #if defined(BOARD_USING_STORAGE_SPIFLASH)
#if defined(RT_USING_SFUD) #if defined(RT_USING_SFUD)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#endif #endif
#include "drv_qspi.h" #include "drv_qspi.h"

View File

@ -12,7 +12,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rthw.h> #include <rthw.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <ioremap.h> #include <ioremap.h>
#include <board.h> #include <board.h>

View File

@ -12,8 +12,8 @@
#if defined(BSP_USING_SPI_FLASH) #if defined(BSP_USING_SPI_FLASH)
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_spi.h" #include "drv_spi.h"
#include "drv_gpio.h" #include "drv_gpio.h"

View File

@ -10,7 +10,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rthw.h> #include <rthw.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <board.h> #include <board.h>
#include <fsl_usdhc.h> #include <fsl_usdhc.h>

View File

@ -6,7 +6,7 @@
#include "drv_sdcard.h" #include "drv_sdcard.h"
#include "drv_spi.h" #include "drv_spi.h"
#include "spi_msd.h" #include "dev_spi_msd.h"
#define RT_SDCARD_CS_PIN (3) #define RT_SDCARD_CS_PIN (3)

View File

@ -9,8 +9,8 @@
#include "rtthread.h" #include "rtthread.h"
#include "rtdevice.h" #include "rtdevice.h"
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#define RT_SPI_FLASH_CS_PIN (2) #define RT_SPI_FLASH_CS_PIN (2)

View File

@ -12,7 +12,7 @@
#define DRV_SOFT_SPI_H_ #define DRV_SOFT_SPI_H_
#include <rtdevice.h> #include <rtdevice.h>
#include <spi-bit-ops.h> #include <dev_spi_bit_ops.h>
/* lpc soft spi config */ /* lpc soft spi config */
struct lpc_soft_spi_config struct lpc_soft_spi_config

View File

@ -9,8 +9,8 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include "spi_flash.h" #include "dev_spi_flash.h"
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "drv_soft_spi.h" #include "drv_soft_spi.h"
#include "drv_pin.h" #include "drv_pin.h"

View File

@ -13,7 +13,7 @@
#if defined(BSP_USING_SPI7) && defined(RT_USING_SFUD) && defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT) #if defined(BSP_USING_SPI7) && defined(RT_USING_SFUD) && defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT)
#include <dfs_elm.h> #include <dfs_elm.h>
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "dfs_fs.h" #include "dfs_fs.h"
#include "dfs.h" #include "dfs.h"
#include "dfs_file.h" #include "dfs_file.h"

View File

@ -13,7 +13,7 @@
#if defined(BSP_USING_SPI7) && defined(RT_USING_SFUD) && defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT) #if defined(BSP_USING_SPI7) && defined(RT_USING_SFUD) && defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT)
#include <dfs_elm.h> #include <dfs_elm.h>
#include "spi_flash_sfud.h" #include "dev_spi_flash_sfud.h"
#include "dfs_fs.h" #include "dfs_fs.h"
#include "dfs.h" #include "dfs.h"
#include "dfs_file.h" #include "dfs_file.h"

View File

@ -21,7 +21,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <rtdbg.h> #include <rtdbg.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#ifdef RT_USING_SMART #ifdef RT_USING_SMART
#include "ioremap.h" #include "ioremap.h"

View File

@ -10,7 +10,7 @@
#include <rthw.h> #include <rthw.h>
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>

View File

@ -14,7 +14,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "board.h" #include "board.h"

View File

@ -14,7 +14,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
//#include <drivers/spi.h> //#include "drivers/dev_spi.h"
#include "board.h" #include "board.h"
#define SPI0_BASE_ADDR (PER_BASE + BCM283X_SPI0_BASE) #define SPI0_BASE_ADDR (PER_BASE + BCM283X_SPI0_BASE)

View File

@ -14,7 +14,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "board.h" #include "board.h"

View File

@ -14,7 +14,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
//#include <drivers/spi.h> //#include "drivers/dev_spi.h"
#include "board.h" #include "board.h"
#define SPI0_BASE_ADDR (PER_BASE + BCM283X_SPI0_BASE) #define SPI0_BASE_ADDR (PER_BASE + BCM283X_SPI0_BASE)

View File

@ -13,7 +13,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "board.h" #include "board.h"
#include "raspi4.h" #include "raspi4.h"

View File

@ -9,7 +9,7 @@
*/ */
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/touch.h> #include "drivers/dev_touch.h"
#include <ioremap.h> #include <ioremap.h>
#include <mmu.h> #include <mmu.h>

View File

@ -13,7 +13,7 @@
#include <rtthread.h> #include <rtthread.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <drivers/mmcsd_core.h> #include <drivers/dev_mmcsd_core.h>
#include "board.h" #include "board.h"
#include "raspi4.h" #include "raspi4.h"

View File

@ -12,7 +12,7 @@
#ifdef BSP_USING_SOFT_SPI #ifdef BSP_USING_SOFT_SPI
#include <rtdevice.h> #include <rtdevice.h>
#include <spi-bit-ops.h> #include <dev_spi_bit_ops.h>
/* pico soft spi config */ /* pico soft spi config */
struct pico_soft_spi_config struct pico_soft_spi_config

View File

@ -13,7 +13,7 @@
#include <rthw.h> #include <rthw.h>
#include <rtdevice.h> #include <rtdevice.h>
#include <spi-bit-ops.h> #include <dev_spi_bit_ops.h>
/* ra soft spi config */ /* ra soft spi config */
struct ra_soft_spi_config struct ra_soft_spi_config

View File

@ -5,7 +5,7 @@
#include <dfs_fs.h> #include <dfs_fs.h>
#include <spi_msd.h> #include <dev_spi_msd.h>
#include "drv_sci.h" #include "drv_sci.h"
#define DBG_TAG "app.filesystem" #define DBG_TAG "app.filesystem"

View File

@ -102,7 +102,7 @@ static void sd_mount(void)
} }
#else #else
#include <spi_msd.h> #include <dev_spi_msd.h>
#include "drv_sci.h" #include "drv_sci.h"
int sd_mount(void) int sd_mount(void)
{ {

View File

@ -137,7 +137,7 @@ static void sd_mount(void)
} }
#else #else
#include <spi_msd.h> #include <dev_spi_msd.h>
#include "drv_sci.h" #include "drv_sci.h"
int sd_mount(void) int sd_mount(void)
{ {

View File

@ -102,7 +102,7 @@ static void sd_mount(void)
} }
#else #else
#include <spi_msd.h> #include <dev_spi_msd.h>
#include "drv_sci.h" #include "drv_sci.h"
int sd_mount(void) int sd_mount(void)
{ {

View File

@ -67,7 +67,7 @@
#ifndef SAMD20 #ifndef SAMD20
# include "sysclk.h" # include "sysclk.h"
#endif #endif
#include "serial.h" #include "drivers/dev_serial.h"
#if (XMEGA || MEGA_RF) && defined(__GNUC__) #if (XMEGA || MEGA_RF) && defined(__GNUC__)
extern int _write (char c, int *f); extern int _write (char c, int *f);

View File

@ -46,7 +46,7 @@
#ifndef GFX_MONO_SCREEN_DUMP_H_INCLUDED #ifndef GFX_MONO_SCREEN_DUMP_H_INCLUDED
#define GFX_MONO_SCREEN_DUMP_H_INCLUDED #define GFX_MONO_SCREEN_DUMP_H_INCLUDED
#include <serial.h> #include <drivers/dev_serial.h>
#include <gfx_mono.h> #include <gfx_mono.h>
#ifdef __cplusplus #ifdef __cplusplus

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