-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Objective: Verify log file size limits and file rotation for sd card logging mode work properly
Procedure:
- Modify SD card capacity calculation (calculateFileLimits) to a smaller limit (500mb would take days, reduce it to simulate the capacity limit)
- Remove all files off SD card to start fresh
- Run device for extended period
- Stop device, examine SD card
Expected Results:
- ✓ Max file size = 10% of usable SD capacity (accounting for 5% FAT
overhead) - ✓ Files don't exceed [predefined KB/MB size] capacity
- ✓ New files are created when limit reached (validate existing files are at the maximum file size)
Code Reference: ws_sdcard.cpp
Reactions are currently unavailable