Replies: 2 comments
-
You have to compile the firmware for yourself. A modification of mpconfigboard.h is required: #define MICROPY_PY_DEFLATE_COMPRESS (1) For esp32 GENERIC: // Both of these can be set by mpconfigboard.cmake if a BOARD_VARIANT is
// specified.
#ifndef MICROPY_HW_BOARD_NAME
#define MICROPY_HW_BOARD_NAME "Generic ESP32 module"
#endif
#ifndef MICROPY_HW_MCU_NAME
#define MICROPY_HW_MCU_NAME "ESP32"
#endif
#define MICROPY_PY_DEFLATE_COMPRESS (1) The file is located here: https://github.com/micropython/micropython/blob/5114f2c1ea7c05fc7ab920299967595cfc5307de/ports/esp32/boards/ESP32_GENERIC/mpconfigboard.h |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you. I'll try. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
Please help with decoding a string in gzip.
I get an error
AttributeError: 'DeflateIO' object has no attribute 'write'
What could be the problem, how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions