aboutsummaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
authorGareth McMullin2012-04-22 12:22:08 +1200
committerGareth McMullin2012-04-22 12:27:18 +1200
commit86626085d80b63171593e588a6915a91eb5633fd (patch)
treeee132c848adfc186bd3ec44d10c19c82fc8ca365 /src/command.c
parentb39572e17c5b1de096c0b2a5d1ae025dac8c802e (diff)
Fixed TRACESWO capture.
'mon traceswo' reports serial number and interface/endpoint no for libusb. Interrupt priorities set so TIM3 for trace is highest priority. Increased trace endpoint packet size to 64. Buffer many trace packets into a single usb packet. Stall on overflow. Fixed stop bit detection in TIM3 interrupt handler.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.c b/src/command.c
index 1efae36..a9f3d02 100644
--- a/src/command.c
+++ b/src/command.c
@@ -166,6 +166,8 @@ void cmd_morse(void)
static void cmd_traceswo(void)
{
+ extern char serial_no[9];
traceswo_init();
+ gdb_outf("%s:%02X:%02X\n", serial_no, 5, 0x85);
}