Commit Graph

88 Commits

Author SHA1 Message Date
zhaoshaowei 3ad6b30e18
[componects] 修复不能发现禁止写spi flash失败的情形
`(register_status & SFUD_STATUS_REGISTER_WEL) == 1` 这个表达式始终为假

SFUD_STATUS_REGISTER_WEL = (1 << 1)
2019-12-27 16:52:52 +08:00
Bernard Xiong a87c2ef970
Merge pull request #3234 from fmkong/spi_flash_sfud
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
2019-12-18 20:03:28 +08:00
Fanming 7e9d54d87a [drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function. 2019-12-17 17:46:43 +08:00
tangweikang 15b10bd5e2 [components][sfud] update sfud options. 2019-12-03 16:45:46 +08:00
chengxiaohu 2a512f3df0 添加 W25Q64DW SPI Flash 到支持列表。实际应用中发现该芯片不支持sfdp。 2019-11-20 23:33:10 +08:00
Bernard Xiong 7464427894 [SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition 2019-09-11 10:24:50 +08:00
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