Revert "Merge branch 'feature/support_gcc_v8.x' into 'master'"

This reverts merge request !1539
This commit is contained in:
Dong Heng
2020-09-29 17:25:55 +08:00
parent 70b26d8a2d
commit ed68a21f62
155 changed files with 15402 additions and 308 deletions

View File

@@ -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 */

View File

@@ -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.