Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Beer 9472dd46a9 Add support for OpenIndiana.
Based on changes suggested by Reginald Beardsley <pulaskite@yahoo.com>.
2014-07-05 10:35:07 +12:00
Tamas TEVESZ 6501828e2d DragonFly BSD bits in serial port and pif stuff
These bits should work the same as on FreeBSD.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>
2013-12-12 09:05:02 +13:00
Daniel Beer fa75aa0854 Fix Win32 event use.
Incorrect use of the Ctrl+C event can lead to busy-waiting in socket and
serial port IO.
2013-02-11 12:49:56 +13:00
Daniel Beer 611574cc86 sport: fix build on Windows. 2012-12-18 13:59:26 +12:00
Rob Spanton f94383d839 Add two missing includes to util.c
util.c was missing sys/select.h and sys/time.h.  On some platforms,
this lead to warnings.
2012-11-30 08:50:04 +13:00
Daniel Beer 8334f55418 Win32 fix-ups.
Fixed missing includes in low-level IO functions. Changed
implementation of condition variables to use kernel event objects, in
order to preserve compatibility with NT 5.1.
2012-10-09 16:34:33 +12:00
Daniel Beer 1de9e43187 Better Olimex compatibility.
Timeouts have been increased to 30 seconds. Reset is not sent until
after enabling power.
2012-09-28 06:37:32 +12:00
Daniel Beer a914bc732d Add support for building on Cygwin.
The symbol __Windows__ is defined when building a native (non-Cygwin)
binary.
2012-04-25 11:02:22 +12:00
Daniel Beer 94abe88bb1 Non-standard baud rates for FreeBSD, NetBSD.
This appears to work the same as it does for OpenBSD.
2012-03-03 09:57:48 +13:00
Daniel Beer 9cbe59d3e8 sport: add support for non-standard baud rates on OpenBSD. 2012-03-02 14:29:47 +13:00
Daniel Beer cf5b7f3399 Handle non-standard baud rates in sport_open().
This should allow the use of the Olimex MSP430-JTAG-ISO on Windows (and
other platforms, if handling is implemented).
2012-02-29 16:59:41 +13:00
Daniel Beer 68f968a637 sport: accept baud rates as a plain integer instead of a B* constant.
Integer baud rates are converted to B* constants in the implementation.
2012-02-29 16:29:00 +13:00
Daniel Beer a90a3ae86a sport: allow serial reads to be interrupted with Ctrl+C. 2011-09-19 09:51:19 +12:00
Daniel Beer d4fee98904 Restructuring: moved low-level utility code to util/ 2011-09-14 16:19:30 +12:00
Renamed from sport.c (Browse further)