To store data in header file - using fprintf by opening the file at run time is this possible ?

Hi , 

   in my application i need to store 100 number of records in a structure , i get the data through uart from my third party controller i m getting data succesffuly , then to how to write and read the .h header file from our project folder.

Thanks ,

Sowmiya

Parents Reply
  • How are you currently storing and accessing data with your external flash? To store it as a file, you will need to implement a filesystem on the device, but that is something you typically do for more complex applications. It's probably easier to just store the raw data at a fixed address in your flash. The application should know the format of how the data was stored.

Children
Related