aboutsummaryrefslogtreecommitdiff
path: root/src/stm32/traceswo.h
diff options
context:
space:
mode:
authorGareth McMullin2012-04-17 21:40:39 +1200
committerGareth McMullin2012-04-18 19:15:44 +1200
commit21ecbd23ea6ea3c3f72ad9c45d9be3e6e8b7c4f7 (patch)
tree3bce8158a70899170b596bd13b16620a580a724f /src/stm32/traceswo.h
parent9cff48dc6b065afe60cf696fcff1ebd822bfce3b (diff)
Added capture of SWO, passed to host over a vendor specific USB interface.
Diffstat (limited to 'src/stm32/traceswo.h')
-rw-r--r--src/stm32/traceswo.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/stm32/traceswo.h b/src/stm32/traceswo.h
new file mode 100644
index 0000000..c5bc0e5
--- /dev/null
+++ b/src/stm32/traceswo.h
@@ -0,0 +1,27 @@
+/*
+ * This file is part of the Black Magic Debug project.
+ *
+ * Copyright (C) 2012 Black Sphere Technologies Ltd.
+ * Written by Gareth McMullin <gareth@blacksphere.co.nz>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef __TRACESWO_H
+#define __TRACESWO_H
+
+void traceswo_init(void);
+void trace_buf_drain(uint8_t ep);
+
+#endif
+