Can i use file operations in the CCS, which I want to load to the memory attached to TM4c123G launchpad.
I am using the following code
ptr_file =fopen("serial_no_voters.txt","r");
while (fgets(device_data,100, ptr_file)!=NULL)
{
// writing file to memory
}
fclose(ptr_file);
But I am not able to read the file.I am placing the file in the project folder where my main program is residing. Can anyone help me how can I use file operations? Any examples.
Thanks