From 77b5c47d7f04a83c3cad9b3d9e9be0e3910aa3aa Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 18 Feb 2019 09:43:15 -0500 Subject: [PATCH] STM32F7 disable d-cache as a precaution (#11374) - see 1259864 Data corruption in a sequence of Write-Through stores and loads - if we can be certain this sequence won't occur in PX4 then the d-cache will be re-enabled --- boards/av/x-v1/nuttx-config/nsh/defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boards/av/x-v1/nuttx-config/nsh/defconfig b/boards/av/x-v1/nuttx-config/nsh/defconfig index 98ac14e8fd..9463490e04 100644 --- a/boards/av/x-v1/nuttx-config/nsh/defconfig +++ b/boards/av/x-v1/nuttx-config/nsh/defconfig @@ -162,8 +162,7 @@ CONFIG_ARMV7M_HAVE_DCACHE=y CONFIG_ARMV7M_USEBASEPRI=y CONFIG_ARMV7M_BASEPRI_WAR=y CONFIG_ARMV7M_ICACHE=y -CONFIG_ARMV7M_DCACHE=y -CONFIG_ARMV7M_DCACHE_WRITETHROUGH=y +# CONFIG_ARMV7M_DCACHE is not set CONFIG_ARMV7M_HAVE_ITCM=y CONFIG_ARMV7M_HAVE_DTCM=y # CONFIG_ARMV7M_ITCM is not set