From d0f8fb9b939a9850763b7c3f90dc21346f567842 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 28 Feb 2017 10:59:23 +1100 Subject: [PATCH] freertos Kconfig: Thread local storage pointer feature required for WiFi or Ethernet --- components/freertos/Kconfig | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index 04821cd5fc..b4bcfc3fe1 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -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"