Home
last modified time | relevance | path

Searched refs:FS_PARTITION_NAME (Results 1 – 14 of 14) sorted by relevance

/bsp/nrf5x/nrf52832/applications/
A Dmnt.c48 #define FS_PARTITION_NAME ON_CHIP_PARTION_NAME macro
62 struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in on_chip_fs_init()
66 LOG_E("Can't create a block device on '%s' partition.", FS_PARTITION_NAME); in on_chip_fs_init()
72 LOG_D("Create a block device on the %s partition of flash successful.", FS_PARTITION_NAME); in on_chip_fs_init()
75 if (rt_device_find(FS_PARTITION_NAME) != RT_NULL) in on_chip_fs_init()
77 int mkfs_res = dfs_mkfs("lfs", FS_PARTITION_NAME); in on_chip_fs_init()
86 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == RT_EOK) in on_chip_fs_init()
/bsp/stm32/stm32h750-weact-ministm32h7xx/board/port/
A Ddrv_spi_flash.c22 #define FS_PARTITION_NAME "filesystem" macro
49 mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in mnt()
52 LOG_E("Can't create a mtd device on '%s' partition.", FS_PARTITION_NAME); in mnt()
57 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == 0) in mnt()
63 dfs_mkfs("lfs", FS_PARTITION_NAME); in mnt()
65 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == 0) in mnt()
A Ddrv_qspi_flash.c31 #define FS_PARTITION_NAME "fs_qspi" macro
/bsp/mm32f327x/drivers/
A Ddrv_flash.c26 #define FS_PARTITION_NAME "filesystem" macro
108 struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in flash_init()
112 rt_kprintf("Can't create a mtd device on '%s' partition.\n", FS_PARTITION_NAME); in flash_init()
116 … rt_kprintf("Create a mtd device on the %s partition of flash successful.\n", FS_PARTITION_NAME); in flash_init()
119 if (rt_device_find(FS_PARTITION_NAME) != RT_NULL) in flash_init()
121 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == RT_EOK) in flash_init()
127 dfs_mkfs("lfs", FS_PARTITION_NAME); in flash_init()
128 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == RT_EOK) in flash_init()
/bsp/mm32f526x/drivers/
A Ddrv_flash.c26 #define FS_PARTITION_NAME "filesystem" macro
108 struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in flash_init()
112 rt_kprintf("Can't create a mtd device on '%s' partition.\n", FS_PARTITION_NAME); in flash_init()
116 … rt_kprintf("Create a mtd device on the %s partition of flash successful.\n", FS_PARTITION_NAME); in flash_init()
119 if (rt_device_find(FS_PARTITION_NAME) != RT_NULL) in flash_init()
121 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == RT_EOK) in flash_init()
127 dfs_mkfs("lfs", FS_PARTITION_NAME); in flash_init()
128 if (dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0) == RT_EOK) in flash_init()
/bsp/stm32/stm32f407-atk-explorer/board/ports/
A Ddrv_filesystem.c47 #define FS_PARTITION_NAME "spiflash0" macro
55 mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in onboard_spiflash_mount()
58 LOG_E("Can't create a mtd device on '%s' partition.", FS_PARTITION_NAME); in onboard_spiflash_mount()
61 if (dfs_mount(FS_PARTITION_NAME, "/spiflash", "lfs", 0, 0) == RT_EOK) in onboard_spiflash_mount()
67 dfs_mkfs("lfs", FS_PARTITION_NAME); in onboard_spiflash_mount()
68 if (dfs_mount(FS_PARTITION_NAME, "/spiflash", "lfs", 0, 0) == RT_EOK) in onboard_spiflash_mount()
/bsp/stm32/stm32l496-ali-developer/board/
A Dmnt.c28 #define FS_PARTITION_NAME "flash" in mnt_init() macro
30 mtd_dev = fal_blk_device_create(FS_PARTITION_NAME); in mnt_init()
36 if (dfs_mount(FS_PARTITION_NAME, "/", "elm", 0, 0) == 0) in mnt_init()
42 dfs_mkfs("elm", FS_PARTITION_NAME); in mnt_init()
43 if (dfs_mount(FS_PARTITION_NAME, "/", "elm", 0, 0) != 0) in mnt_init()
/bsp/stm32/stm32l496-st-nucleo/board/
A Dmnt.c27 #define FS_PARTITION_NAME "flash" in mnt_init() macro
29 mtd_dev = fal_blk_device_create(FS_PARTITION_NAME); in mnt_init()
35 if (dfs_mount(FS_PARTITION_NAME, "/", "elm", 0, 0) == 0) in mnt_init()
41 dfs_mkfs("elm", FS_PARTITION_NAME); in mnt_init()
42 if (dfs_mount(FS_PARTITION_NAME, "/", "elm", 0, 0) != 0) in mnt_init()
/bsp/renesas/ra8d1-vision-board/board/ports/
A Dmnt.c18 #define FS_PARTITION_NAME "disk" macro
22 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in sd_mount()
26 rt_kprintf("Can't create a block device on '%s' partition.\n", FS_PARTITION_NAME); in sd_mount()
30 … rt_kprintf("Create a block device on the %s partition of flash successful.\n", FS_PARTITION_NAME); in sd_mount()
33 if(rt_device_find(FS_PARTITION_NAME) != RT_NULL) in sd_mount()
35 dfs_mkfs("elm", FS_PARTITION_NAME); in sd_mount()
36 if (dfs_mount(FS_PARTITION_NAME, "/", "elm", 0, 0) == RT_EOK) in sd_mount()
/bsp/hc32/platform/sfud/
A Ddrv_spi_flash.c46 #define FS_PARTITION_NAME "filesystem" macro
94 mtd_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); in rt_hw_fs_init()
97 LOG_E("Can't create a mtd device on '%s' partition.", FS_PARTITION_NAME); in rt_hw_fs_init()
103 if (RT_EOK == dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0)) in rt_hw_fs_init()
111 if (RT_EOK == dfs_mkfs("lfs", FS_PARTITION_NAME)) in rt_hw_fs_init()
114 if (RT_EOK == dfs_mount(FS_PARTITION_NAME, "/", "lfs", 0, 0)) in rt_hw_fs_init()
/bsp/stm32/stm32f407-lckfb-skystar/board/ports/
A Ddrv_filesystem.c49 #define FS_PARTITION_NAME "filesystem" macro
58 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in onboard_fal_mount()
61 LOG_E("Can't create a block device on '%s' partition.", FS_PARTITION_NAME); in onboard_fal_mount()
65 LOG_D("Create a block device on the %s partition of flash successful.", FS_PARTITION_NAME); in onboard_fal_mount()
/bsp/stm32/stm32f407-rt-spark/board/ports/
A Ddrv_filesystem.c49 #define FS_PARTITION_NAME "filesystem" macro
58 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in onboard_fal_mount()
61 LOG_E("Can't create a block device on '%s' partition.", FS_PARTITION_NAME); in onboard_fal_mount()
65 LOG_D("Create a block device on the %s partition of flash successful.", FS_PARTITION_NAME); in onboard_fal_mount()
/bsp/yichip/yc3122-pos/applications/
A Dmain.c17 #define FS_PARTITION_NAME "filesystem" macro
29 struct rt_device *flash_dev = fal_blk_device_create(FS_PARTITION_NAME); in elmfs_sample()
32 LOG_E("Can't create a block device on '%s' partition.", FS_PARTITION_NAME); in elmfs_sample()
36 … LOG_I("Create a block device on the %s partition of flash successful...", FS_PARTITION_NAME); in elmfs_sample()
/bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/board/ports/fal/
A Dfal_sample.c21 #define FS_PARTITION_NAME "filesystem" macro
188 blk_dev = (struct fal_blk_device *)fal_blk_device_create(FS_PARTITION_NAME); in fal_elmfat_sample()
190 rt_kprintf("Can't create a block device on '%s' partition.\n", FS_PARTITION_NAME); in fal_elmfat_sample()
192 … rt_kprintf("Create a block device on the %s partition of flash successful.\n", FS_PARTITION_NAME); in fal_elmfat_sample()
195 if(dfs_mkfs("elm", FS_PARTITION_NAME) == 0) in fal_elmfat_sample()
199 if(dfs_mount(FS_PARTITION_NAME, "/", "elm", 0, 0) == 0) in fal_elmfat_sample()

Completed in 26 milliseconds