Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
utils/app_config.h
- Committer:
- dflet
- Date:
- 2015-08-25
- Revision:
- 14:90603ea1e85b
- Parent:
- 13:bf45f592c2b6
- Child:
- 15:5433f9d94cd7
File content as of revision 14:90603ea1e85b:
#ifndef app_config_H
#define app_config_H
//*****************************************************************************
//
// If building with a C++ compiler, make all of the definitions in this header
// have a C binding.
//
//*****************************************************************************
#ifdef __cplusplus
extern "C"
{
#endif
#define ENABLE_JPEG
//#define MT9D111_CAM
//#define OV5642_CAM
#define OV2640_CAM
//#define XGA_FRAME
//#define VGA_FRAME
#define QVGA_FRAME
//#define QCIF_FRAME
#ifdef MT9D111_CAM
#define sensor_addr 0x0
#endif
#ifdef OV2640_CAM
//#define sensor_addr ((0x60 << 1))
#define sensor_addr 0x60
#endif
#ifdef OV5642_CAM
#define sensor_addr 0x78
#endif
#define SPAWN_TASK_PRIORITY 7//9
#define HTTP_SERVER_APP_TASK_PRIORITY 5//1
#define CAMERA_SERVICE_PRIORITY 5
#define OSI_STACK_SIZE 8 * 1024
//*****************************************************************************
//
// Mark the end of the C bindings section for C++ compilers.
//
//*****************************************************************************
#ifdef __cplusplus
}
#endif
#endif