This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 07ce0de Fix Added options for I-Cache & D-Cache broken on c101076704
07ce0de is described below
commit 07ce0deda0f0b579e985f1aca1574ee0a5e0a144
Author: David Sidrane <[email protected]>
AuthorDate: Mon Aug 17 11:56:53 2020 -0700
Fix Added options for I-Cache & D-Cache broken on c101076704
The Kconfig names were not updated to reflect FLASH. This
killed performance on F4 and F2.
---
arch/arm/src/stm32/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig
index ee1e732..f6de779 100644
--- a/arch/arm/src/stm32/Kconfig
+++ b/arch/arm/src/stm32/Kconfig
@@ -3359,14 +3359,14 @@ endmenu
config STM32_FLASH_ICACHE
bool "Enable FLASH Instruction Cache"
default y
- depends on STM32_HAVE_ICACHE
+ depends on STM32_HAVE_FLASH_ICACHE
---help---
Enable the FLASH instruction cache.
config STM32_FLASH_DCACHE
bool "Enable FLASH Data Cache"
default y
- depends on STM32_HAVE_DCACHE
+ depends on STM32_HAVE_FLASH_DCACHE
---help---
Enable the FLASH data cache.