arch/arm/src/stm32l4: STM32L4+ might need flash data cache corruption workaround

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
Juha Niskanen 2022-03-02 09:51:27 +02:00 committed by Xiang Xiao
parent a50d87d5b7
commit 779665c704

View File

@ -1771,7 +1771,7 @@ config STM32L4_FLASH_PREFETCH
config STM32L4_FLASH_WORKAROUND_DATA_CACHE_CORRUPTION_ON_RWW
bool "Workaround for FLASH data cache corruption"
default n
depends on STM32L4_STM32L475XX || STM32L4_STM32L476XX || STM32L4_STM32L486XX || STM32L4_STM32L496XX || STM32L4_STM32L4A6XX
depends on STM32L4_STM32L4X5 || STM32L4_STM32L4X6 || STM32L4_STM32L4XR
---help---
Enable the workaround to fix flash data cache corruption when reading
from one flash bank while writing on other flash bank. See your STM32