From b8fc0c951160af354cc5994ff6b2d117d54eb384 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 6 Sep 2016 11:15:28 +1000 Subject: [PATCH] FreeRTOS thread local storage config: If using WiFi this must be >0 --- components/freertos/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/freertos/Kconfig b/components/freertos/Kconfig index a9068d1174..e6da7777c8 100644 --- a/components/freertos/Kconfig +++ b/components/freertos/Kconfig @@ -75,13 +75,16 @@ endchoice config FREERTOS_THREAD_LOCAL_STORAGE_POINTERS int "Amount of thread local storage pointers" - range 0 256 - default 0 + range 0 256 if !WIFI_ENABLED + range 1 256 if WIFI_ENABLED + 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. + If using the WiFi stack, this value must be at least 1. + #This still needs to be implemented. choice FREERTOS_PANIC prompt "Panic handler behaviour"