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

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
domenico64
Posts: 4
Joined: Mon May 09, 2022 9:48 am

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

Post by domenico64 » Mon May 09, 2022 10:09 am

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
Last edited by domenico64 on Wed May 18, 2022 2:04 pm, edited 1 time in total.

Post Reply