lemariva / micropython-camera-driver

add camera support to MicroPython
https://lemariva.com
Apache License 2.0
422 stars 92 forks source link

M5camera: GPIO isr service already installed #39

Open pavelrevak opened 2 years ago

pavelrevak commented 2 years ago
MicroPython v1.18-74-gfeeeb5ea3 on 2022-02-02; ESP32-cam module (i2s) with ESP32
Type "help()" for more information.
>>> import camera
>>> camera.init(0, d0=32, d1=35, d2=34, d3=5, d4=39, d5=18, d6=36, d7=19, format=camera.JPEG, framesize=camera.FRAME_VGA, xclk_freq=camera.XCLK_10MHz, href=26, vsync=25, reset=15, sioc=23, siod=22, xclk=27, pclk=21, fb_location=camera.PSRAM)
E (101420) gpio: gpio_install_isr_service(449): GPIO isr service already installed
True
>>> buf = camera.capture()
E (153140) camera: Camera Capture Failed
>>> buf
False

old version was working: MicroPython v1.14-122-g9fef1c0bd-dirty on 2021-03-30; Camera Module (i2s) with ESP32

NojiriKeishi commented 1 year ago

I have the same problem. Which is "camera: Camera Capture Failed". So, M5-TimerCamera doesn't work on MicroPython. The old version was working? I can't build a farm for 'micropython-camera-driver' using MicroPython v1.14. I'm getting an error in the environment settings.

Makefile:132: boards/boards/ESP32_CAM/sdkconfig.esp32cam: No such file or directory
make: *** No rule to make target 'boards/boards/ESP32_CAM/sdkconfig.esp32cam'. Stop.

Even if I solve this problem, I get an error, and I feel that the version is not the same in the first place. Please let me know if there is a version or method that can successfully build "MicroPython" and "micropython-camera-driver" with M5TimerCamera.