ehong-tl / micropySX126X

Semtech SX126X LoRa driver for Micropython and CircuitPython.
MIT License
97 stars 22 forks source link

memory allocation failed #2

Open kekemuyu opened 3 years ago

kekemuyu commented 3 years ago

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

ehong-tl commented 3 years ago

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.

kekemuyu commented 3 years ago

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.