Zachary T Welch
0b7720d2ff
change #include "configuration.h" to <helper/configuration.h>
...
Changes from the flat namespace to heirarchical one. Instead of writing:
#include "configuration.h"
the following form should be used.
#include <helper/configuration.h>
The exception is from .c files in the same directory.
2009-12-03 04:22:51 -08:00
Zachary T Welch
eaf10f69de
remove BUILD_IOUTIL symbol
...
Add ioutil_stubs.c to provide an empty ioutil_init() routine.
Add ioutil.h to prevent applications from needing to declare it.
Allows unconditionally calling that function during startup, and the
resulting libocdhelper library API is now more stable.
Prints a DEBUG message when the stub implementation is included.
2009-12-02 13:26:26 -08:00
Øyvind Harboe
d84fead487
zy1000: keep up with startup refactoring work.
...
keep up with server_init() introduction.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-02 12:45:12 +01:00
Øyvind Harboe
445da543d8
zy1000: keep up with latest changes to command handling
...
Keep up with Jim Tcl interpreter creation cleanup.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-12-01 09:53:23 +01:00
Øyvind Harboe
46ed068bac
zy1000: keep up with changes to log_init()
...
fn's and return value for log_init() changed to void.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-27 19:42:38 +01:00
Zachary T Welch
833e7f5248
use COMMAND_REGISTER macro
...
Replaces direct calls to register_command() with a macro, to allow
its parameters to be changed and callers updated in phases.
2009-11-24 21:37:29 -08:00
Øyvind Harboe
5c4a73d0d8
zy1000: un-break uart command after command handler refactoring
...
Switched it to jim command to insulate it from command refactoring.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-22 13:46:42 +01:00
Øyvind Harboe
741cd3c3ab
zy1000: revC UART forwarding
...
Name of serial device differs between revB/C.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-17 15:04:17 +01:00
David Brownell
b695cb7522
#include "target.h" less wildly
...
Don't include "target.h" from more headers than necessary. This
avoids needless interdependencies and duplicated include paths.
Don't needlessly include it in source files, either.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 00:35:24 -08:00
David Brownell
1186f7efa7
target: less implicit inclusion of "command.h"
...
Lots of files still include it, often through needless
duplicate inclusion of "log.h"; sigh.
This cleans up the inclusion graph a bunch, so there are
fewer inclusion paths, but it doesn't change much otherwise.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-11-16 00:35:11 -08:00
Zachary T Welch
4088b1e622
add openocd.h for top-level declarations
...
Create src/openocd.h to hold declarations previously made internally
by src/main.c and src/server/server.c. This ensures all functions
are verified to be in-sync at compile time (rather than at link),
making it easier to track down bugs.
2009-11-14 07:29:16 -08:00
Zachary T Welch
98723c4ecd
command_context_t -> struct command_context
...
Remove misleading typedef and redundant suffix from struct command_context.
2009-11-13 13:25:47 -08:00
Zachary T Welch
ac927559c3
target_type_t -> struct target_type
...
Remove misleading typedef and redundant suffix from struct target_type.
2009-11-13 11:58:13 -08:00
Zachary T Welch
632fd663a8
flash_driver_t -> struct flash_driver
...
Remove misleading typedef and redundant suffix from struct flash_driver.
2009-11-13 11:58:06 -08:00
Øyvind Harboe
a5e396b964
warnings: remove
...
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
2009-11-05 09:03:24 +01:00
Øyvind Harboe
3537c368fe
disable ZY1000's UART forwarding test code.
2009-10-22 10:23:15 +02:00
Øyvind Harboe
a02411a15f
eCos synthetic target updates.
2009-10-21 12:02:04 +02:00
oharboe
40ac8d7753
increase pause before reboot so web interface remains responsive when issuing a reboot of zy1000
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2813 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 11:03:56 +00:00
oharboe
1dd302883d
prefix zy1000_reboot command to avoid name conflicts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2721 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-09-17 11:44:14 +00:00
oharboe
4b9bdd664a
David Brownell <david-b@pacbell.net> Be sure the built-in search paths always go *after* ones provided
...
on the command line ... matching comment in add_default_dirs().
Without this it's impossible to use a private config file which
happens to have the same name as an installed one. Say, because
you're bugfixing a private copy...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2649 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-08-30 17:27:50 +00:00
oharboe
8b994145b8
Andreas Fritiofson <andreas.fritiofson@gmail.com> UTF8 fixes
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2549 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-17 19:54:25 +00:00
oharboe
07f13dff2a
zy1000 now listens for port 1234. Upon accepting connection reboot zy1000.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2463 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-07-06 07:31:46 +00:00
zwelch
dc575dc5bf
Remove whitespace that occurs before ')'.
...
- Replace '[ \t]*[)]' with ')'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:47:42 +00:00
zwelch
f90d8fa45f
Remove whitespace that occurs after '('.
...
- Replace '([ \t]*' with '('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:46:23 +00:00
zwelch
fb1a9b2cb2
- Fixes '[|]' whitespace
...
- Replace ')\([|]\)(' with ') \1 ('.
- Replace ')\([|]\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\([|]\)(' with '\1 \2 ('.
- Replace '\(\w\)\([|]\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2374 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:45:15 +00:00
zwelch
84df52f9ea
- Fixes '=' whitespace
...
- Replace ')\(=\)\(\w\)' with ') \1 \2'.
- Replace '\(\w\)\(=\)(' with '\1 \2 ('.
- Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-23 22:42:54 +00:00
oharboe
13e592f9f6
less warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2291 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-19 09:09:25 +00:00
oharboe
8f87f8945e
less warnings
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2287 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-18 13:35:18 +00:00
oharboe
8d8937f1a6
dummy driver now works under eCos
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2268 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-17 10:51:34 +00:00
oharboe
eb9ecb8224
embedded host: launch telnet server even if configuration fails
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2198 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-11 13:03:32 +00:00
oharboe
af838b03a0
remove unused include file: strings.h
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@2073 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-06-05 06:42:20 +00:00
oharboe
dda225b7b3
leave eCos include file issues alone for now.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1723 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 07:26:11 +00:00
zwelch
f532c7faf8
Audit and eliminate redundant #include directives in main src/ files.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1716 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 05:00:17 +00:00
zwelch
490e271290
Remove redundant sys/types.h #include directives (now in types.h).
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-11 02:27:16 +00:00
oharboe
c7bbd9ac71
list board's as well as target config files.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1581 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-04-30 10:07:39 +00:00
kc8apf
c8bc0bb1ae
SVF player courtesy of Simon Qian <simonqian@SimonQian.com>
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1339 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 07:13:02 +00:00
oharboe
59ff8d24d8
moved ioutil init to the right spot: before config scripts
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1311 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 11:44:01 +00:00
oharboe
42532ddeaa
fixed warnings + added zy1000 jtag_add_clocks support.
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1309 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-09 10:12:43 +00:00
oharboe
bb56339761
houskeeping
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1255 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-17 13:39:40 +00:00
oharboe
a98e1094a0
sync up to tap_xxx rename + add with-ioutil for standalone openocd implemetnations
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1243 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 11:32:22 +00:00
oharboe
459d03e3bb
fast_load profiling tool moved to target.c
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1241 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-15 09:05:16 +00:00
oharboe
dacf9095fb
zy1000 1.48 snapshot
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1213 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 14:25:05 +00:00
oharboe
4231053a60
delete obsolete code
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1211 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-04 09:35:00 +00:00
oharboe
1006986ab1
update zy1000 to svn head jtag api
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1197 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 14:21:24 +00:00
oharboe
6e2dbdc3f7
wip
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1195 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-12-01 12:55:07 +00:00
oharboe
7765c63649
wip
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1184 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-26 13:31:26 +00:00
oharboe
1297aafb40
nios wip
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1165 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-13 08:03:15 +00:00
oharboe
6707cf5b9a
broadcast mac address in UDP hello message
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1152 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-10 10:58:20 +00:00
oharboe
d30b94d8df
terminal forwarding available from GUI
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1148 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-09 20:36:53 +00:00
oharboe
26095d6612
zy1000 1.47
...
git-svn-id: svn://svn.berlios.de/openocd/trunk@1145 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-11-07 09:19:06 +00:00