mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-24 03:55:27 +08:00
Revert "Merge branch 'feature/support_gcc_v8.x' into 'master'"
This reverts merge request !1539
This commit is contained in:
@@ -133,7 +133,11 @@ NVIC value of 255. */
|
||||
* 1: pthread (optional)
|
||||
* 2: errno
|
||||
*/
|
||||
#ifdef CONFIG_ENABLE_PTHREAD
|
||||
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 3
|
||||
#else
|
||||
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS 2
|
||||
#endif
|
||||
#define configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS 1
|
||||
|
||||
/* add this to dump task stack information */
|
||||
|
@@ -42,11 +42,15 @@ extern "C" {
|
||||
#include "xtensa_rtos.h"
|
||||
|
||||
#if defined(configUSE_NEWLIB_REENTRANT) && configUSE_NEWLIB_REENTRANT == 1
|
||||
#ifndef CONFIG_NEWLIB_LIBRARY_CUSTOMER
|
||||
#include "esp_newlib.h"
|
||||
|
||||
#define _impure_ptr _global_impure_ptr
|
||||
|
||||
#undef _REENT_INIT_PTR
|
||||
#define _REENT_INIT_PTR(p) esp_reent_init(p)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* Port specific definitions.
|
||||
|
Reference in New Issue
Block a user