Skip to content

I have problem with main.c #4

@shownb

Description

@shownb

software:
the newest Micropython
ESPIDF_SUPHASH_V3 := 143d26aa49df524e10fb8e41a71d12e731b9b71d
esp32-camera: https://github.com/tsaarni/esp32-camera-for-micropython (can not use newest esp32-camera from Espressif)

hardware: TTGO Camera Plus 8M spi ram.

if I complied the Micropython like that:

size_t mp_task_heap_size = 2 * 1024 * 1024;
void *mp_task_heap = malloc(mp_task_heap_size);

I can not use camera and webrepl together. it seems like that memory problem.

if I changed the main.c like original.it will be a little bit better.but I if I want to use webrepl,i still need to camera.deinit, otherwise I will halt at webrepl when I enter password.

I expect camera and webrepl work together. I expect even add one more st7789 module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions