You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tekker Hi, tekker, I have a NodeMCU-32S based on ESP32 and an OV7670 camera. I am using the newest ESP-IDF , all compiles cleanly and when I flash/run, the log shows: DisplayBuffer is null!!(in camera.c), unless i change currFbPtr=pvPortMallocCaps(3202402, MALLOC_CAP_32BIT); (in app_main.c) to currFbPtr=pvPortMallocCaps(1601202, MALLOC_CAP_32BIT);
and i add some codes to make a test:
size_t free8start=0, free32start=0, free8=0, free32=0;
@tekker Hi, tekker, I have a NodeMCU-32S based on ESP32 and an OV7670 camera. I am using the newest ESP-IDF , all compiles cleanly and when I flash/run, the log shows: DisplayBuffer is null!!(in camera.c), unless i change currFbPtr=pvPortMallocCaps(3202402, MALLOC_CAP_32BIT); (in app_main.c) to currFbPtr=pvPortMallocCaps(1601202, MALLOC_CAP_32BIT);
and i add some codes to make a test:
size_t free8start=0, free32start=0, free8=0, free32=0;
it print:
Free (largest free blocks) 8bit-capable memory : 144272, 32-bit capable memory 144272
Free (min free size) 8bit-capable memory : 272396, 32-bit capable memory 338868
i think it's
3202402=153600>144272 that make pvPortMallocCaps(3202402, MALLOC_CAP_32BIT) return NULL
Have you meet this issues?
The text was updated successfully, but these errors were encountered: