Fix bl808 types

This commit is contained in:
Paul Pan 2023-02-01 16:54:10 +08:00
parent b0b52ee0cd
commit 06b4e233ec

View File

@ -31,7 +31,17 @@
#ifndef _FREERTOS_POSIX_PORTABLE_H_
#define _FREERTOS_POSIX_PORTABLE_H_
/* This port uses the defaults in FreeRTOS_POSIX_portable_default.h, so this
* file is empty. */
/* Xuantie Toolchain defines the following types. */
#define posixconfigENABLE_CLOCK_T 0
#define posixconfigENABLE_CLOCKID_T 0
#define posixconfigENABLE_MODE_T 0
#define posixconfigENABLE_SSIZE_T 0
#define posixconfigENABLE_TIME_T 0
#define posixconfigENABLE_TIMESPEC 0
#define posixconfigENABLE_ITIMERSPEC 0
/* Hacking on GNU types */
#define __timer_t_defined
#define posixconfigENABLE_TIMER_T 1
#endif /* _FREERTOS_POSIX_PORTABLE_H_ */