Question
Update file on FAT SF on the fly
Posted on December 04, 2012 at 12:50
Sorry for the trivial question but I need to add some data to a text file on the fly.
Each time I need to open an existing file and add a line of text to it then close (to avoid data loss on power off)I'm new to a FS programming and I can't find the option for append (a+). Can I do it on the stm3220g-eval? Do I have to read the entire file content then create a new file to store the data in it? #stm3220g-eval #fs-f_lseek-stm3220g-eval #fat-stm32 #file-system #filesystem #fatfs