Home
last modified time | relevance | path

Searched refs:flash_dev (Results 1 – 12 of 12) sorted by relevance

/bsp/stm32/stm32h750-artpi/board/port/
A Dfilesystem.c140 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 Dfilesystem.c140 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 Dfilesystem.c114 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 Dmain.c29 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 Dmnt.c62 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 Ddrv_filesystem.c58 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 Ddrv_filesystem.c58 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 Dfal_sample.c30 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 Dmnt.c62 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 Dmnt.c22 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 Ddrv_flash.c108 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 Ddrv_flash.c108 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()

Completed in 20 milliseconds