1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

changed hardware definition for revolution to have usr space in just one arena

(no flash garbage collection since used primarily for logging where there are no deletes)
This commit is contained in:
Corvus Corax 2013-11-17 20:43:53 +01:00
parent fcc479f5cb
commit c7431623af

View File

@ -684,7 +684,7 @@ const struct pios_rfm22b_cfg *PIOS_BOARD_HW_DEFS_GetRfm22Cfg(uint32_t board_revi
static const struct flashfs_logfs_cfg flashfs_external_user_cfg = {
.fs_magic = 0x99abcdef,
.total_fs_size = 0x001C0000, /* 2M bytes (32 sectors = entire chip) */
.arena_size = 0x00010000, /* 256 * slot size */
.arena_size = 0x001C0000, /* full size, no garbage collection in usr */
.slot_size = 0x00000100, /* 256 bytes */
.start_offset = 0x40000, /* start offset */