diff options
author | Dave Hodder <dave.hodder@focusrite.com> | 2016-02-12 18:06:50 +0000 |
---|---|---|
committer | Dave Hodder <dave.hodder@focusrite.com> | 2016-02-12 18:06:50 +0000 |
commit | 167a7dc6a753b5ba11c8c2ae2a365cec8656c171 (patch) | |
tree | ab89dcb74260171628ef12dce11f1ba6f8c64391 /tools | |
parent | 6edc776b3d0a33c1b59ed29d66570cc8b5bc74e2 (diff) | |
download | launchpad-polymaker-167a7dc6a753b5ba11c8c2ae2a365cec8656c171.tar.gz launchpad-polymaker-167a7dc6a753b5ba11c8c2ae2a365cec8656c171.zip |
single-page flash storage
Diffstat (limited to 'tools')
-rw-r--r-- | tools/simulator.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/simulator.c b/tools/simulator.c index 56298d7..0df95ab 100644 --- a/tools/simulator.c +++ b/tools/simulator.c | |||
@@ -57,6 +57,16 @@ void hal_send_sysex(u8 port, const u8* data, u16 length) | |||
57 | printf("...hal_send_midi(%d, (data), %d);\n", port, length); | 57 | printf("...hal_send_midi(%d, (data), %d);\n", port, length); |
58 | } | 58 | } |
59 | 59 | ||
60 | void hal_read_flash(u32 offset, u8 *data, u32 length) | ||
61 | { | ||
62 | printf("...hal_read_flash(%d, (data), %d);\n", offset, length); | ||
63 | } | ||
64 | |||
65 | void hal_write_flash(u32 offset,const u8 *data, u32 length) | ||
66 | { | ||
67 | printf("...hal_write_flash(%d, (data), %d);\n", offset, length); | ||
68 | } | ||
69 | |||
60 | // ____________________________________________________________________________ | 70 | // ____________________________________________________________________________ |
61 | // | 71 | // |
62 | // App event wrappers - these just log to the console. Would be nice to wire | 72 | // App event wrappers - these just log to the console. Would be nice to wire |