Commit d0758d8a authored by Damien George's avatar Damien George

esp32/boards/ESP32_GENERIC: Disable network.LAN and VM-opt on D2WD.

To reduce firmware size, because IDF v5.0.4 has increased in size.
Signed-off-by: default avatarDamien George <damien@micropython.org>
parent b4b77c17
......@@ -11,6 +11,9 @@ if(MICROPY_BOARD_VARIANT STREQUAL "D2WD")
list(APPEND MICROPY_DEF_BOARD
MICROPY_HW_MCU_NAME="ESP32-D2WD"
# Disable some options to reduce firmware size.
MICROPY_OPT_COMPUTED_GOTO=0
MICROPY_PY_NETWORK_LAN=0
)
endif()
......
......@@ -40,7 +40,9 @@
#define MICROPY_COMP_CONST_FOLDING_COMPILER_WORKAROUND (1)
// optimisations
#ifndef MICROPY_OPT_COMPUTED_GOTO
#define MICROPY_OPT_COMPUTED_GOTO (1)
#endif
// Python internal features
#define MICROPY_READER_VFS (1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment