-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flashfs Loop recording and initial erase (#209)
* flashfs: add flashfs loop support and initial erase When using loop mode, we will identify the "start of the data stream" (by empty region followed by filled region). Also the usable size is reduced to `full size - page size - buffer size`. (The - buffer size is for code simplicity). The original FLASHFS_FREE_BLOCK_SIZE is changed to page size to avoid misalignment. A new option blackbox_initial_erase is added to maintain a certain amount of free space upon record start. This also add (change) some cli cmds for diagnoses: flash_fill flash_verify flash_erase_sector flashfs_initial_erase * Initial erase: change param unit to KiB Change `initialEraseFreeSpace` to `....KiB` and update unit tests.
- Loading branch information
1 parent
245a556
commit 5fc85a8
Showing
22 changed files
with
1,536 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,7 +110,6 @@ | |
|
||
#include "core.h" | ||
|
||
|
||
enum { | ||
ALIGN_GYRO = 0, | ||
ALIGN_ACCEL = 1, | ||
|
Oops, something went wrong.