-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32H7 Internal Flash No more free space #1016
Comments
The nature of block based file systems means that what you are trying to do is impossible. Two blocks is far too few to store the relevant metadata needed yet alone actual files. The block size ST provides is really intended to store flash images ie put a bootloader in the first sector and then store application firmware that is field upgradeable in the other sectors. |
Hello @pseudotronics. Thanks for reply. |
@pseudotronics is mostly right, but littlefs does support inline files in metadata blocks which changes things. One design goal is for 2-block filesystems to be possible. The main catch right now is littlefs needs to be able to back inline files in RAM, which is indirectly controlled by At 128 KiB sectors the RAM requirement may be problematic. There is work ongoing to remove the RAM requirement, but it is still an incomplete feature. |
@geky Thanks for reply. I will follow the developments. For now, I am progressing the issue with an external flash. |
Hello everyone,
I'm working on littleFS integration using STM32H7's Internal Flash. I have no problems creating, deleting files, etc. but I encounter a problem when I want to create a log file. If I were to explain all the details in order;
The text was updated successfully, but these errors were encountered: