[drivers] Specifies the name of the drivers driver file
https://github.com/RT-Thread/rt-thread/pull/9420
This commit is contained in:
parent
57d002b25e
commit
bb91502465
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "board.h"
|
||||
#include <rtthread.h>
|
||||
#include <drivers/spi.h>
|
||||
#include "drivers/dev_spi.h"
|
||||
|
||||
struct apm32_spi_config
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef RT_USING_SDIO
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#endif
|
||||
|
||||
int main(void)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include <MK64F12.h>
|
||||
|
||||
#include <drivers/serial.h>
|
||||
#include <drivers/dev_serial.h>
|
||||
|
||||
void rt_hw_uart_init(void);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -10,11 +10,12 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <spi.h>
|
||||
|
||||
#ifdef RT_USING_SPI
|
||||
#include "drv_spi.h"
|
||||
#include <drv_io_config.h>
|
||||
#include <spi.h>
|
||||
#include <drivers/dev_spi.h>
|
||||
#include "dmalock.h"
|
||||
#include <sysctl.h>
|
||||
#include <gpiohs.h>
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
*/
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <drivers/spi.h>
|
||||
#include "drivers/dev_spi.h"
|
||||
#include <rthw.h>
|
||||
#include "drv_spi.h"
|
||||
#include "ls1c_public.h"
|
||||
#include "spi_msd.h"
|
||||
#include "dev_spi_msd.h"
|
||||
#include "dfs_fs.h"
|
||||
#include "../libraries/ls1c_pin.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#ifdef RT_USING_WDT
|
||||
|
||||
#include <drivers/watchdog.h>
|
||||
#include "drivers/dev_watchdog.h"
|
||||
#include "drv_wdt.h"
|
||||
|
||||
#include "ls1c_wdog.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <stdbool.h>
|
||||
#include <drivers/spi.h>
|
||||
#include "drivers/dev_spi.h"
|
||||
#include "ls1c.h"
|
||||
#include "ls1c_gpio.h"
|
||||
#include "ls1c_spi.h"
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <ctype.h>
|
||||
#include <stdint.h>
|
||||
#include <rtthread.h>
|
||||
#include <drivers/spi.h>
|
||||
#include "drivers/dev_spi.h"
|
||||
#include "drv_spi.h"
|
||||
|
||||
#ifdef RT_USING_SPI
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include "xintc_l.h"
|
||||
|
||||
#ifdef RT_USING_UART1
|
||||
#include "serial.h"
|
||||
#include "drivers/dev_serial.h"
|
||||
#endif
|
||||
|
||||
#define TIMER_CNTR_0 0
|
||||
|
@ -143,8 +143,8 @@ static void rt_hw_console_init()
|
|||
rt_uint32_t status;
|
||||
|
||||
/*
|
||||
* Initialize the UartLite driver so that it is ready to use.
|
||||
*/
|
||||
* Initialize the UartLite driver so that it is ready to use.
|
||||
*/
|
||||
status = XUartLite_Initialize(&uart_lite, RS232_DEVICE_ID);
|
||||
if (status != XST_SUCCESS)
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <rthw.h>
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#include <s3c24x0.h>
|
||||
|
||||
#define S3C_PCLK 50000000
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <sep4020.h>
|
||||
#include <board.h>
|
||||
#include <serial.h>
|
||||
#include <drivers/dev_serial.h>
|
||||
#ifdef RT_USING_FINSH
|
||||
#include <finsh.h>
|
||||
#endif
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <rtthread.h>
|
||||
|
||||
#include <sep4020.h>
|
||||
#include <serial.h>
|
||||
#include <drivers/dev_serial.h>
|
||||
|
||||
void rt_hw_serial_putc(const char c);
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
#include <board.h>
|
||||
#include <drivers/watchdog.h>
|
||||
#include "drivers/dev_watchdog.h"
|
||||
|
||||
#ifdef RT_USING_WDT
|
||||
#ifdef BSP_USING_WDT
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#if defined(BSP_USING_SDH)
|
||||
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/sdio.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#include <drivers/dev_sdio.h>
|
||||
|
||||
#include "NuMicro.h"
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#if defined(BSP_USING_SDH)
|
||||
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/sdio.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#include <drivers/dev_sdio.h>
|
||||
|
||||
#include "NuMicro.h"
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#if defined(BSP_USING_SDH)
|
||||
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/sdio.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#include <drivers/dev_sdio.h>
|
||||
|
||||
#include "NuMicro.h"
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#if defined(BSP_USING_SDH)
|
||||
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/sdio.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#include <drivers/dev_sdio.h>
|
||||
|
||||
#include "NuMicro.h"
|
||||
#include "drv_common.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
#if defined(BOARD_USING_STORAGE_SPIFLASH)
|
||||
#if defined(RT_USING_SFUD)
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#endif
|
||||
|
||||
#include "drv_qspi.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
#include <ioremap.h>
|
||||
|
||||
#include <board.h>
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
|
||||
#if defined(BSP_USING_SPI_FLASH)
|
||||
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#include "drv_spi.h"
|
||||
#include "drv_gpio.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#include <board.h>
|
||||
#include <fsl_usdhc.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "drv_sdcard.h"
|
||||
#include "drv_spi.h"
|
||||
#include "spi_msd.h"
|
||||
#include "dev_spi_msd.h"
|
||||
|
||||
#define RT_SDCARD_CS_PIN (3)
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
#include "rtthread.h"
|
||||
#include "rtdevice.h"
|
||||
#include "spi_flash.h"
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
|
||||
#define RT_SPI_FLASH_CS_PIN (2)
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#define DRV_SOFT_SPI_H_
|
||||
|
||||
#include <rtdevice.h>
|
||||
#include <spi-bit-ops.h>
|
||||
#include <dev_spi_bit_ops.h>
|
||||
|
||||
/* lpc soft spi config */
|
||||
struct lpc_soft_spi_config
|
||||
|
|
|
@ -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_soft_spi.h"
|
||||
#include "drv_pin.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#if defined(BSP_USING_SPI7) && defined(RT_USING_SFUD) && defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT)
|
||||
#include <dfs_elm.h>
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#include "dfs_fs.h"
|
||||
#include "dfs.h"
|
||||
#include "dfs_file.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#if defined(BSP_USING_SPI7) && defined(RT_USING_SFUD) && defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT)
|
||||
#include <dfs_elm.h>
|
||||
#include "spi_flash_sfud.h"
|
||||
#include "dev_spi_flash_sfud.h"
|
||||
#include "dfs_fs.h"
|
||||
#include "dfs.h"
|
||||
#include "dfs_file.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <rtdbg.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#ifdef RT_USING_SMART
|
||||
#include "ioremap.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include <rthw.h>
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#include "board.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
|
||||
//#include <drivers/spi.h>
|
||||
//#include "drivers/dev_spi.h"
|
||||
#include "board.h"
|
||||
|
||||
#define SPI0_BASE_ADDR (PER_BASE + BCM283X_SPI0_BASE)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#include "board.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
|
||||
//#include <drivers/spi.h>
|
||||
//#include "drivers/dev_spi.h"
|
||||
#include "board.h"
|
||||
|
||||
#define SPI0_BASE_ADDR (PER_BASE + BCM283X_SPI0_BASE)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#include "board.h"
|
||||
#include "raspi4.h"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/touch.h>
|
||||
#include "drivers/dev_touch.h"
|
||||
#include <ioremap.h>
|
||||
#include <mmu.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include <drivers/mmcsd_core.h>
|
||||
#include <drivers/dev_mmcsd_core.h>
|
||||
|
||||
#include "board.h"
|
||||
#include "raspi4.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#ifdef BSP_USING_SOFT_SPI
|
||||
#include <rtdevice.h>
|
||||
#include <spi-bit-ops.h>
|
||||
#include <dev_spi_bit_ops.h>
|
||||
|
||||
/* pico soft spi config */
|
||||
struct pico_soft_spi_config
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <rthw.h>
|
||||
#include <rtdevice.h>
|
||||
#include <spi-bit-ops.h>
|
||||
#include <dev_spi_bit_ops.h>
|
||||
|
||||
/* ra soft spi config */
|
||||
struct ra_soft_spi_config
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <dfs_fs.h>
|
||||
|
||||
#include <spi_msd.h>
|
||||
#include <dev_spi_msd.h>
|
||||
#include "drv_sci.h"
|
||||
|
||||
#define DBG_TAG "app.filesystem"
|
||||
|
|
|
@ -102,7 +102,7 @@ static void sd_mount(void)
|
|||
}
|
||||
|
||||
#else
|
||||
#include <spi_msd.h>
|
||||
#include <dev_spi_msd.h>
|
||||
#include "drv_sci.h"
|
||||
int sd_mount(void)
|
||||
{
|
||||
|
|
|
@ -137,7 +137,7 @@ static void sd_mount(void)
|
|||
}
|
||||
|
||||
#else
|
||||
#include <spi_msd.h>
|
||||
#include <dev_spi_msd.h>
|
||||
#include "drv_sci.h"
|
||||
int sd_mount(void)
|
||||
{
|
||||
|
|
|
@ -102,7 +102,7 @@ static void sd_mount(void)
|
|||
}
|
||||
|
||||
#else
|
||||
#include <spi_msd.h>
|
||||
#include <dev_spi_msd.h>
|
||||
#include "drv_sci.h"
|
||||
int sd_mount(void)
|
||||
{
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
#ifndef SAMD20
|
||||
# include "sysclk.h"
|
||||
#endif
|
||||
#include "serial.h"
|
||||
#include "drivers/dev_serial.h"
|
||||
|
||||
#if (XMEGA || MEGA_RF) && defined(__GNUC__)
|
||||
extern int _write (char c, int *f);
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#ifndef 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>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue