freertos Kconfig: Thread local storage pointer feature required for WiFi or Ethernet

This commit is contained in:
Angus Gratton 2017-02-28 10:59:23 +11:00
parent 47a5851d45
commit d0f8fb9b93

View 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"