|
META TOPICPARENT |
name="WebHome" |
The ESP32-CAM module
Introduction |
|
As you can see, it points to the esp-idf to be used, and it makes sure that the correct idf.py, which is stored in esp-idf/tools, is found in the execution path. |
|
> > | Reserving some space in SPIRAM for the image buffer
Standard MicroPython uses all the SPIRAM for its heap. This results in an error when the esp32 camera driver tries to allocate space in SPIRAM for its image buffer. I therefore modified the MicroPython sources to keep some free space for the camera driver. Here is the part I modified in main.c. As you can see, 256 kBytes are reserved.
After this modification, you may follow the description in https://lemariva.com/blog/2020/06/micropython-support-cameras-m5camera-esp32-cam-etc (DIY from Scratch) for the modifications to lv_micropython needed in order to produce an interpreter with the camera driver included. |
|
-- Uli Raich - 2021-10-21 |
|
META FILEATTACHMENT |
attachment="esp32-cam-mb.png" attr="" comment="" date="1634807001" name="esp32-cam-mb.png" path="esp32-cam-mb.png" size="166874" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="esp32-who.png" attr="" comment="" date="1634807361" name="esp32-who.png" path="esp32-who.png" size="25884" user="UliRaich" version="1" |
META FILEATTACHMENT |
attachment="setupForCamera.png" attr="" comment="" date="1634810268" name="setupForCamera.png" path="setupForCamera.png" size="22985" user="UliRaich" version="1" |
|
|
> > |
META FILEATTACHMENT |
attachment="esp32-cam_imgbuf.png" attr="" comment="" date="1637008974" name="esp32-cam_imgbuf.png" path="esp32-cam_imgbuf.png" size="72024" user="UliRaich" version="1" |
|