Commit e56e5a39 authored by Simon Barner's avatar Simon Barner Committed by Andreas Fritiofson
Browse files

arm-jtag-ew: Send GDB keep_alive() messages when logging USB communication

- Ticket: #35
parent 830e76fe
......@@ -847,6 +847,9 @@ static void armjtagew_debug_buffer(uint8_t *buffer, int length)
strcat(line, s);
}
LOG_DEBUG("%s", line);
// Prevent GDB timeout (writing to log might take some time)
keep_alive();
}
}
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment