Tamas TEVESZ
d045d8feec
New expand_tilde() utility function
...
Add new `expand_tilde' utility function which substitutes
leading `~/' for the current user's home directory in path
names; NB: returns a new string the caller must free when
it's not needed anymore.
2011-07-29 08:57:08 +12:00
Daniel Beer
df46811d2d
win32: catch Ctrl+C on console.
2011-07-27 03:46:29 +12:00
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
Daniel Beer
49ed2bb990
util: sigaction must be used under Cygwin.
2011-07-22 09:22:07 +12:00
Daniel Beer
75f893ef47
Tidy up long lines.
2011-07-18 15:00:17 +12:00
Daniel Beer
39d9f9e499
Extracted duplicate hexval().
2011-06-06 12:40:50 +12:00
Andrew Armenia
89520c052e
initial version of flash_bsl driver
...
This driver allows mspdebug to talk to the bootloader on a flash MSP430
via a serial port. DTR and RTS lines are used to control the TEST and
RST# pins on the MSP430, respectively. Currently, read and program are
supported. However, read is fairly useless because the driver currently
does not support any password other than the default. Thus it must
mass-erase the chip to gain access.
Read that again. USING THIS DRIVER WILL MASS ERASE YOUR CHIP IMMEDIATELY,
WITHOUT YOU ASKING FOR IT.
2010-09-23 13:35:33 +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
93c3cb342b
Remove redundant textlen() function.
2010-08-17 10:22:16 +12:00
Daniel Beer
a59d1dc73b
Bug fix: check file descriptor after opening serial device.
2010-08-13 19:08:37 +12:00
Daniel Beer
d543360bd0
Fixed bug preventing Ctrl+C from working properly.
2010-05-20 12:30:07 +12:00
Daniel Beer
c84f2ab579
Modifications to compile on Cygwin.
2010-05-13 16:45:38 +12:00
Daniel Beer
b8a3ef41c7
Use stdint.h instead of sys/types.h.
2010-05-13 12:57:21 +12:00
Daniel Beer
ba6e3366ff
Command processor is now an object.
2010-04-21 16:56:56 +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
8758d8bc28
Separated parsing from util.
2010-04-10 15:02:14 +12:00
Daniel Beer
7e309acdc5
Separated device commands.
2010-04-10 14:35:36 +12:00
Daniel Beer
a52ab171f3
Separated symbol commands from symbol table.
2010-04-10 14:00:00 +12:00
Daniel Beer
aecf8f0175
Address expressions are now fully algebraic.
2010-04-10 12:25:01 +12:00
Daniel Beer
b12e0f5ddb
Added RC file processing on startup.
2010-04-08 14:43:19 +12:00
Daniel Beer
ceb78ff053
Commands are now registered by each module.
2010-03-31 19:36:53 +13:00
Daniel Beer
f3c66c5aa4
Disassembly bug fixes.
2010-03-30 16:30:04 +13:00
Daniel Beer
01e26ce3a8
Merged parse.[ch] into util.[ch].
2010-03-30 15:54:03 +13:00
Daniel Beer
0d71fcef38
Implemented CPU core emulator.
2010-03-20 15:18:58 +13:00
Daniel Beer
1c1b6df2d4
Added more device IDs.
2010-03-17 18:26:14 +13:00
Daniel Beer
8ce134c04c
Extracted general IO routines from UIF.
2010-01-11 16:54:36 +13:00
Daniel Beer
22c0bbd28b
Fix device IDs.
2010-01-08 21:25:25 +13:00
Daniel Beer
e0055a9b68
Added CPU identification to BSL interface.
2010-01-08 20:19:53 +13:00
Daniel Beer
0f15fd3e21
Move utilities into separate file.
2010-01-08 18:15:30 +13:00