1
0
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:
Vincent Dupont 2017-05-10 17:44:59 +02:00
parent 7d6e7bb402
commit 9edda8d013

View File

@ -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