macOS doesn't use .so libraries, so had to change the cmake to point to the .dylib instead. Also macOS doesn't have /proc/serial/drivers so added an overly simple directory enumeration for /dev/cu.* devices so it can find macOS serial ports.
It compiles and runs, and things seem to happen. I'm not sure it's working properly, but at least others can test on macOS if anyone cares.
This is the first time I've touched C++ so...
Oh, work done on an M1 Mac MacBook Pro under Sonoma, but it should be fine on an older x64 Macs as well.
macOS doesn't use .so libraries, so had to change the cmake to point to the .dylib instead. Also macOS doesn't have /proc/serial/drivers so added an overly simple directory enumeration for /dev/cu.* devices so it can find macOS serial ports.
It compiles and runs, and things seem to happen. I'm not sure it's working properly, but at least others can test on macOS if anyone cares.
This is the first time I've touched C++ so...
Oh, work done on an M1 Mac MacBook Pro under Sonoma, but it should be fine on an older x64 Macs as well.