Skip to content

Commit bf31afd

Browse files
committed
Kconfig: esp32/freertos: add some missing dependencies
Signed-off-by: Mahavir Jain <[email protected]>
1 parent 3ede9f0 commit bf31afd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/esp32/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ endchoice
100100
config SPIRAM_MEMTEST
101101
bool "Run memory test on SPI RAM initialization"
102102
default "y"
103+
depends on SPIRAM_BOOT_INIT
103104
help
104105
Runs a rudimentary memory test on initialization. Aborts when memory test fails. Disable this for
105106
slightly faster startop.

components/freertos/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ config FREERTOS_USE_TRACE_FACILITY
295295

296296
config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
297297
bool "Enable FreeRTOS stats formatting functions"
298-
depends on FREERTOS_USE_TRACE_FACILITY || FREERTOS_GENERATE_RUN_TIME_STATS
298+
depends on FREERTOS_USE_TRACE_FACILITY
299299
default n
300300
help
301301
If enabled, configUSE_STATS_FORMATTING_FUNCTIONS will be defined as 1 in
@@ -305,6 +305,8 @@ config FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
305305
config FREERTOS_GENERATE_RUN_TIME_STATS
306306
bool "Enable FreeRTOS to collect run time stats"
307307
default n
308+
select FREERTOS_USE_TRACE_FACILITY
309+
select FREERTOS_USE_STATS_FORMATTING_FUNCTIONS
308310
help
309311
If enabled, configGENERATE_RUN_TIME_STATS will be defined as 1 in
310312
FreeRTOS. This will allow FreeRTOS to collect information regarding the

0 commit comments

Comments
 (0)