From bf31afd2c38a38693bafc10ac3de3390451ee18f Mon Sep 17 00:00:00 2001 From: Mahavir Jain Date: Wed, 21 Feb 2018 12:31:10 +0530 Subject: [PATCH] Kconfig: esp32/freertos: add some missing dependencies Signed-off-by: Mahavir Jain --- components/esp32/Kconfig | 1 + components/freertos/Kconfig | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 4eb961c07d..afa3e5618a 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -100,6 +100,7 @@ endchoice config SPIRAM_MEMTEST bool "Run memory test on SPI RAM initialization" default "y" + depends on SPIRAM_BOOT_INIT help Runs a rudimentary memory test on initialization. Aborts when memory test fails. Disable this for slightly faster startop. diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index 6e56174db9..26a2e16839 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -295,7 +295,7 @@ config FREERTOS_USE_TRACE_FACILITY config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS bool "Enable FreeRTOS stats formatting functions" - depends on FREERTOS_USE_TRACE_FACILITY || FREERTOS_GENERATE_RUN_TIME_STATS + depends on FREERTOS_USE_TRACE_FACILITY default n help If enabled, configUSE_STATS_FORMATTING_FUNCTIONS will be defined as 1 in @@ -305,6 +305,8 @@ config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS config FREERTOS_GENERATE_RUN_TIME_STATS bool "Enable FreeRTOS to collect run time stats" default n + select FREERTOS_USE_TRACE_FACILITY + select FREERTOS_USE_STATS_FORMATTING_FUNCTIONS help If enabled, configGENERATE_RUN_TIME_STATS will be defined as 1 in FreeRTOS. This will allow FreeRTOS to collect information regarding the