mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(freertos): hide mutex-owner check config
This commit is contained in:
@@ -417,14 +417,11 @@ menu "FreeRTOS"
|
||||
hook function in their application.
|
||||
|
||||
config FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER
|
||||
# This feature is innately supported in FreeRTOS SMP, and hence not available as a config option when
|
||||
# FreeRTOS SMP is enabled.
|
||||
# TODO(IDF-15523): Remove this hidden compatibility option entirely.
|
||||
# This feature is innately supported in FreeRTOS SMP, and IDF FreeRTOS always enables it.
|
||||
depends on !FREERTOS_SMP
|
||||
bool "Check that mutex semaphore is given by owner task"
|
||||
bool
|
||||
default y
|
||||
help
|
||||
If enabled, assert that when a mutex semaphore is given, the task giving the semaphore is the task
|
||||
which is currently holding the mutex.
|
||||
|
||||
config FREERTOS_ISR_STACKSIZE
|
||||
int "ISR stack size"
|
||||
|
||||
@@ -289,9 +289,6 @@
|
||||
#ifdef CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS
|
||||
#define configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS 1
|
||||
#endif /* CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS */
|
||||
#if CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER
|
||||
#define configCHECK_MUTEX_GIVEN_BY_OWNER 1
|
||||
#endif /* CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER */
|
||||
#endif /* !CONFIG_FREERTOS_SMP */
|
||||
|
||||
/* ------------------------------------------------ ESP-IDF Additions --------------------------------------------------
|
||||
|
||||
@@ -96,8 +96,5 @@ CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER=y
|
||||
# Thread local storage deletion callbacks
|
||||
CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS=y
|
||||
|
||||
# Mutex owner check
|
||||
CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
|
||||
|
||||
# Port critical compliance check
|
||||
CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE=y
|
||||
|
||||
Reference in New Issue
Block a user