cpu/native: flashpage: sector-slign the flashpage area

This commit is contained in:
Benjamin Valentin 2021-02-17 11:15:55 +01:00
parent 177f73c789
commit 033c0110d0

View File

@ -24,9 +24,10 @@
#include "cpu.h"
#include "periph/flashpage.h"
#define ENABLE_DEBUG (0)
#define ENABLE_DEBUG 0
#include "debug.h"
__attribute__((aligned(FLASHPAGE_SIZE * FLASHPAGE_NUMOF)))
char _native_flash[FLASHPAGE_SIZE * FLASHPAGE_NUMOF];
void flashpage_erase(unsigned page)