diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index 62641b434d..7f2888763f 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -1661,7 +1661,7 @@ config STM32_CCMEXCLUDE config STM32_CCM_PROCFS bool "CCM PROCFS support" default n - depends on STM32_CCMEXCLUDE && MM_MULTIHEAP && FS_PROCFS + depends on STM32_CCMEXCLUDE && FS_PROCFS ---help--- Select to build in support for /proc/ccm. Reading from /proc/ccm will provide statistics about CCM memory use similar to what you diff --git a/arch/arm/src/stm32/stm32_ccm.h b/arch/arm/src/stm32/stm32_ccm.h index 1314210635..9b5041bc1e 100755 --- a/arch/arm/src/stm32/stm32_ccm.h +++ b/arch/arm/src/stm32/stm32_ccm.h @@ -66,10 +66,10 @@ #endif /* In order to use the CCM heap, it had to have been excluded from the main - * heap and support for multiple heaps must have been enabled. + * heap. */ -#if !defined(CONFIG_STM32_CCMEXCLUDE) || !defined(CONFIG_MM_MULTIHEAP) +#ifndef CONFIG_STM32_CCMEXCLUDE # undef HAVE_CCM_HEAP #endif