]> granicus.if.org Git - esp-idf/commitdiff
freertos Kconfig: Thread local storage pointer feature required for WiFi or Ethernet
authorAngus Gratton <angus@espressif.com>
Mon, 27 Feb 2017 23:59:23 +0000 (10:59 +1100)
committerAngus Gratton <angus@espressif.com>
Mon, 27 Feb 2017 23:59:23 +0000 (10:59 +1100)
components/freertos/Kconfig

index 04821cd5fcc37a1f1dd81e21867fcc67c003e04f..b4bcfc3fe13daffb93a0103bc48f957daf06998d 100644 (file)
@@ -95,16 +95,19 @@ config FREERTOS_WATCHPOINT_END_OF_STACK
         will panic on an unhandled debug exception.
 
 config FREERTOS_THREAD_LOCAL_STORAGE_POINTERS
-    int "Amount of thread local storage pointers"
-    range 0 256 if !WIFI_ENABLED
-    range 1 256 if WIFI_ENABLED
+    int "Number of thread local storage pointers"
+    range 0 256 if !(WIFI_ENABLED || ETHERNET)
+    range 1 256 if WIFI_ENABLED || ETHERNET
     default 1
     help
         FreeRTOS has the ability to store per-thread pointers in the task
-        control block. This controls the amount of pointers available;
-        0 turns off this functionality.
+        control block. This controls the number of pointers available.
 
-        If using the WiFi stack, this value must be at least 1.
+        Value 0 turns off this functionality.
+
+        If using the LWIP TCP/IP stack (with WiFi or Ethernet), this value must be at least 1. See the
+        LWIP_THREAD_LOCAL_STORAGE_INDEX config item in LWIP configuration to determine which thread-local-storage
+        pointer is reserved for LWIP.
 
 choice FREERTOS_ASSERT
     prompt "FreeRTOS assertions"