Port of TI's CC3100 Websock camera demo. Using FreeRTOS, mbedTLS, also parts of Arducam for cams ov5642 and 0v2640. Can also use MT9D111. Work in progress. Be warned some parts maybe a bit flacky. This is for Seeed Arch max only, for an M3, see the demo for CM3 using the 0v5642 aducam mini.

Dependencies:   mbed

Revision:
21:38c6b11aa348
Parent:
14:90603ea1e85b
--- a/camera_app/camera_app.h	Sat Sep 12 22:38:40 2015 +0000
+++ b/camera_app/camera_app.h	Tue Sep 15 15:39:38 2015 +0000
@@ -60,8 +60,8 @@
 extern int PIXELS_IN_X_AXIS; 
 extern int PIXELS_IN_X_AXIS;
 extern int FRAME_SIZE_IN_BYTES;
-//#define NUM_OF_1KB_BUFFERS      50
-#define NUM_OF_1KB_BUFFERS      51//50
+
+#define NUM_OF_1KB_BUFFERS      25
 
 
 #define BYTES_PER_PIXEL             (2)       // RGB 565 
@@ -69,7 +69,6 @@
 #define ONE_KB                      (1024)
 #define IMAGE_BUF_SIZE              (ONE_KB * NUM_OF_1KB_BUFFERS)
 
-//#define NUM_OF_4B_CHUNKS            ((IMAGE_BUF_SIZE)/(sizeof(unsigned int)))
 #define NUM_OF_4B_CHUNKS            ((IMAGE_BUF_SIZE - ONE_KB)/(sizeof(unsigned int)))
 #define NUM_OF_1KB_CHUNKS           (IMAGE_BUF_SIZE/ONE_KB)
 #define NUM_OF_4B_CHUNKS_IN_1KB     (ONE_KB/(sizeof(unsigned int)))