From c6031ed9632f422b269eb40e648a787e61dd11da Mon Sep 17 00:00:00 2001 From: Corvus Corax Date: Sun, 17 Nov 2013 21:03:08 +0100 Subject: [PATCH] fixed usr flash system definition --- flight/targets/boards/revolution/board_hw_defs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flight/targets/boards/revolution/board_hw_defs.c b/flight/targets/boards/revolution/board_hw_defs.c index 02b8126e2..78d106cbc 100644 --- a/flight/targets/boards/revolution/board_hw_defs.c +++ b/flight/targets/boards/revolution/board_hw_defs.c @@ -682,12 +682,12 @@ const struct pios_rfm22b_cfg *PIOS_BOARD_HW_DEFS_GetRfm22Cfg(uint32_t board_revi #include "pios_flash_internal_priv.h" static const struct flashfs_logfs_cfg flashfs_external_user_cfg = { - .fs_magic = 0x99abcdef, + .fs_magic = 0x99abceff, .total_fs_size = 0x001C0000, /* 2M bytes (32 sectors = entire chip) */ - .arena_size = 0x001C0000, /* full size, no garbage collection in usr */ + .arena_size = 0x000E0000, /* biggest possible arena size fssize/2 */ .slot_size = 0x00000100, /* 256 bytes */ - .start_offset = 0x40000, /* start offset */ + .start_offset = 0x00040000, /* start offset */ .sector_size = 0x00010000, /* 64K bytes */ .page_size = 0x00000100, /* 256 bytes */ };