esp32cam: add fb location config option - #9630
Conversation
Introduced a configurable frame buffer location using the new camera_fb_location_t enum and CONF_FRAME_BUFFER_LOCATION setting, defaulting to PSRAM.
|
To use the changes from this PR as an external component, add the following to your ESPHome configuration YAML file: external_components:
- source: github://pr#9630
components: [esp32_camera]
refresh: 1h(Added by the PR bot) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #9630 +/- ##
==========================================
- Coverage 59.91% 59.87% -0.04%
==========================================
Files 50 50
Lines 10292 10292
Branches 1381 1381
==========================================
- Hits 6166 6162 -4
- Misses 3764 3767 +3
- Partials 362 363 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hello, |
|
Hello @Mmarsian, the change has been approved. This usually means it's merged for the next release. There was some holdup discussed in esphome/esphome.io#5115, but this has been resolved.
The workaround is described in the docs, but not very clearly. The "ESP32S3_EYE on Freenove ESP32-S3-DevKitC-1" example shows an external component which will change the location to DRAM. |
|
Thanks @RubenKelevra |
What does this implement/fix?
Introduced a configurable frame buffer location using the new camera_fb_location_t enum and CONF_FRAME_BUFFER_LOCATION setting, defaulting to PSRAM.
Requested by @jesserockz here
Types of changes
Related issue or feature (if applicable):
esp32_cameradifferences to ESPHome MichaKersloot/esphome_custom_components#2Pull request in esphome-docs with documentation (if applicable):
Test Environment
@MichaKersloot please review and test.
Checklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: