Update IDF to 9a26296

This commit is contained in:
me-no-dev
2017-09-12 09:40:52 +03:00
parent 0bce98e72c
commit ba929be27a
232 changed files with 6316 additions and 2105 deletions

View File

@ -210,6 +210,12 @@ extern "C" {
#endif /* __CYGWIN__ */
/* ESP-IDF-specific: enable pthreads support */
#ifdef __XTENSA__
#define _POSIX_THREADS 1
#define _UNIX98_THREAD_MUTEX_ATTRIBUTES 1
#endif
/* Per the permission given in POSIX.1-2008 section 2.2.1, define
* _POSIX_C_SOURCE if _XOPEN_SOURCE is defined and _POSIX_C_SOURCE is not.
* (_XOPEN_SOURCE indicates that XSI extensions are desired by an application.)

View File

@ -58,6 +58,8 @@ struct sched_param {
#endif
};
int sched_yield( void );
#ifdef __cplusplus
}
#endif

View File

@ -20,7 +20,7 @@ struct timeval {
};
/* BSD time macros used by RTEMS code */
#if defined (__rtems__) || defined (__CYGWIN__)
#if defined (__rtems__) || defined (__CYGWIN__) || defined(__XTENSA__)
/* Convenience macros for operations on timevals.
NOTE: `timercmp' does not work for >= or <=. */