mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 01:28:23 +00:00
添加 w25 mtd设备驱动
This commit is contained in:
@@ -36,4 +36,14 @@ struct spi_flash_device
|
||||
|
||||
typedef struct spi_flash_device *rt_spi_flash_device_t;
|
||||
|
||||
#ifdef RT_USING_MTD_NOR
|
||||
struct spi_flash_mtd
|
||||
{
|
||||
struct rt_mtd_nor_device mtd_device;
|
||||
struct rt_spi_device * rt_spi_device;
|
||||
struct rt_mutex lock;
|
||||
void * user_data;
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user