Search found 4 matches

by domenico64
Wed Jun 22, 2022 11:33 am
Forum: ESP32 boards
Topic: minor memory in mpy v1.19.1
Replies: 3
Views: 84806

Re: minor memory in mpy v1.19.1

my program works with mpy 1.1.8
memory error.png
memory error.png (80.79 KiB) Viewed 84780 times
by domenico64
Wed Jun 22, 2022 10:21 am
Forum: ESP32 boards
Topic: minor memory in mpy v1.19.1
Replies: 3
Views: 84806

Re: minor memory in mpy v1.19.1

upy_v1191.png
upy_v1191.png (99.74 KiB) Viewed 84786 times
upy_v118.png
upy_v118.png (105.39 KiB) Viewed 84786 times
by domenico64
Wed Jun 22, 2022 7:57 am
Forum: ESP32 boards
Topic: minor memory in mpy v1.19.1
Replies: 3
Views: 84806

minor memory in mpy v1.19.1

device ESP32-C3

1)
in mpy version v.19.1 there is less memory available, software that runs on version 1.18 from failed memory allocation on version 1.19.1.
2)
In the boot.py file you have to add import os otherwise uPycraft won't work
upy_v1191.png
upy_v1191.png (38.96 KiB) Viewed 84806 times
upy_v118.png
upy_v118.png (37.92 KiB) Viewed 84806 times
by domenico64
Mon May 09, 2022 10:09 am
Forum: ESP32 boards
Topic: esp32-c3 MemoryError: memory allocation failed, allocating 7848 bytes
Replies: 0
Views: 9966

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

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...