Commit Graph

132 Commits

Author SHA1 Message Date
armink ab700d54aa [DeviceDriver][SPI] Cleanup the at45db/gd25q/w25q/sst25v SPI flash driver. Please using SFUD instead of them. 2019-05-29 14:05:39 +08:00
HubretXie 24c9e8cb3f
Update sfud.c
修复可能存在越界访问的问题
2019-04-02 16:09:17 +08:00
armink 65d94a4ecd [DeviceDriver] Add rt_sfud_flash_find_by_dev_name function to SFUD porting file. 2019-02-20 16:27:27 +08:00
zylx 57dc5965cc [components][driver]fix qspi bug 2019-02-13 17:35:18 +08:00
armink 9e7254ef59 [DeviceDriver][SFUD] Change the rt_sfud_flash_find() function position. 2019-01-15 20:13:49 +08:00
HubretXie 716823bfec
减少sfud对任务栈的占用
用全局空间换栈空间,当多个任务需要使用sfud时,可以节省内存
例如多个任务需要使用文件系统,任务栈可以减少
2018-12-17 18:09:02 +08:00
Bernard Xiong 538923d34e
Merge pull request #2038 from enkiller/181206
[components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题
2018-12-06 11:33:45 +08:00
tangyuxin 5f0bf58069 [components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题 2018-12-06 09:50:17 +08:00
HubretXie cd0521d7d2
Update spi_flash_sfud.c 2018-12-05 19:59:06 +08:00
armink 7a6034fdf7 [DeviceDriver] Add RT_USING_QSPI macro. 2018-11-26 13:34:33 +08:00
armink c19848d63e [DeviceDriver] Update SFUD readme.md . 2018-11-24 22:10:59 +08:00
armink 31fc754805 [DeviceDriver] Fix a build error for SFUD. 2018-11-24 16:42:43 +08:00
armink 3a3da42738 [DeviceDriver] Add QSPI device driver support for SFUD. 2018-11-24 15:11:24 +08:00
armink 3b20db1903 [DeviceDriver] Update SFUD (Serial Flash Universal Driver) library to latest version. 2018-11-24 15:08:47 +08:00
armink 15b2feb60d [DeviceDriver] Update QSPI driver framework. 2018-11-24 15:02:53 +08:00
Bernard Xiong 8cc81af1f6
Merge pull request #1998 from SummerGGift/Remove_code
[components][driver]: Remove the extra spi reinitialization code
2018-11-22 20:26:07 +08:00
SummerGift e9c0964061 [components][driver]: optimized code 2018-11-22 16:33:32 +08:00
SummerGift fac430805f [components][driver]: change to new spi API 2018-11-22 16:26:29 +08:00
SummerGift 92fac771b1 [components][driver]: Store SPI configuration information to msd device 2018-11-22 14:52:02 +08:00
SummerGift 025951939a [components][driver]: spi sd card, remove the extra reinitialization code 2018-11-22 13:57:28 +08:00
zylx 257ce972d0 [DeviceDrivers][spi]:add qspi support 2018-11-22 13:54:37 +08:00
SummerGift dc704b1828 [component][sfud]: fix bug when probe device more than once 2018-11-14 17:58:57 +08:00
Bernard Xiong 070248bb04
Update spi_flash_w25qxx.c 2018-10-15 09:23:58 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
ZYH cc8ab15472 [Components][Drivers][SPI]fix "Value stored to 'result' is never read" 2018-09-17 10:06:54 +08:00
armink 9ef9e4b0f8 [DeviceDriver][SFUD] Update sfud to v1.0.6 latest version. 2018-08-22 16:48:17 +08:00
armink bc7a43bdaf [DeviceDriver][SFUD] Replace the vsnprintf to rt_vsnprintf. 2018-08-22 16:41:56 +08:00
MurphyZhao 651149fcbb [components/drivers/spi] 增加 sfud flash 设备查找接口
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-16 14:48:46 +08:00
armink e1c612bf0a [DeviceDriver][sfud] Fix block erase 0 byte issue when start address is equal end address. 2018-07-14 21:01:38 +08:00
tangyuxin 050600f4a8 [components][drivers]enc28j60 1.默认关闭log打印 2.优化一个未使用的变量 2018-06-26 11:00:52 +08:00
Bernard Xiong b110d77d8f
Merge pull request #1521 from RT-Thread/feature_v310
Feature v310
2018-06-11 11:13:59 +08:00
armink 3b98684664 [components][sfud] Fix RT_DEBUG_SFUD macro to bool type. 2018-06-10 18:27:52 +08:00
Bernard Xiong 564df04da1 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-06-10 18:01:15 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
armink 24f633e025 [components][sfud] Update log info. 2018-06-10 11:08:01 +08:00
aozima 088990f7d3 update enc28j60 driver: ensure enable PHY link changed interrupt. 2018-05-05 13:26:18 +08:00
aozima 3ec384d809 update enc28j60 driver: format code by Astyle. 2018-05-05 13:17:48 +08:00
armink 80c2015c3a [DeviceDriver] Remove rt_memory api using on SFUD. 2018-04-01 23:03:43 +08:00
aozima 0e4de6f8f4 [DeviceDrivers][SPI][spi_msd.c] fixed CSD Version 2.0 sector count calc. 2018-03-09 21:38:18 +08:00
aozima f582bb5ba4 [DeviceDrivers][SPI] format spi_msd.c 2018-03-09 21:38:09 +08:00
aozima cd74a4be47 [drivers] move tf/sd card driver to spi/spi/spi_msd.c, and update Kconfig script. 2018-02-07 10:28:30 +08:00
armink 7b8f8d9615 [DeviceDriver][SFUD] Fix flash device lock not detach when an error occurred. #1167 2018-01-28 18:29:33 +08:00
armink c63d9a8864 [DeviceDriver][SFUD] Update SFUD to latest version. 2018-01-28 18:14:45 +08:00
armink 8768f31fc1 [DeviceDrivers][SFUD] Add LOCAL_CCFLAGS to SFUD SConscript. 2017-12-10 16:53:03 +08:00
armink 2d9a592c2a [DeviceDrivers]Improve SFUD driver's compatibility. 2017-12-10 16:16:25 +08:00
bernard d7087fdd3b [DeviceDrivers] change cmd type.
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
armink 25c859912a [DeviceDriver] Update SFUD to latest version. 2017-09-29 17:00:19 +08:00
armink 93db99678b [DeviceDriver] Update SFUD to latest version. 2017-08-30 21:28:59 +08:00
armink 09f9fcaaa6 [DeviceDriver] Fix rw009 WiFi module auto reconnect feature. 2017-07-28 08:20:31 +08:00
FlyLu fe457da958 [DeviceDrivers]Fix continuous write page bug for spi_flash_at45dbxx driver 2017-06-15 16:05:34 +08:00
urey@ez-iot.com 564e7aefce 添加 w25 mtd设备驱动 2017-02-13 19:37:53 +08:00
armink 270285217d [DeviceDrivers]Make sure rt_sfud_flash_probe device must be SPI device. 2016-10-14 22:51:18 +08:00
armink a4bc38ad6b [DeviceDrivers]Update SFUD library to lastest version. 2016-10-14 22:48:36 +08:00
armink b2e14f7641 [DeviceDrivers]Modify SFUD's config for suitable more compilers. 2016-10-10 20:26:21 +08:00
armink 32bf9e29b7 [DeviceDrivers]Change SFUD 'sf' command tips. 2016-10-10 20:10:41 +08:00
armink 1d71f58350 [DeviceDrivers]Add SPI flash probe and delete function to SFUD driver. 2016-10-10 10:24:30 +08:00
armink 16dad06fc7 [DeviceDrivers]Add SFUD(Serial Flash Universal Driver) SPI Flash driver for using RTT device. It makes RT-Thread support more type SPI Flash. 2016-10-09 09:06:01 +08:00
Bernard Xiong c5949c2736 [DeviceDrivers] Update SPI flash drivers. 2016-05-20 14:07:32 +08:00
Bernard Xiong ac3af54a7e [DeviceDrivers] Use PBUF_POOL in enc28j60 drivers.
patched by FH.
2016-05-20 12:22:55 +08:00
Bernard Xiong 0690980fb6 Merge pull request #539 from SchumyHao/master
add w25q80 support to spi flash
2015-08-24 10:51:03 +08:00
BernardXiong 2f5c5b676d [DeviceDrivers] Add GD25Q flash id in w25qxx.c 2015-05-13 21:28:02 +08:00
SchumyHao 88936f0836 format 2015-04-16 21:08:07 +08:00
SchumyHao 7d341d4e6e add w25q80 support to spi flash 2015-04-16 21:06:54 +08:00
aozima 92fac29f70 update RW009 driver: add softAP support. 2014-11-15 16:11:24 +08:00
aozima 3c99a5bf8d update RW009 wifi driver. 2014-09-24 12:08:01 +08:00
aozima 03496f0700 update RW009 driver. 2014-09-08 16:59:52 +08:00
aozima 69d089cac0 Update SConscript: add spi to include path. 2014-08-29 21:53:28 +08:00
bernard 5397e18c56 [DeviceDrivers] Fix compiling warning. 2014-08-03 14:29:46 +08:00
aozima 0fc1ac6189 add more SPI device driver. 2014-07-31 16:58:43 +08:00
yiyue.fang 621fbdb90c Embedded GPLv2 license in drivers 2013-06-28 00:36:54 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
wuyangyong 2aab960999 fixed rt_spi_release_bus assert error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2310 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-28 15:26:19 +00:00
dzzxzz@gmail.com 20de2ffa18 change file format(CR/LF) from PC to Unix/Mac OS X
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:23:11 +00:00
dzzxzz@gmail.com a4456b86d5 re-format the coding style in spi_core.c
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2273 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:21:35 +00:00
dzzxzz@gmail.com c1a64657f6 re-format the coding style in spi_dev.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2272 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 06:02:14 +00:00
bernard.xiong@gmail.com 03668c93b9 Changed SPI message to message list. Added take/release SPI device/bus interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2123 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 05:37:09 +00:00
dzzxzz@gmail.com 648b45ee26 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2120 bbd45198-f89e-11dd-88c7-29a3b14d5316 2012-05-16 12:26:39 +00:00
dzzxzz@gmail.com 55f5069a5e fixed the return value in rt_spi_bus_attach_device()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2118 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-15 10:44:39 +00:00
bernard.xiong@gmail.com eedd490bd6 add const attribute to the ops.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1937 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-03 14:03:51 +00:00
bernard.xiong@gmail.com 2f9cd34325 merge 1.0.x to 1.1.x for SD driver.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1926 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-29 08:11:21 +00:00
bernard.xiong@gmail.com 2b8c20af4b add SPI framework.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1911 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:16:51 +00:00
bernard.xiong@gmail.com 5588bbe4d2 add some device driver header files.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1910 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 14:14:54 +00:00