Am 01.04.2013 02:59 schrieb Stefan Tauner:
On Thu, 3 Jan 2013 21:37:18 +0100 Stefan Tauner stefan.tauner@student.tuwien.ac.at wrote:
Developing cross-platform is great! If you look at 1/7 and have to puke, please don't blame me. I got the win32 calls right eventually and tested this with wine and my serprog flasher (which uses serial over USB). I repeat: I used serial over USB inside wine to talk serprog. haha. Tests with programmers using serial.c (e.g. buspirate) on all platforms warmly welcomed.
Stefan Tauner (7): serial.c: abstract system error printing. serial.c: round baudrates to valid ones. Replace sp_sync_read_timeout() with serialport_read_nonblock(). Introduce serialport_write_nonblock(). Replace native calls in serprog with wrapper calls. serial.c: be more pedantic. Enable serprog on Windows.
Self-acked and committed in r1659 to r1665 after testing it on real windows too.
Thanks a lot for this patch set! I saw the horror of handling the equivalent of strerror() on Windows, and it made me shudder.
Regards, Carl-Daniel