Commit Graph

426 Commits

Author SHA1 Message Date
Meco Man b2d3317c6a remove minilibc 2021-02-23 03:21:16 +08:00
Meco Jianting Man 19d56fbc50
Update dfs_elm.c 2021-02-19 07:49:48 +00:00
Meco Man e90a0ee03c [fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug 2021-02-18 15:43:22 +08:00
Meco Man 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Wayne Lin 44e9a48f1d Enlarge ECC/DATA layout array size. 2021-01-26 17:04:47 +08:00
Wayne Lin 998e370ae1 Append RT_WEAK to override various ECC layout. 2021-01-26 10:44:00 +08:00
Bernard Xiong 953a9ee84c
Merge pull request #3681 from cliff-cmc/master
[components] dfs: update elmfat to R0.14 patch 1
2020-12-31 15:00:37 +08:00
Han Xinrong db4b3ff125 modify code style 2020-12-15 11:37:23 +08:00
Han Xinrong a1fe7b1ddf modify the error check of rt_event_recv() 2020-12-13 19:11:04 +08:00
Han Xinrong 3bb8edf4c1 error check of rt_event_recv()
add error check
2020-12-09 22:24:01 +08:00
liuduanfei 22c47d4b19
Update dfs_romfs.c
修改一处拼写错误
2020-12-03 09:59:09 +08:00
xingkong121 9b925fb9c0
Modify comment error
Device file system should be registered
2020-11-28 22:47:06 +08:00
tangyuxin 8861202c3b [dfs] fix the DEVICE could not get or set flags 2020-09-26 12:30:39 +08:00
tangyuxin 50dc41468e [add] DFS file system supports device types 2020-09-26 09:55:58 +08:00
Bernard Xiong ad3e6d8898 [DFS] clean the unnecessary checking 2020-08-07 08:51:22 +08:00
Cliff Chen 1a9ecf27f3 [components] dfs: update elmfat to R0.14 patch 1
merge from https://github.com/abbrev/fatfs.git
(cf1fa008119c8ae2d05311ba3d97da0c4dca33b6)

Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
Change-Id: I321ba7933e1a4d6c07b3fbaa2a134eb54bb43b32
2020-06-12 16:31:43 +08:00
longtengmcu d75f03e4b0 1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1 …
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
4、修改注释信息
2020-05-21 22:05:38 +08:00
longtengmcu 63950c9259 1、解决do_pollfd函数中处理底层网络设备返回错误-1的情况,返回-1时select函数也要返回-1
2、网卡设备调用关闭dhcp时,底层要调用dhcp_stop函数来关闭dhcp功能,打开时再调用dhcp_start,否则再次打开dhcp时无法获取ip地址或者出现在使用静态ip地址会在dhcp租约到期时自动再获取ip地址。
3、sal_socket.c程序中的sal_accept函数增加判断网卡up,down的功能
2020-05-17 15:51:35 +08:00
Cliff Chen 1c68bd9d3c Support msc mode automatic switching
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-03-16 10:50:34 +08:00
David Lin ec20c2c7ff
Fixed typo 'WirtePageWithLayout' in uffs
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:37:05 +08:00
David Lin 3790384734
Fixed typo 'WirtePageWithLayout' in uffs
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:34:21 +08:00
David Lin 8d497e945a
Fixed typo 'WirtePageWithLayout' in uffs
WirtePageWithLayout ->WritePageWithLayout
2020-02-21 21:30:35 +08:00
David Lin 8e19bec11b
Fixed typo: 'wirte' in uffs_nandif.c
Note that the word 'wirte' is wrong,
so that 'wirte' should been replaced with 'write'.
2020-02-16 20:08:36 +08:00
Bernard Xiong 78d42efd22 [DFS] cleanup the log in dfs. 2019-12-18 21:37:42 +08:00
hichard aafed7b434 1.修复sd卡热插拔内存泄露的bug
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-11-16 11:16:48 +08:00
zhangjun d08f533659 [components][dfs][filesystems][elmfat]修正代码风格 2019-10-08 09:11:35 +08:00
zhangjun 60f2ae4d3c [components][dfs]添加ftruncate接口 2019-09-26 10:22:33 +08:00
gbcwbz 97c9abffd1 [components][dfs] Fix fd error in command list_fd 2019-07-26 19:07:05 +08:00
tangyuxin 7d09071858 [components][dfs][nfs] 修复Linux NFS服务器认证问题 2019-06-26 14:38:52 +08:00
tyustli d8eb0cfc1e fix kernel and framework no cast type error 2019-06-18 20:09:19 +08:00
guozhanxin 167342cf41 [dfs] fix some bug for uffs filesystem.|修复了一些uffs文件系统的BUG. 2019-06-18 10:45:54 +08:00
Bernard Xiong 214c1a6d45
Merge pull request #2608 from misonyo/rttdev
[components/dfs]fix index overflow bug when not filesystem was selected
2019-04-24 21:15:42 +08:00
guozhanxin 0c3da7e367 [components/dfs/ramfs] Automatically select memheap when ramfs enabled.|当使能ramfs时自动选中memheap。 2019-04-24 15:11:49 +08:00
misonyo 958d42f32c [components/dfs]fix index overflow bug when not filesystem was selected 2019-04-23 23:03:34 +08:00
Bernard Xiong ea9dbfa4f0
Merge pull request #2569 from armink/fix_dfs
[DFS] Update dfs file open log.
2019-04-13 10:41:09 +08:00
armink 6c92eb40da [DFS] Update dfs file open log. 2019-04-12 10:39:05 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
HubretXie 25cdd8bba9
fix use printf format bug
fix use printf format bug
2019-04-09 20:11:07 +08:00
tangyuxin e71ec65549 [components][dfs]格式化代码 2019-04-08 14:51:01 +08:00
armink 4f7c06f923 [component][DFS] Change the log level on dfs_file_open() func. 2019-03-07 15:56:39 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
Bernard Xiong 7383269905 [Kernel] Code cleanup for compiling warning. 2019-02-12 14:33:45 +08:00
Bernard Xiong 3b4a9f51c7 [DFS] Remove opened file check
Remove opened file check in dfs_file_open function. It will be replaced with POSIX flock/fcntl.
2019-01-24 20:55:27 +08:00
Bernard Xiong b998c4ed8d
[DFS][romfs] code cleanup 2019-01-13 14:33:24 +08:00
Bernard Xiong 9af2d29351
[DFS][romfs] code cleanup 2019-01-13 14:31:55 +08:00
Bernard Xiong bd7ebbf17b [DFS][romfs] fix the mkrom issue when file/dir size zero 2019-01-13 14:24:00 +08:00
yangfasheng c16d3de633 update dfs.c dfs_file.c dfs_file.h
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2019-01-09 17:40:32 +08:00
MurphyZhao 5d6c7e0df7 [components][dfs] Refix #2100 PR
#2100 PR 增加 `#include <libc.h>` 后,如果定义了 `RT_USING_DFS_DEVFS`,那就必须要开启 LIBC 才可以成功编译,增加了对 RT_USING_LIBC 的依赖。但是,这个修复又是关于开启 POSIX 的时候遇到的问题,因此建议在引入 <libc.h> 的地方,加入对 `RT_USING_POSIX` 的依赖。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-05 14:20:44 +08:00
gbcwbz 0924d277f6 [dfs] Fix stdio fd error when POSIX api is used
POSIX api e.g. poll read write
2018-12-23 19:14:14 +08:00