Rename Kconfig options (components/pthread)

This commit is contained in:
Roland Dobai 2019-05-02 15:01:28 +02:00
parent 0ae53691ba
commit d61d58e78d
3 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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 */

View file

@ -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