summaryrefslogtreecommitdiff
path: root/reset-controller/fw/src/mspdebug_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'reset-controller/fw/src/mspdebug_wrapper.h')
-rw-r--r--reset-controller/fw/src/mspdebug_wrapper.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/reset-controller/fw/src/mspdebug_wrapper.h b/reset-controller/fw/src/mspdebug_wrapper.h
new file mode 100644
index 0000000..c3f5ac7
--- /dev/null
+++ b/reset-controller/fw/src/mspdebug_wrapper.h
@@ -0,0 +1,7 @@
+#ifndef __MSPDEBUG_WRAPPER_H__
+#define __MSPDEBUG_WRAPPER_H__
+
+void mspd_jtag_init(void);
+int mspd_jtag_flash_and_reset(size_t img_start, size_t img_len, ssize_t (*read_block)(void *usr, int addr, size_t len, uint8_t *out), void *usr);
+
+#endif /* __MSPDEBUG_WRAPPER_H__ */