mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 18:33:32 +08:00
[bsp][nxp]增加了drv_filesystem_spi_flash驱动
This commit is contained in:
parent
bbac8e954d
commit
a2bec29019
@ -42,11 +42,11 @@ static int filesystem_mount(void)
|
||||
{
|
||||
struct rt_spi_device *spi70 = (struct rt_spi_device *)rt_malloc(sizeof(struct rt_spi_device));
|
||||
|
||||
if(!spi70)
|
||||
{
|
||||
rt_kprintf("spi sample run failed! can't find %s device!\n","spi7");
|
||||
if(!spi70)
|
||||
{
|
||||
rt_kprintf("spi sample run failed! can't find %s device!\n","spi7");
|
||||
return -RT_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
struct rt_spi_configuration cfg;
|
||||
cfg.data_width = 8;
|
||||
|
Loading…
x
Reference in New Issue
Block a user