Skip to content
Commit 2ea4516a authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Carles Cufí
Browse files

drivers/flash: stm32g0: Prepare for unaligned accesses in flash writes



When using the settings subsystem, the data argument argument passed to
flash_stm32_write_range() might not be 8-bytes aligned, causing an
unaligned memory access fault.

Fix that the same way as it was done for the STM32L4 in commit
652efa53.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent dada9ea5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment