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