Page 1 of 1

esp32-c3 MemoryError: memory allocation failed, allocating 7848 bytes

Posted: Mon May 09, 2022 10:09 am
by domenico64
esp32-c3 with micropython-1.18

Using the dmp for the mpu 9250 I get the error "memory allocation failed"
Is it possible to read the "dmpMemory" 1962 byte from flash to avoid this error?
Can we have an example?
files used : https://github.com/thisisG/MPU6050-I2C-Python-Class
dmpmemory block 2kbyte it is in MPUConstants.py
dmp6050.py read of MPUConstant.py
I would like to read from file on flash only 2k dmpmemory
Thanks