arm-jtag-ew: Send GDB keep_alive() messages when logging USB communication
- Ticket: #35
This commit is contained in:
parent
830e76fecd
commit
e56e5a3929
src/jtag/drivers
|
@ -847,6 +847,9 @@ static void armjtagew_debug_buffer(uint8_t *buffer, int length)
|
||||||
strcat(line, s);
|
strcat(line, s);
|
||||||
}
|
}
|
||||||
LOG_DEBUG("%s", line);
|
LOG_DEBUG("%s", line);
|
||||||
|
|
||||||
|
// Prevent GDB timeout (writing to log might take some time)
|
||||||
|
keep_alive();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue