Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago. This question has been closed. Reason: Duplicate question
Limitation in using Serial flash file System with limited size to create file
Hello,
Import programspiserialtst
exercise SPI SerialFlash library on k64f with winbond flash
I would like use serial flash file system for my external nor flash mx25R (16Mb) interfacing with stm32l0 controller. everything works fine but the problem i am having variable data rates for my sensors so sometimes i get size of the file low and sometimes its high as it depends on user setting. Now i would like to dynamically provide file size like how we create file in SD card in similar fashion i would like to create with any file size limit at the when once the file is closed the values of file name length offset and all the required details must be updated. Is there any way that i can remove allocating file size when creating file on serial nor flash. Thank you,