diff --git a/components/pthread/Kconfig b/components/pthread/Kconfig index 794f06bdb..61fa8a33e 100644 --- a/components/pthread/Kconfig +++ b/components/pthread/Kconfig @@ -13,7 +13,7 @@ menu "PThreads" help Stack size used to create new tasks with default pthread parameters. - config PTHREAD_STACK_MIN + config ESP32_PTHREAD_STACK_MIN int "Minimum allowed pthread stack size" default 768 help diff --git a/components/pthread/include/esp_pthread.h b/components/pthread/include/esp_pthread.h index 76f45a32a..ca93c9c38 100644 --- a/components/pthread/include/esp_pthread.h +++ b/components/pthread/include/esp_pthread.h @@ -22,7 +22,7 @@ extern "C" { #endif #ifndef PTHREAD_STACK_MIN -#define PTHREAD_STACK_MIN CONFIG_PTHREAD_STACK_MIN +#define PTHREAD_STACK_MIN CONFIG_ESP32_PTHREAD_STACK_MIN #endif /** pthread configuration structure that influences pthread creation */ diff --git a/components/pthread/sdkconfig.rename b/components/pthread/sdkconfig.rename new file mode 100644 index 000000000..b72b64707 --- /dev/null +++ b/components/pthread/sdkconfig.rename @@ -0,0 +1,4 @@ +# sdkconfig replacement configurations for deprecated options formatted as +# CONFIG_DEPRECATED_OPTION CONFIG_NEW_OPTION + +CONFIG_PTHREAD_STACK_MIN CONFIG_ESP32_PTHREAD_STACK_MIN