Skip to content

Conversation

@casten
Copy link
Contributor

@casten casten commented Apr 11, 2025

Changes to Adafruit_CircuitPython_OV5640 doubled the memory usage for a given quality setting.
This makes the latest release of in CircuitPython incompatible with the previous settings of:

  • quality setting=3
  • colorspace=adafruit_ov5640.OV5640_COLOR_JPEG

due to that working out an an allocation size of 204800. This is too much for the first Pico.
Here is the breaking change:

Quality 4 is still too large at 153,600 bytes.
Quality 5 using 122,880 works.

Successfully Tested on:

  • Pico
  • Pico W
  • Pico 2
  • Pico 2 W

Note that Pico 2's could handle quality 3. May follow up with a subsequent PR that automatically picks the best quality for arbitrary platforms.

Changes to Adafruit_CircuitPython_OV5640 doubled the memory usage for a given quality setting.  This makes the latest release of in CircuitPython incompatible with the previous quality setting=3
 + colorspace=adafruit_ov5640.OV5640_COLOR_JPEG due to that working out an an allocation size of 204800.  This is too much for the first Pico.
Here is the breaking change:
adafruit/Adafruit_CircuitPython_OV5640#35
Quality 4 is still too large at 153,600 bytes.
Quality 5 using 122,880 works.
@dhalbert dhalbert requested a review from BlitzCityDIY April 13, 2025 22:54
@dhalbert
Copy link
Contributor

@BlitzCityDIY This is in your guide.

@BlitzCityDIY BlitzCityDIY merged commit c9b7193 into adafruit:main Apr 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants