summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/cam.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2025-02-16 20:17:43 +0100
committerUros Majstorovic <majstor@majstor.org>2025-02-16 20:17:43 +0100
commitd979b344e5d10c8ecb075554008b707c490db672 (patch)
tree9f3561e9bc9f42a375788c8680c7eabdeb8ea42a /fw/fe310/eos/dev/cam.h
parent2e17dd17ee9777084b2f211f08c4231dd5f8b906 (diff)
drivers made independent from microcontroller/osHEADmaster
Diffstat (limited to 'fw/fe310/eos/dev/cam.h')
-rw-r--r--fw/fe310/eos/dev/cam.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fw/fe310/eos/dev/cam.h b/fw/fe310/eos/dev/cam.h
new file mode 100644
index 0000000..5153464
--- /dev/null
+++ b/fw/fe310/eos/dev/cam.h
@@ -0,0 +1,14 @@
+#include "cam_def.h"
+#include "drv/ov2640.h"
+#include "drv/arducam.h"
+
+#define eos_cam_init ov2640_init
+#define eos_cam_set_pixfmt ov2640_set_pixfmt
+#define eos_cam_set_framesize ov2640_set_pixfmt
+
+#define eos_cam_capture arducam_capture
+#define eos_cam_capture_done arducam_capture_done
+#define eos_cam_capture_wait arducam_capture_wait
+#define eos_cam_fbuf_size arducam_fbuf_size
+#define eos_cam_fbuf_read arducam_fbuf_read
+#define eos_cam_fbuf_done arducam_fbuf_done