aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'laser-tag software/flash.h')
-rw-r--r--laser-tag software/flash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/laser-tag software/flash.h b/laser-tag software/flash.h
index a5c06f1..8bf15db 100644
--- a/laser-tag software/flash.h
+++ b/laser-tag software/flash.h
@@ -1,6 +1,12 @@
#ifndef _FLASH_H_
#define _FLASH_H_
+#include <stdint.h>
+
+#define IMAGE_COUNT (5)
+extern uint8_t *images[IMAGE_COUNT];
+
int flash_init();
+int flash_write(uint32_t addr, uint8_t *data, uint32_t len);
#endif