05-09-2018 04:22 AM
Hello,
I am programming the Zynq using SDK. I am storing data files into the SD card using f_write, f_open and f_read functions from the ff.h library provided by xilinx (named xilfs in the BSP).
Does anyone know how to set the additional attributes (I'm interested in the date) of a file when using the ff.h library provided by Xilinx?
Thanks,
Cerilet
05-09-2018 07:31 AM
Check out f_utime() as documented here: http://elm-chan.org/fsw/ff/doc/utime.html
And there is an enablement via FF_FS_MINIMIZE as documented here: http://elm-chan.org/fsw/ff/doc/config.html
I haven't used it myself so I'm unsure if it is enabled by default.