This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

write struct to flash

Hi guys,

I just want to ask you is it possible to write a struct into flash using sd_flash_write() function. I can successfully write and ready INT values, but the problem occurs when I want to write and read a structure. I have already tried to define a pointer as struct structName *pointer_name, but there is always a warning message that informs me the pointer is not compatible with sd_flash_write(). Can you please help me to solve this problem.

Br,

Adnan.

Related