12345678910111213141516171819202122232425262728293031323334353637 |
- #ifdef UA_ARCHITECTURE_FREERTOSLWIP
- #ifndef PLUGINS_ARCH_FREERTOSLWIP_UA_ARCHITECTURE_H_
- #define PLUGINS_ARCH_FREERTOSLWIP_UA_ARCHITECTURE_H_
- #include "ua_lwip.h"
- #include "ua_freeRTOS.h"
- #if UA_MULTITHREADING >= 100
- #error Multithreading unsupported
- #else
- #define UA_LOCK_TYPE(mutexName)
- #define UA_LOCK_TYPE_POINTER(mutexName)
- #define UA_LOCK_INIT(mutexName)
- #define UA_LOCK_DESTROY(mutexName)
- #define UA_LOCK(mutexName)
- #define UA_UNLOCK(mutexName)
- #define UA_LOCK_ASSERT(mutexName, num)
- #endif
- #undef UA_HAS_GETIFADDR
- #include <open62541/architecture_functions.h>
- #endif
- #endif
|