Skip to content

I have problem with main.c #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shownb opened this issue Feb 16, 2020 · 0 comments
Open

I have problem with main.c #4

shownb opened this issue Feb 16, 2020 · 0 comments

Comments

@shownb
Copy link

shownb commented Feb 16, 2020

software:
the newest Micropython
ESPIDF_SUPHASH_V3 := 143d26aa49df524e10fb8e41a71d12e731b9b71d
esp32-camera: https://git.1-hub.cntsaarni/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.

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

No branches or pull requests

1 participant