zephyr/drivers/flash
Erwan Gouriou 652efa530f drivers/flash: stm32l4: Prepare for unaligned accesses in flash writes
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>
2019-03-15 06:43:24 -05:00
..
CMakeLists.txt
flash_gecko.c
flash_handlers.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
flash_page_layout.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
flash_priv.h
flash_sam.c
flash_sam0.c
flash_shell.c
flash_stm32.c drivers/flash: stm32f3/stm32f1: define flash registers as volatile 2019-03-15 06:43:24 -05:00
flash_stm32.h
flash_stm32f3x.c drivers/flash: stm32f3/stm32f1: define flash registers as volatile 2019-03-15 06:43:24 -05:00
flash_stm32f4x.c
flash_stm32f7x.c
flash_stm32f0x.c
flash_stm32l4x.c drivers/flash: stm32l4: Prepare for unaligned accesses in flash writes 2019-03-15 06:43:24 -05:00
Kconfig kconfig: Use depend on instead of select to avoid kconfig loop 2019-03-12 19:42:40 +01:00
Kconfig.gecko
Kconfig.mcux
Kconfig.nios2_qspi
Kconfig.nor
Kconfig.nrf drivers: nrf5: Don't force specific drivers from soc/arm/nordic_nrf 2019-03-12 19:42:40 +01:00
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 device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
spi_flash_w25qxxdv_defs.h
spi_flash_w25qxxdv.c
spi_flash_w25qxxdv.h
spi_nor.c
spi_nor.h