[DeviceDrivers]Add SFUD(Serial Flash Universal Driver) SPI Flash driver for using RTT device. It makes RT-Thread support more type SPI Flash.

This commit is contained in:
armink
2016-10-09 09:06:01 +08:00
parent b8739a1363
commit 16dad06fc7
11 changed files with 2770 additions and 0 deletions
+6
View File
@@ -23,6 +23,12 @@ if GetDepend('RT_USING_SST25VFXX'):
if GetDepend('RT_USING_GD'):
src_device += ['spi_flash_gd.c']
if GetDepend('RT_USING_SFUD'):
src_device += ['spi_flash_sfud.c', 'sfud/src/sfud.c']
CPPPATH += [cwd + '/sfud/inc']
if GetDepend('RT_SFUD_USING_SFDP'):
src_device += ['sfud/src/sfud_sfdp.c']
src += src_device