joltwallet/esp_littlefs

Can littlefs be used with VFS?

doragasu opened this issue · 1 comments

E.g. to open("/dev/uart/0", O_RDWR); like in this example.

When I build that code, it works perfect, but incorporating it in my project using littlefs, the open() call fails, with a "no such file or directory" error.

No other component in my project uses anything I can think of interfering with filesystem, other than littlefs, so I wonder if this is supported, or littlefs completely overrides VFS.

Got it to work, just by calling esp_vfs_dev_uart_register(); during the initialization, before the open(). Dunno why the example code works without doing this call, but well, it's working now.

Sorry for the noise, closing the issue.