cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
740 Views
Registered: ‎08-26-2014

How to set the date of a data file written using library ff.h (xilfs)?

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

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
715 Views
Registered: ‎02-01-2008

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.

0 Kudos