summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDave Hodder <dave.hodder@focusrite.com>2016-02-12 18:06:50 +0000
committerDave Hodder <dave.hodder@focusrite.com>2016-02-12 18:06:50 +0000
commit167a7dc6a753b5ba11c8c2ae2a365cec8656c171 (patch)
treeab89dcb74260171628ef12dce11f1ba6f8c64391 /tools
parent6edc776b3d0a33c1b59ed29d66570cc8b5bc74e2 (diff)
downloadlaunchpad-polymaker-167a7dc6a753b5ba11c8c2ae2a365cec8656c171.tar.gz
launchpad-polymaker-167a7dc6a753b5ba11c8c2ae2a365cec8656c171.zip
single-page flash storage
Diffstat (limited to 'tools')
-rw-r--r--tools/simulator.c10
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
60void hal_read_flash(u32 offset, u8 *data, u32 length)
61{
62 printf("...hal_read_flash(%d, (data), %d);\n", offset, length);
63}
64
65void 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