diff options
Diffstat (limited to 'controller/fw/src/mspdebug_wrapper.h')
-rw-r--r-- | controller/fw/src/mspdebug_wrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/fw/src/mspdebug_wrapper.h b/controller/fw/src/mspdebug_wrapper.h index 245d9fb..c3f5ac7 100644 --- a/controller/fw/src/mspdebug_wrapper.h +++ b/controller/fw/src/mspdebug_wrapper.h @@ -1,6 +1,7 @@ #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)); +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__ */ |