]> granicus.if.org Git - esp-idf/commitdiff
Rename Kconfig options (components/pthread)
authorRoland Dobai <dobai.roland@gmail.com>
Thu, 2 May 2019 13:01:28 +0000 (15:01 +0200)
committerRoland Dobai <dobai.roland@gmail.com>
Tue, 21 May 2019 07:09:01 +0000 (09:09 +0200)
components/pthread/Kconfig
components/pthread/include/esp_pthread.h
components/pthread/sdkconfig.rename [new file with mode: 0644]

index 794f06bdb663ae1df288cf3820abf0a7736a4368..61fa8a33e695a98dbd9dcc166d0e0b252fd91cd0 100644 (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
index 76f45a32abd582ff1f304835c18272193d989777..ca93c9c3805c775c99589aca0516cecc1bb648de 100644 (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 */
diff --git a/components/pthread/sdkconfig.rename b/components/pthread/sdkconfig.rename
new file mode 100644 (file)
index 0000000..b72b647
--- /dev/null
@@ -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