Hello Xiang,
> >
> Yes, if you just want to create an empty littlefs partition, littlefs
> driver can do it without the userspace tool assistance.
> Either run the mount command from nsh:
> mount -t littlefs -o autoformat /dev/mtd /mnt
> Or call mount function from board_initialize like this:
> mo
On Thu, Apr 29, 2021 at 8:12 AM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:
> Hello Xiang,
>
> Thank you for your quick response.
>
> How do I manage the format of a littlefs 'disk' from programming (not
> nutshell) ?
>
>
If you want to generate the initial littlefs image in host en
Hello Xiang,
Thank you for your quick response.
How do I manage the format of a littlefs 'disk' from programming (not
nutshell) ?
I am looking for something similar to 'mksmatfs' function.
Or only the flash_eraseall function is enough? Or should I add the "-o
autoformat" option on the last para
LittleFS can talk directly with the standard MTD driver, so you just need:
1. Call register_mtddriver in your board file
2. Run mount from nsh like this:
mount -t littlefs -o autoformat /dev/mtd /mnt
On Wed, Apr 28, 2021 at 8:03 PM Flavio Castro Alves Filho <
flavio.al...@gmail
Hello,
Today my application uses SmartFS associated with MX25L SPI Dataflash.
I intend to replace the SmartFS to LittleFS.
In the filesystem section of menuconfig, I can disable
CONFIG_FS_SMARTFS and enable CONFIG_FS_SMARTFS.
But when I go to "Device Drivers" --> "Memory Technology Device (MTD)