Hi,
I am Ashok. Right now i am using K20 series controller for my project. I am using MQX 4.0 Version and MFS for my project.
My project application is to copy data from external flash to a file in USB and vice-versa. I am able to create a new file in USB through
MFS and successfully writing data to the file.
My Question is when i opened the same file in my PC and i checked the properties of file.Then, i found that created properties were blank( Please find the attached reference image). It is only showing modified properties of the file.
Can anyone let me know how to update the created properties of while creating a new file. ?
Regards,
Ashok
Message was edited by: Ashok G
You can use function _io_mfs_ioctl with command IO_IOCTL_SET_DATE_TIME.
For example:
error_code = ioctl(your_option_file_PTR, IO_IOCTL_SET_DATE_TIME, your_date_time_PTR);
For date/time bits meaning, please see chapter 3.8.1.18 IO_IOCTL_GET_DATE_TIME in MFS user guide:
c:\Freescale\Freescale_MQX_4_0\doc\mfs\MQXMFSUG.pdf