feat: add multi-file SD card storage and new sync method#4479
feat: add multi-file SD card storage and new sync method#4479TuEmb wants to merge 8 commits intoBasedHardware:mainfrom
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a significant and complex feature: multi-file SD card storage using timestamped filenames and a new synchronization protocol. The changes are extensive, touching storage, SD card, and RTC logic. While the overall direction is good, I've identified several critical and high-severity issues that need to be addressed. A critical bug prevents audio from being recorded before the RTC is synced, leading to data loss. Additionally, there are bugs related to incomplete data synchronization and incorrect file handling due to case sensitivity in filenames, which will cause files to be missed during sync and statistics reporting.
0b8c957 to
169fcec
Compare
|
/gemini |
|
Thank you for submitting this pull request, Overall, the changes introduce robust multi-file handling, which is a great improvement for offline storage and data synchronization. I have a few comments and suggestions to enhance correctness, efficiency, and maintainability. Summary of Key Improvements:
Detailed Review Comments:
|
|
Hi @TuEmb — could you add test steps or demo evidence (screenshot/video) to the PR description? This is a significant feature (multi-file SD card storage) and reviewers need to see it working. Thanks! |
Solved #4429 #4351 #4213 #4101 #4052