cpu/native: flashpage: sector-slign the flashpage area
This commit is contained in:
parent
177f73c789
commit
033c0110d0
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user