circuitpython: espcamera IDFError with CP 9.0beta.0 -- works OK with CP 8.2.9
CircuitPython version
Adafruit CircuitPython 9.0.0-beta.0 on 2024-01-27; ESP32-S3-EYE with ESP32S3
Code/REPL
import board
import espcamera
cam = espcamera.Camera(
data_pins=board.CAMERA_DATA,
external_clock_pin=board.CAMERA_XCLK,
pixel_clock_pin=board.CAMERA_PCLK,
vsync_pin=board.CAMERA_VSYNC,
href_pin=board.CAMERA_HREF,
pixel_format=espcamera.PixelFormat.JPEG,
frame_size=espcamera.FrameSize.SVGA,
i2c=board.I2C(),
external_clock_frequency=20_000_000,
grab_mode=espcamera.GrabMode.WHEN_EMPTY)
cam.vflip = True
Behavior
Adafruit CircuitPython 9.0.0-beta.0 on 2024-01-27; ESP32-S3-EYE with ESP32S3
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Traceback (most recent call last):
File "code.py", line 15, in <module>
espidf.IDFError: Operation or feature not supported
Code done running.
Press any key to enter the REPL. Use CTRL-D to reload.
Description
I am trying to run the AIO webcam example from https://learn.adafruit.com/capturing-camera-images-with-circuitpython/example-webcam-with-adafruit-io but I have stripped open the code to produce this error when trying to initialized the espcamera.
The code runs OK on CP 8.2.9 (both the full code and the stripped down test)
Line 15 is
grab_mode=espcamera.GrabMode.WHEN_EMPTY)
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 5 months ago
- Comments: 34 (1 by maintainers)
@jerryneedell Yea I am always running the latest commit.
Also yes this board has a pmic and handles voltages with that library. This way this board supports quite a few sensors.
I do not have any camera breakouts, so idk either.