> The file event code needs work(posted to jim-devel), but the
> timer event stuff should be fine. I added one cast from void
> * to FILE * to make it compile under Cygwin...
>
> > one issue is we cannot use select on a std file descriptor,
> eg. stdin,
> > stdout etc.
>
> I suggest that we s
> i can fix the errors (include replacements.h and cast Jim_FileEvent->handle)
> but have no idea what it all should do.
> should handle be a void* ?
The file event code needs work(posted to jim-devel), but the timer event stuff
should be fine. I added one cast from void * to FILE * to make it com
> Did you use cygwin or mingw?
i test using mingw, cygwin and linux.
issue above is with mingw.
This is what i sent to Øyvind.
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src
-I../../src/target -DPKGDATADIR=\"/usr/local/share/openocd\"
-DPKGLIBDIR=\"/usr/local/lib/openocd\"-O0
On Fri, Aug 8, 2008 at 9:21 AM, David Kuehling <[EMAIL PROTECTED]> wrote:
>> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes:
>
>> Committed.
>>> Most of the 'target_script' functionality seems to be unavailable in
>>> SVN head. The only target script that is actually called in the
>>> so
> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes:
> Committed.
>> Most of the 'target_script' functionality seems to be unavailable in
>> SVN head. The only target script that is actually called in the
>> sources is 'pre_resume'. Neither 'post_halt' nor 'reset' seem
>> supported.
> Pl
> "Spen" == Spen <[EMAIL PROTECTED]> writes:
>>
>> If you find flaws with my patch, please tell me and I'll be happy to
>> fix/rewrite whatever is wrong.
>>
> This breaks win32 build, any ideas?
Can you post the full output of the compilation? Thinking about windows
compatability I alrea
>
> so here's a first patch that adds the jim-eventloop
> functionality to openocd. Seems to work stably so far, but
> unfortunately openocd has some bugs/regressions that make it
> impossible to continously service the watchdog while halted:
>
> Most of the 'target_script' functionality seem
Committed.
> Most of the 'target_script' functionality seems to be unavailable in SVN
> head. The only target script that is actually called in the sources is
> 'pre_resume'. Neither 'post_halt' nor 'reset' seem supported.
Please explain?
post/pre_reset are used. See target/lpc2148.cfg as an e
Hi,
so here's a first patch that adds the jim-eventloop functionality to
openocd. Seems to work stably so far, but unfortunately openocd has
some bugs/regressions that make it impossible to continously service the
watchdog while halted:
Most of the 'target_script' functionality seems to be unava