mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 23:11:57 +00:00
On STM32L4, flash writes operations are performed 8 bytes at a time. Though, it is possible that *data in flash_write functions is not aligned. To avoid issues, use UNALIGNED_GET macro to access *data. Issue has been detected using settings subsystem on STM32WB, which has same 8bytes write block size. The patch is extended to STM32L4 series for same reason. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
flash_gecko.c | ||
flash_handlers.c | ||
flash_page_layout.c | ||
flash_priv.h | ||
flash_sam.c | ||
flash_sam0.c | ||
flash_shell.c | ||
flash_stm32.c | ||
flash_stm32.h | ||
flash_stm32f3x.c | ||
flash_stm32f4x.c | ||
flash_stm32f7x.c | ||
flash_stm32f0x.c | ||
flash_stm32l4x.c | ||
Kconfig | ||
Kconfig.gecko | ||
Kconfig.mcux | ||
Kconfig.nios2_qspi | ||
Kconfig.nor | ||
Kconfig.nrf | ||
Kconfig.qmsi | ||
Kconfig.sam | ||
Kconfig.sam0 | ||
Kconfig.stm32 | ||
Kconfig.w25qxxdv | ||
soc_flash_mcux.c | ||
soc_flash_nios2_qspi.c | ||
soc_flash_nrf.c | ||
soc_flash_qmsi.c | ||
spi_flash_w25qxxdv_defs.h | ||
spi_flash_w25qxxdv.c | ||
spi_flash_w25qxxdv.h | ||
spi_nor.c | ||
spi_nor.h |