Hi,
I'm trying to verify that a file transfer was successful, and was hoping to compute a CRC of the file in LFS. The CRC function in my embedded platform needs the file size (easy to get from LFS) and the start address (hard to get). My question is twofold:
- Is it possible to get the start address of the file, and if so, is the file stored contiguously?
- If not, is there a built-in way to compute a CRC for a whole file?
Thanks!
Hi,
I'm trying to verify that a file transfer was successful, and was hoping to compute a CRC of the file in LFS. The CRC function in my embedded platform needs the file size (easy to get from LFS) and the start address (hard to get). My question is twofold:
Thanks!