feat(pthread): Modify for ESP8266

This commit is contained in:
Dong Heng
2018-08-27 11:54:55 +08:00
parent e492bda28c
commit 1fc474b8c9
15 changed files with 75 additions and 221 deletions

View File

@ -152,7 +152,11 @@ NVIC value of 255. */
#define configUSE_NEWLIB_REENTRANT 1
#endif
#ifdef CONFIG_ENABLE_PTHREAD
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 2
#else
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 1
#endif
#define configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS 1
/* add this to dump task stack information */