Revert change in types.h for INTIME_RTOS. HAVE_THREAD_LS is not supported here, so don’t define out. Added note in INtime RTOS user_settings.h to indicate this.

This commit is contained in:
David Garske
2017-03-13 20:03:09 -07:00
parent 8a562c817c
commit 2fbce65975
2 changed files with 2 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ extern "C" {
/* if using in single threaded mode */ /* if using in single threaded mode */
#undef SINGLE_THREADED #undef SINGLE_THREADED
//#define SINGLE_THREADED //#define SINGLE_THREADED
/* Note: HAVE_THREAD_LS is not support for INtime RTOS */
/* reduces stack usage, by using malloc/free for stack variables over 100 bytes */ /* reduces stack usage, by using malloc/free for stack variables over 100 bytes */
#undef WOLFSSL_SMALL_STACK #undef WOLFSSL_SMALL_STACK

View File

@@ -149,10 +149,7 @@
/* set up thread local storage if available */ /* set up thread local storage if available */
#ifdef HAVE_THREAD_LS #ifdef HAVE_THREAD_LS
#if defined(INTIME_RTOS) #if defined(_MSC_VER)
/* Thread local storage not supported */
#define THREAD_LS_T
#elif defined(_MSC_VER)
#define THREAD_LS_T __declspec(thread) #define THREAD_LS_T __declspec(thread)
/* Thread local storage only in FreeRTOS v8.2.1 and higher */ /* Thread local storage only in FreeRTOS v8.2.1 and higher */
#elif defined(FREERTOS) #elif defined(FREERTOS)