ehong-tl/micropySX126X

memory allocation failed

Opened this issue · 2 comments

board: Generic ESP32 module

run example/pingpon/device1/main.py ,log error info:

Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
File "sx1262.py", line 2, in
MemoryError: memory allocation failed, allocating 704 bytes

May I know which ESP32 module you are using? It could be your module comes with less RAM.

Or you can try to freeze the code into firmware to mitigate this issue.

esp32-wroom-32 and esp32-pico-kit are both have the same error.Later,I will try to compile to firmware.Thanks your hard work.