rd to avoid
duplicating everything. However, there are a couple of parts where it would
be unavoidable, specificly the Thumb assembly functions. There are also are
some more sutle differences (reset handleing, registers, tracing support,
interrupts) but none of them are too dramatic.
Thanks,
le of
changes to the reset and interrupt code. Unfortunately, I'm not terribly
familiar with the openocd source, so I'm sure that what I've written so far
will have to be improved. The code (at least for my purposes) does work
quite well however, so hopefully any bugs will be mi
adapter_khz_to_speed wasn't changing the speed variable passed to it if the
jtag interface wasn't set up. Otherwise, if adapter_khz was called before
openocd was done initializing, openocd would report a speed different than
it was actually outputting.
Tested on SAM3s_ek board with an olimex-arm-u