Ryan Malloy a7f62e5d7e Add Silicon Labs CP210x manufacturing library source
- Library source from AN721SW (cp210xmanufacturing_1.0.tar.gz)
- Manufacturing tool source (cp210xsmt)
- Builds 64-bit shared library with: make LIB_ARCH=64
- Datasheets and app notes in docs/
2026-01-30 10:31:39 -07:00

32 lines
689 B
C

/////////////////////////////////////////////////////////////////////////////
// CCriticalSectionLock
/////////////////////////////////////////////////////////////////////////////
#ifndef __OS_DEP_H__
#define __OS_DEP_H__
#if defined(_WIN32)
#include "Types.h"
#else
#if defined(__APPLE__)
#include <CoreServices/CoreServices.h>
#include <pthread.h>
#include "Types.h"
#elif defined(__linux__)
#include "Types.h"
#include <pthread.h>
#include <string.h>
#include <unistd.h>
#else
#error "error: Unsupported OS type"
#endif
DWORD GetTickCount();
void Sleep(DWORD msec);
#endif // defined(_WIN32)
#include "CriticalSectionLock.h"
#endif // __OS_DEP_H__