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.
app_config.h
00001 00002 #ifndef app_config_H 00003 #define app_config_H 00004 00005 //***************************************************************************** 00006 // 00007 // If building with a C++ compiler, make all of the definitions in this header 00008 // have a C binding. 00009 // 00010 //***************************************************************************** 00011 #ifdef __cplusplus 00012 extern "C" 00013 { 00014 #endif 00015 00016 #define ENABLE_JPEG 00017 #define MT9D111_CAM 00018 //#define OV5642_CAM 00019 //#define OV2640_CAM 00020 00021 //#define XGA_FRAME 00022 //#define VGA_FRAME 00023 #define QVGA_FRAME 00024 //#define QCIF_FRAME 00025 00026 #ifdef MT9D111_CAM 00027 #define sensor_addr 0xBA//Dummy 00028 #endif 00029 #ifdef OV2640_CAM 00030 #define sensor_addr 0x60 00031 #endif 00032 #ifdef OV5642_CAM 00033 #define sensor_addr 0x78 00034 #endif 00035 00036 #define SPAWN_TASK_PRIORITY 9//9 00037 #define HTTP_SERVER_APP_TASK_PRIORITY 3//1 00038 #define CAMERA_SERVICE_PRIORITY 3 00039 #define OSI_STACK_SIZE 8 * 1024 00040 00041 //***************************************************************************** 00042 // 00043 // Mark the end of the C bindings section for C++ compilers. 00044 // 00045 //***************************************************************************** 00046 #ifdef __cplusplus 00047 } 00048 #endif 00049 00050 #endif 00051 00052
Generated on Tue Jul 12 2022 22:22:37 by 1.7.2