diff --git a/subsys/disk/disk_access_flash.c b/subsys/disk/disk_access_flash.c index 026d1e91a78..d58c7a8e9db 100644 --- a/subsys/disk/disk_access_flash.c +++ b/subsys/disk/disk_access_flash.c @@ -19,7 +19,7 @@ static struct device *flash_dev; /* flash read-copy-erase-write operation */ -static u8_t read_copy_buf[CONFIG_DISK_ERASE_BLOCK_SIZE]; +static u8_t __aligned(4) read_copy_buf[CONFIG_DISK_ERASE_BLOCK_SIZE]; static u8_t *fs_buff = read_copy_buf; /* calculate number of blocks required for a given size */