Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Beer 07780ff11f Fixed error reporting for Win32. 2011-07-27 01:56:45 +12:00
Daniel Beer a81043a656 Now compiling with MinGW.
- implemented Win32 serial IO
  - added Winsock init/exit
  - added missing strsep()
  - minor API fixups
2011-07-27 01:23:16 +12:00
Daniel Beer b8dd765a5b sport: serial IO abstraction layer. 2011-07-27 11:26:02 +12:00
Tamas TEVESZ ea0c4d6720 Preprocessor related fix-ups.
- olimex.c, rf2500.c, uif.c:
    add missing includes for malloc(), free() and atoi().
  - uif.c: define serial port speeds based on need, not platform.
  - uif.c: if !__linux__, stub open_olimex_iso() is not needed.
2011-07-26 08:54:03 +12:00
Jasper Lievisse Adriaanse 5e5b118e74 open_olimex_iso() will only work on Linux, so don't bother calling it on non-Linux platforms. 2011-04-04 08:32:34 +12:00
Jasper Lievisse Adriaanse d8afaf3537 Olimex ISO will only work on Linux.
Adjust #define's accordingly, instead of saying where it won't work.
2010-12-06 12:28:08 +13:00
Jasper Lievisse Adriaanse 810c2b7c93 Add __OpenBSD__ where applicable. 2010-12-06 12:24:40 +13:00
Daniel Beer a08d11b25b Fixed build on OS/X. 2010-11-13 13:18:33 +13:00
Daniel Beer 1570f3cbdd Support for Olimex MSP430-JTAG-ISO. 2010-11-09 09:16:31 +13:00
Daniel Beer 0a3d1c9e11 Show difference between UIF and Olimex when opening serial. 2010-08-31 09:31:50 +12:00
Daniel Beer 87f89adc44 All output now goes through buffering/filtering.
The following substitutions have been made:

    printf -> printc
    fprintf(stderr, ...) -> printc_err(...)
    perror -> pr_error
2010-08-17 11:07:03 +12:00
Daniel Beer cf4ec417ff Added support for Olimex MSP430-JTAG-TINY. 2010-06-15 14:53:38 +12:00
Daniel Beer 7703c34664 Further modifications for OS/X.
Don't rely on install -D, and define B460800 before using it if
compiling on OS/X.
2010-05-26 11:17:45 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer c981893254 Transports are now objects. 2010-04-30 16:57:57 +12:00
Daniel Beer 90d39a96f5 Move some unrelated functions out of parse.c 2010-04-21 14:12:12 +12:00
Daniel Beer 40d299d001 Colorize some more output. 2010-04-10 16:41:57 +12:00
Daniel Beer 8ce134c04c Extracted general IO routines from UIF. 2010-01-11 16:54:36 +13:00
Daniel Beer b20a7a5576 Fix up copyright messages. 2010-01-08 21:17:24 +13:00
Daniel Beer e0055a9b68 Added CPU identification to BSL interface. 2010-01-08 20:19:53 +13:00
Daniel Beer 1baa04a565 Implemented FET bootloader support (memory read only). 2010-01-08 18:39:07 +13:00
Daniel Beer 0f15fd3e21 Move utilities into separate file. 2010-01-08 18:15:30 +13:00
Daniel Beer 7505ce654d Separated transport handling from FET control. 2010-01-06 14:51:04 +13:00
Daniel Beer 1d3b4f3f81 Added ELF support, made all buffers u_int8_t. 2010-01-05 17:21:45 +13:00
Daniel Beer cc917bbda6 Merge one-liner header files together. 2010-01-05 14:34:41 +13:00
Daniel Beer 18af13e017 Added JTAG support. 2010-01-04 22:39:25 +13:00
Daniel Beer 3e0f736e1d Implemented UIF support (untested).
RF2500 support is tested and still working.
2009-11-17 15:11:46 +13:00