mirror of
https://github.com/andreili/katapult.git
synced 2025-08-23 19:34:06 +02:00
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:
parent
6c82de6e47
commit
566e9ccf3a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user