Fix esp-camera. 32 was dropped so the path doesn't have esp32 in it.
This commit is contained in:
parent
5937f4c0c0
commit
cb6b4d0d4a
@ -275,8 +275,8 @@ SRC_CAMERA := \
|
||||
$(wildcard common-hal/espcamera/*.c) \
|
||||
$(wildcard bindings/espcamera/*.c)
|
||||
SRC_C += $(SRC_CAMERA)
|
||||
CFLAGS += -isystem esp32-camera/driver/include
|
||||
CFLAGS += -isystem esp32-camera/conversions/include
|
||||
CFLAGS += -isystem esp-camera/driver/include
|
||||
CFLAGS += -isystem esp-camera/conversions/include
|
||||
endif
|
||||
|
||||
ifneq ($(CIRCUITPY_ESPIDF),0)
|
||||
@ -436,7 +436,7 @@ ESP_IDF_COMPONENTS_EXPANDED += esp-idf/components/xtensa/$(IDF_TARGET)/libxt_hal
|
||||
endif
|
||||
|
||||
ifneq ($(CIRCUITPY_ESPCAMERA),0)
|
||||
ESP_IDF_COMPONENTS_EXPANDED += $(BUILD)/esp-idf/esp-idf/esp32-camera/libesp32-camera.a
|
||||
ESP_IDF_COMPONENTS_EXPANDED += $(BUILD)/esp-idf/esp-idf/esp-camera/libesp-camera.a
|
||||
#$(error $(ESP_IDF_COMPONENTS_EXPANDED))
|
||||
endif
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "shared-bindings/util.h"
|
||||
#include "common-hal/microcontroller/Pin.h"
|
||||
|
||||
#include "esp32-camera/driver/private_include/cam_hal.h"
|
||||
#include "esp-camera/driver/private_include/cam_hal.h"
|
||||
|
||||
#if !CONFIG_SPIRAM
|
||||
#error espcamera only works on boards configured with spiram, disable it in mpconfigboard.mk
|
||||
|
@ -1 +1,2 @@
|
||||
CONFIG_SPIRAM_MODE_QUAD=y
|
||||
# CONFIG_SPIRAM_MODE_OCT is not set
|
||||
|
Loading…
Reference in New Issue
Block a user