feat: add camera sensor bf3005 support (#350)

BF3005 is a VGA CMOS Image Sensor.
The sensor is well stocked and comes with a series of image processing functions.
The support for this sensor is added here to facilitate the use of this sensor by more people. PTAL,Thanks.
This commit is contained in:
yuxinwww
2022-01-18 22:43:42 +08:00
committed by GitHub
parent 99fe5ae956
commit 49edbbfac0
9 changed files with 930 additions and 1 deletions

View File

@ -54,7 +54,9 @@
#if CONFIG_GC0308_SUPPORT
#include "gc0308.h"
#endif
#if CONFIG_BF3005_SUPPORT
#include "bf3005.h"
#endif
#if defined(ARDUINO_ARCH_ESP32) && defined(CONFIG_ARDUHAL_ESP_LOG)
#include "esp32-hal-log.h"
@ -114,6 +116,9 @@ static const sensor_func_t g_sensors[] = {
#if CONFIG_GC0308_SUPPORT
{gc0308_detect, gc0308_init},
#endif
#if CONFIG_BF3005_SUPPORT
{bf3005_detect, bf3005_init},
#endif
};
static esp_err_t camera_probe(const camera_config_t *config, camera_model_t *out_camera_model)