Hello,
For the function to acquire the FDS file system status, I noticed that the struct member variables are held in uint16_t. Some values, such as words_used and freeable_words, can overflow during regular usage when the amount of flash allocated to FDS exceeds 65535 words (262kB).
In our application, this case applies, so we have changed some of the fds stat variables to uint32_t. Is there any reason why 16 bits was used for these variables, and is directly changing them to 32-bits safe?
Thank you.