Commit 94a20be5 authored by George Wort's avatar George Wort

Align char array representing ROM for filesystem to the page size.

parent 26b1ecbe
......@@ -38,7 +38,7 @@ static inline char *roundup(char *addr, uint32_t align) {
return (char *)((((uint32_t)addr)+align-1)&(-align));
}
char rom[0x40000];
char rom[0x40000] __attribute__((aligned(MBED_CONF_APP_MICROBIT_PAGE_SIZE)));
/** The end of the code area in flash ROM (text plus read-only copy of data area) */
static inline char *microbit_end_of_code() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment