| /bsp/stm32/stm32h750-artpi/board/port/ |
| A D | filesystem.c | 140 struct rt_device *flash_dev = RT_NULL; in mount_init() local 146 flash_dev = fal_mtd_nor_device_create("filesystem"); in mount_init() 149 flash_dev = fal_blk_device_create("filesystem"); in mount_init() 150 if (flash_dev) in mount_init() 153 if (dfs_mount(flash_dev->parent.name, "/filesystem", "elm", 0, 0) != 0) in mount_init() 156 dfs_mkfs("elm", flash_dev->parent.name); in mount_init() 157 if (dfs_mount(flash_dev->parent.name, "/filesystem", "elm", 0, 0) == 0) in mount_init() 172 if (flash_dev) in mount_init() 175 if (dfs_mount(flash_dev->parent.name, "/flash", "lfs", 0, 0) != 0) in mount_init() 178 dfs_mkfs("lfs", flash_dev->parent.name); in mount_init() [all …]
|
| /bsp/stm32/stm32h7s7-st-disco/board/port/ |
| A D | filesystem.c | 140 struct rt_device *flash_dev = RT_NULL; in mount_init() local 146 flash_dev = fal_mtd_nor_device_create("filesystem"); in mount_init() 149 flash_dev = fal_blk_device_create("filesystem"); in mount_init() 150 if (flash_dev) in mount_init() 153 if (dfs_mount(flash_dev->parent.name, "/filesystem", "elm", 0, 0) != 0) in mount_init() 156 dfs_mkfs("elm", flash_dev->parent.name); in mount_init() 157 if (dfs_mount(flash_dev->parent.name, "/filesystem", "elm", 0, 0) == 0) in mount_init() 172 if (flash_dev) in mount_init() 175 if (dfs_mount(flash_dev->parent.name, "/flash", "lfs", 0, 0) != 0) in mount_init() 178 dfs_mkfs("lfs", flash_dev->parent.name); in mount_init() [all …]
|
| /bsp/stm32/stm32h7r7-artpi2/board/port/ |
| A D | filesystem.c | 114 struct rt_device *flash_dev = RT_NULL; in mount_init() local 120 flash_dev = fal_mtd_nor_device_create("filesystem"); in mount_init() 122 if (flash_dev) in mount_init() 125 if (dfs_mount(flash_dev->parent.name, "/flash", "lfs", 0, 0) != 0) in mount_init() 127 LOG_W("mount to '/flash' failed! try to mkfs %s", flash_dev->parent.name); in mount_init() 128 dfs_mkfs("lfs", flash_dev->parent.name); in mount_init() 129 if (dfs_mount(flash_dev->parent.name, "/flash", "lfs", 0, 0) == 0) in mount_init()
|
| /bsp/yichip/yc3122-pos/applications/ |
| A D | main.c | 29 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in elmfs_sample() local 30 if (flash_dev == NULL) in elmfs_sample() 38 if (dfs_mkfs("elm", flash_dev->parent.name) == 0) in elmfs_sample() 47 if (dfs_mount(flash_dev->parent.name, "/", "elm", 0, 0) == 0) in elmfs_sample()
|
| /bsp/bouffalo_lab/libraries/rt_drivers/port/ |
| A D | mnt.c | 62 struct rt_device *flash_dev = RT_NULL; in mount_init() local 65 flash_dev = fal_blk_device_create("filesystem"); in mount_init() 66 if(flash_dev == RT_NULL) in mount_init()
|
| /bsp/stm32/stm32f407-lckfb-skystar/board/ports/ |
| A D | drv_filesystem.c | 58 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in onboard_fal_mount() local 59 if (flash_dev == NULL) in onboard_fal_mount() 69 if (dfs_mount(flash_dev->parent.name, "/fal", "elm", 0, 0) == 0) in onboard_fal_mount()
|
| /bsp/stm32/stm32f407-rt-spark/board/ports/ |
| A D | drv_filesystem.c | 58 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in onboard_fal_mount() local 59 if (flash_dev == NULL) in onboard_fal_mount() 69 if (dfs_mount(flash_dev->parent.name, "/fal", "elm", 0, 0) == 0) in onboard_fal_mount()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/board/ports/fal/ |
| A D | fal_sample.c | 30 const struct fal_flash_dev *flash_dev = RT_NULL; in fal_test() local 47 flash_dev = fal_flash_device_find(partition->flash_name); in fal_test() 48 if (flash_dev == RT_NULL) in fal_test() 60 flash_dev->len/1024, in fal_test()
|
| /bsp/nrf5x/nrf52832/applications/ |
| A D | mnt.c | 62 struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in on_chip_fs_init() local 64 if (flash_dev == NULL) in on_chip_fs_init()
|
| /bsp/renesas/ra8d1-vision-board/board/ports/ |
| A D | mnt.c | 22 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in sd_mount() local 24 if (flash_dev == NULL) in sd_mount()
|
| /bsp/mm32f327x/drivers/ |
| A D | drv_flash.c | 108 struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in flash_init() local 110 if (flash_dev == NULL) in flash_init()
|
| /bsp/mm32f526x/drivers/ |
| A D | drv_flash.c | 108 struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in flash_init() local 110 if (flash_dev == NULL) in flash_init()
|