OpenEtherCATsociety / SOEM

Simple Open Source EtherCAT Master
Other
1.36k stars 687 forks source link

Update to support MSYS2/GCC #875

Open jalius opened 4 days ago

jalius commented 4 days ago

Adding build support for MSYS2/GCC and cleaning up some various build errors.

It now builds properly on MSYS2/GCC using cmake generators "MSYS Makefiles" and "Ninja".

I didn't get a chance to build it again with MSVC, so should probably do that before merging.

jalius commented 3 days ago

Wondering if we should change int osal_thread_create(void *thandle, int stacksize, void *func, void *param) parameter void *thandle to OSAL_THREAD_HANDLE *thandle for clarity in all implementations.