From 031380141d9d000ceab505845ed2b723cb597774 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 24 Feb 2020 20:19:40 +0100 Subject: controller-fw: initial jtag programming draft --- controller/fw/mspdebug_wrapper.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 controller/fw/mspdebug_wrapper.h (limited to 'controller/fw/mspdebug_wrapper.h') 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__ */ -- cgit