add Mutex type for CMSIS RTOSv2

This commit is contained in:
Takashi Kojo
2019-02-18 06:45:01 +09:00
parent 1c6911634c
commit f3c2125259

View File

@@ -179,6 +179,8 @@
#endif #endif
#elif defined(WOLFSSL_CMSIS_RTOS) #elif defined(WOLFSSL_CMSIS_RTOS)
typedef osMutexId wolfSSL_Mutex; typedef osMutexId wolfSSL_Mutex;
#elif defined(WOLFSSL_CMSIS_RTOSv2)
typedef osMutexId_t wolfSSL_Mutex;
#elif defined(WOLFSSL_TIRTOS) #elif defined(WOLFSSL_TIRTOS)
typedef ti_sysbios_knl_Semaphore_Handle wolfSSL_Mutex; typedef ti_sysbios_knl_Semaphore_Handle wolfSSL_Mutex;
#elif defined(WOLFSSL_FROSTED) #elif defined(WOLFSSL_FROSTED)