mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
unittests/flashpage: force uniform flashpage layout
The unittest for flashpage only checks the inline flashpage_ functions with the assumption that the flashpage layout is uniform. This commit undefines the macro guarding those functions to force them to be included even when the flashpage peripheral defines own implementations.
This commit is contained in:
parent
2bcddba5ca
commit
f5b6ebf1cb
@ -27,6 +27,9 @@
|
|||||||
#define FLASHPAGE_NUMOF 128
|
#define FLASHPAGE_NUMOF 128
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* fake uniform flashpage sizes for devices that don't have it */
|
||||||
|
#undef PERIPH_FLASHPAGE_CUSTOM_PAGESIZES
|
||||||
|
|
||||||
#include "periph/flashpage.h"
|
#include "periph/flashpage.h"
|
||||||
|
|
||||||
static void test_flashbase_addr(void)
|
static void test_flashbase_addr(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user