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
Jolan
a7a71b993f
Flush output buffer at each line
2012-03-02 11:20:56 -08: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
Wayne Uroda
ceaad88279
Added missing define for B115200 on WIN32 platform
2012-01-04 15:24:51 +13:00
Daniel Beer
f4de94bd46
Show summary after successful programming.
...
Also, treat failure to reset afterwards as a warning, rather than a
fatal error.
2011-12-27 12:58:28 +13:00
Tamas TEVESZ
e014e4c6d5
Modernise decl styles
2011-11-16 08:42:45 +13:00
Tamas TEVESZ
d98d990752
Kill unused variables
...
Mark those that are unused but can't be killed accordingly.
2011-11-15 09:26:35 +13:00
Tamas TEVESZ
b77a482d7d
Kill unneeded include.
2011-11-14 11:47:14 +13:00
Tamas TEVESZ
2fe1580843
Kill "unsigned op 0" comparisons
...
- simio/simio.c, simio/simio_gpio.c, simio_timer.c, simio_tracer.c, util/dis.c
Kill unused variables
- util/expr.c, util/output_util.c
2011-11-13 16:46:33 +13:00
Daniel Beer
8e4df67ff5
dynload: fix Win32 build warning.
2011-10-18 00:42:01 +13:00
Daniel Beer
69a5593fe4
Added portable dynamic loader interface.
...
Not yet tested on Win32.
2011-10-14 12:12:14 +13:00
Daniel Beer
57999b3790
Added portable mutex wrapper.
2011-10-14 12:10:48 +13:00
Daniel Beer
18e3fbac74
Display section names when programming.
...
The binfile extraction and programming code is now aware of section
names when dealing with ELF32 files. The names are displayed when
programming, and chunks in different sections aren't combined, even if
they're contiguous.
2011-10-12 13:52:56 +13:00
Daniel Beer
2528e2a752
expand_tilde: use strdup() instead of malloc()/strcpy().
...
The OpenBSD linker complains about the reference to strcpy(). Pointed
out by Jasper Lievisse Adriaanse <jasper@openbsd.org>.
2011-10-04 10:28:24 +13:00
Daniel Beer
b3ffff5945
win32: protect access to ctrlc_flag with critical section.
...
On Windows, console handlers are run in a separate thread, without
actually interrupting the main thread.
2011-09-19 04:33:58 +12:00
Daniel Beer
a90a3ae86a
sport: allow serial reads to be interrupted with Ctrl+C.
2011-09-19 09:51:19 +12:00
Daniel Beer
7de9854661
Implemented TI3410 transport.
...
This allows direct libusb access to FET430UIF and eZ430 devices. It
doesn't yet implement the initial firmware download required to get
the 3410 working.
2011-09-16 14:40:40 +12:00
Daniel Beer
d4fee98904
Restructuring: moved low-level utility code to util/
2011-09-14 16:19:30 +12:00