Skip to content
Snippets Groups Projects
Commit 9edda8d0 authored by Vincent Dupont's avatar Vincent Dupont
Browse files

unittests/tests-spiffs: fix dummy memory layout

Use 8 pages per sector to comply with spiffs requirements:
 - page_size must be block_size / (2^y) where y > 2
parent 7d6e7bb4
No related branches found
No related tags found
No related merge requests found
...@@ -29,10 +29,10 @@ ...@@ -29,10 +29,10 @@
#else #else
/* Test mock object implementing a simple RAM-based mtd */ /* Test mock object implementing a simple RAM-based mtd */
#ifndef SECTOR_COUNT #ifndef SECTOR_COUNT
#define SECTOR_COUNT 8 #define SECTOR_COUNT 4
#endif #endif
#ifndef PAGE_PER_SECTOR #ifndef PAGE_PER_SECTOR
#define PAGE_PER_SECTOR 4 #define PAGE_PER_SECTOR 8
#endif #endif
#ifndef PAGE_SIZE #ifndef PAGE_SIZE
#define PAGE_SIZE 128 #define PAGE_SIZE 128
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment