flashcmd: Force word alignment of page_buffer
The stm32 flash code requires a page_buffer alignment. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
1 parent
6c82de6e47
commit
566e9ccf3a
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ DECL_TASK(complete_task);
|
||||
* Flash commands
|
||||
****************************************************************/
|
||||
|
||||
static uint8_t page_buffer[CONFIG_MAX_FLASH_PAGE_SIZE];
|
||||
static uint8_t page_buffer[CONFIG_MAX_FLASH_PAGE_SIZE] __aligned(4);
|
||||
// Page Tracking
|
||||
static uint32_t last_page_address = 0;
|
||||
static uint8_t page_pending = 0;
|
||||
|
||||
Reference in new issue
Block a user