Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Mozi
rt-thread
提交
3d2e23ec
R
rt-thread
项目概览
Mozi
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3d2e23ec
编写于
1月 11, 2022
作者:
L
liukangcc
提交者:
Bernard Xiong
1月 14, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
上级
21109020
变更
72
隐藏空白更改
内联
并排
Showing
72 changed file
with
349 addition
and
90 deletion
+349
-90
bsp/bluetrum/ab32vg1-ab-prougen/applications/mnt.c
bsp/bluetrum/ab32vg1-ab-prougen/applications/mnt.c
+5
-1
bsp/efm32/application.c
bsp/efm32/application.c
+9
-1
bsp/ft2004/drivers/drv_sdcard.c
bsp/ft2004/drivers/drv_sdcard.c
+5
-1
bsp/lpc54114-lite/applications/mnt.c
bsp/lpc54114-lite/applications/mnt.c
+4
-1
bsp/mini4020/applications/application.c
bsp/mini4020/applications/application.c
+5
-1
bsp/nrf5x/nrf52832/applications/mnt.c
bsp/nrf5x/nrf52832/applications/mnt.c
+5
-1
bsp/nuvoton/libraries/m2354/rtt_port/drv_sdh.c
bsp/nuvoton/libraries/m2354/rtt_port/drv_sdh.c
+6
-2
bsp/nuvoton/libraries/m480/rtt_port/drv_sdh.c
bsp/nuvoton/libraries/m480/rtt_port/drv_sdh.c
+6
-2
bsp/nuvoton/libraries/n9h30/rtt_port/drv_sdh.c
bsp/nuvoton/libraries/n9h30/rtt_port/drv_sdh.c
+6
-2
bsp/nuvoton/libraries/nu_packages/AudioCodec/audio_test.c
bsp/nuvoton/libraries/nu_packages/AudioCodec/audio_test.c
+5
-1
bsp/nuvoton/libraries/nuc980/rtt_port/drv_sdh.c
bsp/nuvoton/libraries/nuc980/rtt_port/drv_sdh.c
+6
-2
bsp/nuvoton/nk-980iot/applications/mnt.c
bsp/nuvoton/nk-980iot/applications/mnt.c
+6
-2
bsp/nuvoton/nk-n9h30/applications/mnt.c
bsp/nuvoton/nk-n9h30/applications/mnt.c
+6
-2
bsp/nuvoton/nk-rtu980/applications/mnt.c
bsp/nuvoton/nk-rtu980/applications/mnt.c
+6
-2
bsp/nuvoton/numaker-iot-m487/applications/mnt.c
bsp/nuvoton/numaker-iot-m487/applications/mnt.c
+6
-2
bsp/nuvoton/numaker-m032ki/applications/mnt.c
bsp/nuvoton/numaker-m032ki/applications/mnt.c
+6
-2
bsp/nuvoton/numaker-pfm-m487/applications/mnt.c
bsp/nuvoton/numaker-pfm-m487/applications/mnt.c
+6
-2
bsp/simulator/drivers/module_win32.c
bsp/simulator/drivers/module_win32.c
+5
-1
bsp/stm32/stm32f103-atk-warshipv3/board/ports/sdcard_port.c
bsp/stm32/stm32f103-atk-warshipv3/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f103-dofly-M3S/board/ports/drv_sdcard.c
bsp/stm32/stm32f103-dofly-M3S/board/ports/drv_sdcard.c
+5
-1
bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c
bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f407-armfly-v5/board/ports/sdcard_port.c
bsp/stm32/stm32f407-armfly-v5/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c
...stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c
+5
-1
bsp/stm32/stm32f427-robomaster-a/board/ports/sdcard_port.c
bsp/stm32/stm32f427-robomaster-a/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f429-armfly-v6/board/ports/sdcard_port.c
bsp/stm32/stm32f429-armfly-v6/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c
bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f429-fire-challenger/board/ports/sdcard_port.c
...stm32/stm32f429-fire-challenger/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f469-st-disco/board/ports/drv_sdcard.c
bsp/stm32/stm32f469-st-disco/board/ports/drv_sdcard.c
+5
-1
bsp/stm32/stm32f746-st-disco/board/ports/sdcard_port.c
bsp/stm32/stm32f746-st-disco/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f767-atk-apollo/board/ports/sdcard_port.c
bsp/stm32/stm32f767-atk-apollo/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32f767-fire-challenger-v1/board/ports/sdcard_port.c
...32/stm32f767-fire-challenger-v1/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.c
bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.c
+5
-1
bsp/stm32/stm32l475-atk-pandora/board/ports/drv_sdcard.c
bsp/stm32/stm32l475-atk-pandora/board/ports/drv_sdcard.c
+5
-1
bsp/stm32/stm32l496-ali-developer/board/ports/sdcard_port.c
bsp/stm32/stm32l496-ali-developer/board/ports/sdcard_port.c
+5
-1
bsp/stm32/stm32mp157a-st-discovery/board/ports/audio/audio_play.c
...2/stm32mp157a-st-discovery/board/ports/audio/audio_play.c
+5
-1
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_ov5640.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_ov5640.c
+5
-1
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sound.c
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sound.c
+5
-1
bsp/swm320-lq100/applications/main.c
bsp/swm320-lq100/applications/main.c
+15
-3
bsp/swm320/applications/main.c
bsp/swm320/applications/main.c
+15
-3
components/drivers/serial/serial.c
components/drivers/serial/serial.c
+4
-1
components/drivers/serial/serial_v2.c
components/drivers/serial/serial_v2.c
+3
-1
components/drivers/src/pipe.c
components/drivers/src/pipe.c
+3
-2
components/finsh/msh.c
components/finsh/msh.c
+4
-1
components/finsh/msh_file.c
components/finsh/msh_file.c
+4
-1
components/finsh/shell.c
components/finsh/shell.c
+3
-1
components/legacy/dfs/dfs_posix.h
components/legacy/dfs/dfs_posix.h
+0
-0
components/libc/compilers/common/sys/ioctl.h
components/libc/compilers/common/sys/ioctl.h
+3
-1
components/libc/libdl/dlmodule.c
components/libc/libdl/dlmodule.c
+3
-1
components/libc/posix/io/aio/aio.c
components/libc/posix/io/aio/aio.c
+4
-1
components/libc/posix/io/mman/mman.c
components/libc/posix/io/mman/mman.c
+3
-1
components/libc/posix/io/termios/termios.c
components/libc/posix/io/termios/termios.c
+3
-1
components/lwp/lwp.c
components/lwp/lwp.c
+4
-1
components/lwp/lwp_syscall.h
components/lwp/lwp_syscall.h
+4
-1
components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c
components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c
+3
-1
components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c
components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c
+3
-1
components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c
components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c
+3
-1
components/net/sal_socket/impl/proto_mbedtls.c
components/net/sal_socket/impl/proto_mbedtls.c
+3
-1
components/utilities/rt-link/src/rtlink_dev.c
components/utilities/rt-link/src/rtlink_dev.c
+3
-1
components/utilities/ymodem/ry_sy.c
components/utilities/ymodem/ry_sy.c
+4
-1
components/utilities/zmodem/rz.c
components/utilities/zmodem/rz.c
+3
-2
components/utilities/zmodem/sz.c
components/utilities/zmodem/sz.c
+3
-2
components/utilities/zmodem/zcore.c
components/utilities/zmodem/zcore.c
+3
-2
components/utilities/zmodem/zdevice.c
components/utilities/zmodem/zdevice.c
+3
-2
examples/file/listdir.c
examples/file/listdir.c
+5
-1
examples/file/readspeed.c
examples/file/readspeed.c
+5
-1
examples/file/readwrite.c
examples/file/readwrite.c
+5
-1
examples/file/seekdir.c
examples/file/seekdir.c
+5
-1
examples/file/writespeed.c
examples/file/writespeed.c
+5
-1
examples/network/chargen.c
examples/network/chargen.c
+5
-1
examples/rt-link/rtlink_dev_example.c
examples/rt-link/rtlink_dev_example.c
+5
-1
examples/test/fs_test.c
examples/test/fs_test.c
+5
-1
examples/ymodem/tofile.c
examples/ymodem/tofile.c
+5
-1
未找到文件。
bsp/bluetrum/ab32vg1-ab-prougen/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_gpio.h"
#include "drv_gpio.h"
// #define DRV_DEBUG
// #define DRV_DEBUG
...
...
bsp/efm32/application.c
浏览文件 @
3d2e23ec
...
@@ -65,10 +65,18 @@
...
@@ -65,10 +65,18 @@
#include <rtgui/widgets/box.h>
#include <rtgui/widgets/box.h>
#include <rtgui/image.h>
#include <rtgui/image.h>
#if defined(RTGUI_USING_DFS_FILERW)
#if defined(RTGUI_USING_DFS_FILERW)
#include <dfs_posix.h>
#include <dfs_posix.h>
#define PATH_SEPARATOR '/'
#define PATH_SEPARATOR '/'
#endif
#endif
#if defined(RTGUI_USING_DFS_FILERW)
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define PATH_SEPARATOR '/'
#endif
#endif
#endif
/* Private typedef -----------------------------------------------------------*/
/* Private typedef -----------------------------------------------------------*/
...
...
bsp/ft2004/drivers/drv_sdcard.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_sdctrl.h"
#include "drv_sdctrl.h"
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
...
...
bsp/lpc54114-lite/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -11,7 +11,10 @@
...
@@ -11,7 +11,10 @@
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_file.h>
#include <dfs_file.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#define BSP_FLASH_MOUNT_PATH "/mnt/flash"
#define BSP_FLASH_MOUNT_PATH "/mnt/flash"
...
...
bsp/mini4020/applications/application.c
浏览文件 @
3d2e23ec
...
@@ -22,7 +22,11 @@
...
@@ -22,7 +22,11 @@
#include <dfs.h>
#include <dfs.h>
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#ifdef RT_USING_RTGUI
#ifdef RT_USING_RTGUI
...
...
bsp/nrf5x/nrf52832/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -35,7 +35,11 @@
...
@@ -35,7 +35,11 @@
#endif
#endif
#include "fal.h"
#include "fal.h"
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define LOG_TAG "drv.fs"
#define LOG_TAG "drv.fs"
#define DBG_LVL DBG_LOG
#define DBG_LVL DBG_LOG
...
...
bsp/nuvoton/libraries/m2354/rtt_port/drv_sdh.c
浏览文件 @
3d2e23ec
...
@@ -20,8 +20,12 @@
...
@@ -20,8 +20,12 @@
#include <string.h>
#include <string.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
/* Private define ---------------------------------------------------------------*/
/* Private define ---------------------------------------------------------------*/
...
...
bsp/nuvoton/libraries/m480/rtt_port/drv_sdh.c
浏览文件 @
3d2e23ec
...
@@ -20,8 +20,12 @@
...
@@ -20,8 +20,12 @@
#include <string.h>
#include <string.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
/* Private define ---------------------------------------------------------------*/
/* Private define ---------------------------------------------------------------*/
...
...
bsp/nuvoton/libraries/n9h30/rtt_port/drv_sdh.c
浏览文件 @
3d2e23ec
...
@@ -20,8 +20,12 @@
...
@@ -20,8 +20,12 @@
#include <drv_sys.h>
#include <drv_sys.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
/* Private define ---------------------------------------------------------------*/
/* Private define ---------------------------------------------------------------*/
...
...
bsp/nuvoton/libraries/nu_packages/AudioCodec/audio_test.c
浏览文件 @
3d2e23ec
...
@@ -16,7 +16,11 @@
...
@@ -16,7 +16,11 @@
#include "wavrecorder.h"
#include "wavrecorder.h"
#include "wavplayer.h"
#include "wavplayer.h"
#include "dfs_posix.h"
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
/*
/*
The routine just for test automatically.
The routine just for test automatically.
...
...
bsp/nuvoton/libraries/nuc980/rtt_port/drv_sdh.c
浏览文件 @
3d2e23ec
...
@@ -21,8 +21,12 @@
...
@@ -21,8 +21,12 @@
#include <drv_sys.h>
#include <drv_sys.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
/* Private define ---------------------------------------------------------------*/
/* Private define ---------------------------------------------------------------*/
...
...
bsp/nuvoton/nk-980iot/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -22,8 +22,12 @@
...
@@ -22,8 +22,12 @@
#include <rtdbg.h>
#include <rtdbg.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#if defined(PKG_USING_FAL)
#if defined(PKG_USING_FAL)
...
...
bsp/nuvoton/nk-n9h30/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -22,8 +22,12 @@
...
@@ -22,8 +22,12 @@
#include <rtdbg.h>
#include <rtdbg.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#if defined(PKG_USING_FAL)
#if defined(PKG_USING_FAL)
...
...
bsp/nuvoton/nk-rtu980/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -22,8 +22,12 @@
...
@@ -22,8 +22,12 @@
#include <rtdbg.h>
#include <rtdbg.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#if defined(PKG_USING_FAL)
#if defined(PKG_USING_FAL)
...
...
bsp/nuvoton/numaker-iot-m487/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -13,8 +13,12 @@
...
@@ -13,8 +13,12 @@
#include <rtthread.h>
#include <rtthread.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#if defined(PKG_USING_FAL)
#if defined(PKG_USING_FAL)
...
...
bsp/nuvoton/numaker-m032ki/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -13,8 +13,12 @@
...
@@ -13,8 +13,12 @@
#include <rtthread.h>
#include <rtthread.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#if defined(PKG_USING_FAL)
#if defined(PKG_USING_FAL)
...
...
bsp/nuvoton/numaker-pfm-m487/applications/mnt.c
浏览文件 @
3d2e23ec
...
@@ -13,8 +13,12 @@
...
@@ -13,8 +13,12 @@
#include <rtthread.h>
#include <rtthread.h>
#if defined(RT_USING_DFS)
#if defined(RT_USING_DFS)
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#if defined(PKG_USING_FAL)
#if defined(PKG_USING_FAL)
...
...
bsp/simulator/drivers/module_win32.c
浏览文件 @
3d2e23ec
...
@@ -193,7 +193,11 @@ RTM_EXPORT(rt_module_find);
...
@@ -193,7 +193,11 @@ RTM_EXPORT(rt_module_find);
#ifdef RT_USING_DFS
#ifdef RT_USING_DFS
#include <windows.h>
#include <windows.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
extern
char
*
dfs_win32_dirdup
(
char
*
path
);
extern
char
*
dfs_win32_dirdup
(
char
*
path
);
static
char
*
_module_name
(
const
char
*
path
)
static
char
*
_module_name
(
const
char
*
path
)
{
{
...
...
bsp/stm32/stm32f103-atk-warshipv3/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f103-dofly-M3S/board/ports/drv_sdcard.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#if defined BSP_USING_SDIO_SDCARD || defined BSP_USING_SPI_SDCARD
#if defined BSP_USING_SDIO_SDCARD || defined BSP_USING_SPI_SDCARD
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_gpio.h"
#include "drv_gpio.h"
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
...
...
bsp/stm32/stm32f103-fire-arbitrary/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f407-armfly-v5/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f407-atk-explorer/board/ports/drv_filesystem.c
浏览文件 @
3d2e23ec
...
@@ -15,7 +15,11 @@
...
@@ -15,7 +15,11 @@
#ifdef BSP_USING_FS
#ifdef BSP_USING_FS
#include <dfs_romfs.h>
#include <dfs_romfs.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#if DFS_FILESYSTEMS_MAX < 4
#if DFS_FILESYSTEMS_MAX < 4
#error "Please define DFS_FILESYSTEMS_MAX more than 4"
#error "Please define DFS_FILESYSTEMS_MAX more than 4"
...
...
bsp/stm32/stm32f427-robomaster-a/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f429-armfly-v6/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f429-atk-apollo/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -15,7 +15,11 @@
...
@@ -15,7 +15,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f429-fire-challenger/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_gpio.h"
#include "drv_gpio.h"
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
...
...
bsp/stm32/stm32f469-st-disco/board/ports/drv_sdcard.c
浏览文件 @
3d2e23ec
...
@@ -15,7 +15,11 @@
...
@@ -15,7 +15,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_gpio.h"
#include "drv_gpio.h"
#include "drv_sdio.h"
#include "drv_sdio.h"
...
...
bsp/stm32/stm32f746-st-disco/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f767-atk-apollo/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32f767-fire-challenger-v1/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_gpio.h"
#include "drv_gpio.h"
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
...
...
bsp/stm32/stm32h743-atk-apollo/board/ports/drv_ov2640.c
浏览文件 @
3d2e23ec
...
@@ -12,7 +12,11 @@
...
@@ -12,7 +12,11 @@
#if defined(BSP_USING_OV2640)
#if defined(BSP_USING_OV2640)
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <drv_ov2640.h>
#include <drv_ov2640.h>
#include <drv_dcmi.h>
#include <drv_dcmi.h>
#include "pcf8574.h"
#include "pcf8574.h"
...
...
bsp/stm32/stm32l475-atk-pandora/board/ports/drv_sdcard.c
浏览文件 @
3d2e23ec
...
@@ -15,7 +15,11 @@
...
@@ -15,7 +15,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_spi.h"
#include "drv_spi.h"
#include "spi_msd.h"
#include "spi_msd.h"
...
...
bsp/stm32/stm32l496-ali-developer/board/ports/sdcard_port.c
浏览文件 @
3d2e23ec
...
@@ -14,7 +14,11 @@
...
@@ -14,7 +14,11 @@
#include <dfs_elm.h>
#include <dfs_elm.h>
#include <dfs_fs.h>
#include <dfs_fs.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DBG_TAG "app.card"
#define DBG_TAG "app.card"
#define DBG_LVL DBG_INFO
#define DBG_LVL DBG_INFO
...
...
bsp/stm32/stm32mp157a-st-discovery/board/ports/audio/audio_play.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,11 @@
...
@@ -10,7 +10,11 @@
#include <rtthread.h>
#include <rtthread.h>
#include <rtdevice.h>
#include <rtdevice.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#if defined(BSP_USING_AUDIO) && defined(BSP_USING_SDMMC)
#if defined(BSP_USING_AUDIO) && defined(BSP_USING_SDMMC)
#define BUFSZ 1024
#define BUFSZ 1024
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_ov5640.c
浏览文件 @
3d2e23ec
...
@@ -13,7 +13,11 @@
...
@@ -13,7 +13,11 @@
#if defined(BSP_USING_DCMI)
#if defined(BSP_USING_DCMI)
#include "drv_mfx.h"
#include "drv_mfx.h"
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "drv_ov5640.h"
#include "drv_ov5640.h"
//#define DRV_DEBUG
//#define DRV_DEBUG
...
...
bsp/stm32/stm32mp157a-st-ev1/board/ports/drv_sound.c
浏览文件 @
3d2e23ec
...
@@ -13,7 +13,11 @@
...
@@ -13,7 +13,11 @@
#ifdef BSP_USING_AUDIO
#ifdef BSP_USING_AUDIO
#include "drv_wm8994.h"
#include "drv_wm8994.h"
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define DRV_DEBUG
#define DRV_DEBUG
#define LOG_TAG "drv.sound"
#define LOG_TAG "drv.sound"
...
...
bsp/swm320-lq100/applications/main.c
浏览文件 @
3d2e23ec
...
@@ -260,7 +260,11 @@ MSH_CMD_EXPORT(wdt_sample, wdt sample);
...
@@ -260,7 +260,11 @@ MSH_CMD_EXPORT(wdt_sample, wdt sample);
#include "drv_spi.h"
#include "drv_spi.h"
#include "spi_flash_sfud.h"
#include "spi_flash_sfud.h"
#include "dfs_posix.h"
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
static
int
rt_hw_spi_flash_init
(
void
)
static
int
rt_hw_spi_flash_init
(
void
)
{
{
...
@@ -380,7 +384,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
...
@@ -380,7 +384,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
//#define SDCARD_NAME "sd0"
//#define SDCARD_NAME "sd0"
//#include "drv_spi.h"
//#include "drv_spi.h"
//#include "dfs_posix.h"
// #include <dfs_file.h>
// #include <unistd.h>
// #include <stdio.h>
// #include <sys/stat.h>
// #include <sys/statfs.h>
//#include "spi_msd.h"
//#include "spi_msd.h"
//static int rt_hw_spi1_tfcard(void)
//static int rt_hw_spi1_tfcard(void)
...
@@ -437,7 +445,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
...
@@ -437,7 +445,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
#ifdef RT_USING_SDIO
#ifdef RT_USING_SDIO
#define SDCARD_NAME "sd0"
#define SDCARD_NAME "sd0"
#include "dfs_posix.h"
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
static
void
sdio_elmfat_sample
(
void
)
static
void
sdio_elmfat_sample
(
void
)
{
{
...
...
bsp/swm320/applications/main.c
浏览文件 @
3d2e23ec
...
@@ -260,7 +260,11 @@ MSH_CMD_EXPORT(wdt_sample, wdt sample);
...
@@ -260,7 +260,11 @@ MSH_CMD_EXPORT(wdt_sample, wdt sample);
#include "drv_spi.h"
#include "drv_spi.h"
#include "spi_flash_sfud.h"
#include "spi_flash_sfud.h"
#include "dfs_posix.h"
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
static
int
rt_hw_spi_flash_init
(
void
)
static
int
rt_hw_spi_flash_init
(
void
)
{
{
...
@@ -380,7 +384,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
...
@@ -380,7 +384,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
//#define SDCARD_NAME "sd0"
//#define SDCARD_NAME "sd0"
//#include "drv_spi.h"
//#include "drv_spi.h"
//#include "dfs_posix.h"
// #include <dfs_file.h>
// #include <unistd.h>
// #include <stdio.h>
// #include <sys/stat.h>
// #include <sys/statfs.h>
//#include "spi_msd.h"
//#include "spi_msd.h"
//static int rt_hw_spi1_tfcard(void)
//static int rt_hw_spi1_tfcard(void)
...
@@ -437,7 +445,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
...
@@ -437,7 +445,11 @@ MSH_CMD_EXPORT(spi_w25q_sample, spi w25q sample);
#ifdef RT_USING_SDIO
#ifdef RT_USING_SDIO
#define SDCARD_NAME "sd0"
#define SDCARD_NAME "sd0"
#include "dfs_posix.h"
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
static
void
sdio_elmfat_sample
(
void
)
static
void
sdio_elmfat_sample
(
void
)
{
{
...
...
components/drivers/serial/serial.c
浏览文件 @
3d2e23ec
...
@@ -37,7 +37,10 @@
...
@@ -37,7 +37,10 @@
#include <rtdbg.h>
#include <rtdbg.h>
#ifdef RT_USING_POSIX_STDIO
#ifdef RT_USING_POSIX_STDIO
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <poll.h>
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
...
...
components/drivers/serial/serial_v2.c
浏览文件 @
3d2e23ec
...
@@ -17,7 +17,9 @@
...
@@ -17,7 +17,9 @@
#include <rtdbg.h>
#include <rtdbg.h>
#ifdef RT_USING_POSIX_STDIO
#ifdef RT_USING_POSIX_STDIO
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <poll.h>
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
...
...
components/drivers/src/pipe.c
浏览文件 @
3d2e23ec
...
@@ -14,8 +14,9 @@
...
@@ -14,8 +14,9 @@
#include <sys/errno.h>
#include <sys/errno.h>
#if defined(RT_USING_POSIX_DEVIO) && defined(RT_USING_POSIX_PIPE)
#if defined(RT_USING_POSIX_DEVIO) && defined(RT_USING_POSIX_PIPE)
#include <dfs_file.h>
#include <unistd.h>
#include <dfs_posix.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <poll.h>
#include <poll.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
...
...
components/finsh/msh.c
浏览文件 @
3d2e23ec
...
@@ -21,7 +21,10 @@
...
@@ -21,7 +21,10 @@
#include "msh.h"
#include "msh.h"
#include "shell.h"
#include "shell.h"
#ifdef DFS_USING_POSIX
#ifdef DFS_USING_POSIX
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
/* DFS_USING_POSIX */
#endif
/* DFS_USING_POSIX */
#ifdef RT_USING_MODULE
#ifdef RT_USING_MODULE
#include <dlmodule.h>
#include <dlmodule.h>
...
...
components/finsh/msh_file.c
浏览文件 @
3d2e23ec
...
@@ -15,7 +15,10 @@
...
@@ -15,7 +15,10 @@
#include <finsh.h>
#include <finsh.h>
#include "msh.h"
#include "msh.h"
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
static
int
msh_readline
(
int
fd
,
char
*
line_buf
,
int
size
)
static
int
msh_readline
(
int
fd
,
char
*
line_buf
,
int
size
)
{
{
...
...
components/finsh/shell.c
浏览文件 @
3d2e23ec
...
@@ -28,7 +28,9 @@
...
@@ -28,7 +28,9 @@
#include "msh.h"
#include "msh.h"
#ifdef DFS_USING_POSIX
#ifdef DFS_USING_POSIX
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
/* DFS_USING_POSIX */
#endif
/* DFS_USING_POSIX */
/* finsh thread */
/* finsh thread */
...
...
components/
dfs/include
/dfs_posix.h
→
components/
legacy/dfs
/dfs_posix.h
浏览文件 @
3d2e23ec
文件已移动
components/libc/compilers/common/sys/ioctl.h
浏览文件 @
3d2e23ec
...
@@ -12,7 +12,9 @@
...
@@ -12,7 +12,9 @@
#define __SYS_IOCTL_H__
#define __SYS_IOCTL_H__
#include <rtconfig.h>
#include <rtconfig.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#ifdef _WIN32
#ifdef _WIN32
#include <winsock.h>
#include <winsock.h>
...
...
components/libc/libdl/dlmodule.c
浏览文件 @
3d2e23ec
...
@@ -15,7 +15,9 @@
...
@@ -15,7 +15,9 @@
#include "dlelf.h"
#include "dlelf.h"
#if defined(RT_USING_POSIX)
#if defined(RT_USING_POSIX)
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#define DBG_TAG "DLMD"
#define DBG_TAG "DLMD"
...
...
components/libc/posix/io/aio/aio.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,10 @@
...
@@ -10,7 +10,10 @@
#include <stdint.h>
#include <stdint.h>
#include <rthw.h>
#include <rthw.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <dfs_file.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "aio.h"
#include "aio.h"
struct
rt_workqueue
*
aio_queue
=
NULL
;
struct
rt_workqueue
*
aio_queue
=
NULL
;
...
...
components/libc/posix/io/mman/mman.c
浏览文件 @
3d2e23ec
...
@@ -12,7 +12,9 @@
...
@@ -12,7 +12,9 @@
#include <stdio.h>
#include <stdio.h>
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "sys/mman.h"
#include "sys/mman.h"
...
...
components/libc/posix/io/termios/termios.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/errno.h>
#include <sys/errno.h>
#include "termios.h"
#include "termios.h"
...
...
components/lwp/lwp.c
浏览文件 @
3d2e23ec
...
@@ -11,7 +11,10 @@
...
@@ -11,7 +11,10 @@
#include <rtthread.h>
#include <rtthread.h>
#include <rthw.h>
#include <rthw.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#ifndef RT_USING_DFS
#ifndef RT_USING_DFS
#error "lwp need file system(RT_USING_DFS)"
#error "lwp need file system(RT_USING_DFS)"
...
...
components/lwp/lwp_syscall.h
浏览文件 @
3d2e23ec
...
@@ -13,7 +13,10 @@
...
@@ -13,7 +13,10 @@
#include <stdint.h>
#include <stdint.h>
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <sys/time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
...
...
components/net/lwip-2.0.2/src/apps/tftp/tftp_port.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <lwip/apps/tftp_server.h>
#include <lwip/apps/tftp_server.h>
static
struct
tftp_context
ctx
;
static
struct
tftp_context
ctx
;
...
...
components/net/lwip-2.0.3/src/apps/tftp/tftp_port.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <lwip/apps/tftp_server.h>
#include <lwip/apps/tftp_server.h>
static
struct
tftp_context
ctx
;
static
struct
tftp_context
ctx
;
...
...
components/net/lwip-2.1.2/src/apps/tftp/tftp_port.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <lwip/apps/tftp_server.h>
#include <lwip/apps/tftp_server.h>
static
struct
tftp_context
ctx
;
static
struct
tftp_context
ctx
;
...
...
components/net/sal_socket/impl/proto_mbedtls.c
浏览文件 @
3d2e23ec
...
@@ -11,7 +11,9 @@
...
@@ -11,7 +11,9 @@
#include <rtthread.h>
#include <rtthread.h>
#ifdef RT_USING_DFS
#ifdef RT_USING_DFS
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#endif
#endif
#ifdef SAL_USING_TLS
#ifdef SAL_USING_TLS
...
...
components/utilities/rt-link/src/rtlink_dev.c
浏览文件 @
3d2e23ec
...
@@ -20,7 +20,9 @@
...
@@ -20,7 +20,9 @@
#define RTLINK_SERV(dev) (((struct rt_link_device*)dev)->service)
#define RTLINK_SERV(dev) (((struct rt_link_device*)dev)->service)
#ifdef RT_USING_POSIX_DEVIO
#ifdef RT_USING_POSIX_DEVIO
#include <dfs_posix.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <poll.h>
#include <poll.h>
int
rtlink_fops_open
(
struct
dfs_fd
*
fd
)
int
rtlink_fops_open
(
struct
dfs_fd
*
fd
)
...
...
components/utilities/ymodem/ry_sy.c
浏览文件 @
3d2e23ec
...
@@ -11,7 +11,10 @@
...
@@ -11,7 +11,10 @@
#include <rtthread.h>
#include <rtthread.h>
#include <ymodem.h>
#include <ymodem.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
...
...
components/utilities/zmodem/rz.c
浏览文件 @
3d2e23ec
...
@@ -13,8 +13,9 @@
...
@@ -13,8 +13,9 @@
#include <shell.h>
#include <shell.h>
#include <rtdef.h>
#include <rtdef.h>
#include <dfs.h>
#include <dfs.h>
#include <dfs_file.h>
#include <unistd.h>
#include <dfs_posix.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <stdio.h>
#include <stdio.h>
#include "zdef.h"
#include "zdef.h"
...
...
components/utilities/zmodem/sz.c
浏览文件 @
3d2e23ec
...
@@ -12,8 +12,9 @@
...
@@ -12,8 +12,9 @@
#include <shell.h>
#include <shell.h>
#include <rtdef.h>
#include <rtdef.h>
#include <dfs.h>
#include <dfs.h>
#include <dfs_file.h>
#include <unistd.h>
#include <dfs_posix.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "zdef.h"
#include "zdef.h"
...
...
components/utilities/zmodem/zcore.c
浏览文件 @
3d2e23ec
...
@@ -11,8 +11,9 @@
...
@@ -11,8 +11,9 @@
#include <shell.h>
#include <shell.h>
#include <rtdef.h>
#include <rtdef.h>
#include <dfs.h>
#include <dfs.h>
#include <dfs_file.h>
#include <unistd.h>
#include <dfs_posix.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <stdio.h>
#include <stdio.h>
#include "zdef.h"
#include "zdef.h"
...
...
components/utilities/zmodem/zdevice.c
浏览文件 @
3d2e23ec
...
@@ -11,8 +11,9 @@
...
@@ -11,8 +11,9 @@
#include <shell.h>
#include <shell.h>
#include <rtdef.h>
#include <rtdef.h>
#include <dfs.h>
#include <dfs.h>
#include <dfs_file.h>
#include <unistd.h>
#include <dfs_posix.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include "zdef.h"
#include "zdef.h"
...
...
examples/file/listdir.c
浏览文件 @
3d2e23ec
...
@@ -9,7 +9,11 @@
...
@@ -9,7 +9,11 @@
* 2020-04-12 Jianjia Ma add msh cmd
* 2020-04-12 Jianjia Ma add msh cmd
*/
*/
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
void
list_dir
(
const
char
*
path
)
void
list_dir
(
const
char
*
path
)
{
{
...
...
examples/file/readspeed.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,11 @@
...
@@ -10,7 +10,11 @@
*/
*/
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
void
readspeed
(
const
char
*
filename
,
int
block_size
)
void
readspeed
(
const
char
*
filename
,
int
block_size
)
{
{
...
...
examples/file/readwrite.c
浏览文件 @
3d2e23ec
...
@@ -10,7 +10,11 @@
...
@@ -10,7 +10,11 @@
*/
*/
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#define TEST_DATA_LEN 120
#define TEST_DATA_LEN 120
...
...
examples/file/seekdir.c
浏览文件 @
3d2e23ec
...
@@ -8,7 +8,11 @@
...
@@ -8,7 +8,11 @@
* 2011-06-02 Bernard first version
* 2011-06-02 Bernard first version
* 2020-04-12 Jianjia Ma add msh cmd
* 2020-04-12 Jianjia Ma add msh cmd
*/
*/
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
void
seekdir_test
(
void
)
void
seekdir_test
(
void
)
{
{
...
...
examples/file/writespeed.c
浏览文件 @
3d2e23ec
...
@@ -9,7 +9,11 @@
...
@@ -9,7 +9,11 @@
* 2020-04-12 Jianjia Ma add msh cmd
* 2020-04-12 Jianjia Ma add msh cmd
*/
*/
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
void
writespeed
(
const
char
*
filename
,
int
total_length
,
int
block_size
)
void
writespeed
(
const
char
*
filename
,
int
total_length
,
int
block_size
)
{
{
...
...
examples/network/chargen.c
浏览文件 @
3d2e23ec
...
@@ -12,7 +12,11 @@
...
@@ -12,7 +12,11 @@
#ifdef SAL_USING_POSIX
#ifdef SAL_USING_POSIX
#include <sys/select.h> // only dfs_net
#include <sys/select.h> // only dfs_net
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#else
#else
#define read lwip_read
#define read lwip_read
#define write lwip_write
#define write lwip_write
...
...
examples/rt-link/rtlink_dev_example.c
浏览文件 @
3d2e23ec
...
@@ -46,7 +46,11 @@ static rt_err_t rtlink_dev_tx_done(rt_device_t dev, void *buffer)
...
@@ -46,7 +46,11 @@ static rt_err_t rtlink_dev_tx_done(rt_device_t dev, void *buffer)
}
}
#ifdef RT_USING_POSIX_DEVIO
#ifdef RT_USING_POSIX_DEVIO
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <poll.h>
#include <poll.h>
#include <sys/select.h>
#include <sys/select.h>
...
...
examples/test/fs_test.c
浏览文件 @
3d2e23ec
...
@@ -11,7 +11,11 @@
...
@@ -11,7 +11,11 @@
*/
*/
#include <rtthread.h>
#include <rtthread.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
static
rt_uint32_t
stop_flag
=
0
;
static
rt_uint32_t
stop_flag
=
0
;
static
rt_thread_t
fsrw1_thread
=
RT_NULL
;
static
rt_thread_t
fsrw1_thread
=
RT_NULL
;
...
...
examples/ymodem/tofile.c
浏览文件 @
3d2e23ec
...
@@ -9,7 +9,11 @@
...
@@ -9,7 +9,11 @@
#include <rtthread.h>
#include <rtthread.h>
#include <ymodem.h>
#include <ymodem.h>
#include <dfs_posix.h>
#include <dfs_file.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/statfs.h>
#include <stdlib.h>
#include <stdlib.h>
#include <board.h>
#include <board.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录