mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
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
This commit is contained in:
parent
7d6e7bb402
commit
9edda8d013
@ -29,10 +29,10 @@
|
||||
#else
|
||||
/* Test mock object implementing a simple RAM-based mtd */
|
||||
#ifndef SECTOR_COUNT
|
||||
#define SECTOR_COUNT 8
|
||||
#define SECTOR_COUNT 4
|
||||
#endif
|
||||
#ifndef PAGE_PER_SECTOR
|
||||
#define PAGE_PER_SECTOR 4
|
||||
#define PAGE_PER_SECTOR 8
|
||||
#endif
|
||||
#ifndef PAGE_SIZE
|
||||
#define PAGE_SIZE 128
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user