Developer fixes function naming bug in TinyFS-UNO open-source Arduino filesystem
A developer contributing to TinyFS-UNO, an open-source log-structured filesystem for the Arduino Uno's 1 KB EEPROM, discovered a build failure while compiling the project locally. The error occurred during the linking stage because the tfs_rename() function in tinyfs.c called tfs_read_file(), tfs_write_file(), and tfs_delete_file(), which do not exist in the codebase. The actual functions defined in the header and source files are tfs_read(), tfs_write(), and tfs_delete(), making the calls mismatched due to an extra '_file' suffix. The contributor identified the discrepancy with help from compiler warnings that suggested the correct function names. The fix involved replacing the three incorrect function calls with their properly named counterparts, resolving the build error.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in